Green Orange - PHP Framework

  • Creatore Discussione Creatore Discussione max72
  • Data di inizio Data di inizio

max72

Nuovo Utente
17 Apr 2005
1
0
0
Green Orange Project is born with the idea to use the browser as environment where to be able to perform the applications stand-alone and for the web.

The language of programming used for the project is the PHP, and Green Orange includes a complete collection of classes, organized in levels and families (packages), that allows to plan and to implement a software making wide use of the OOP.

Besides, Green Orange is the first environment of development that makes available an interface graphics, easy to use, to quickly build using the browser an application or simply a site.

The framework and the whole visual environment of development is under license GPL, therefore completely free.

Our framework is your framework therefore we invite you to spread it, to use it, to widen it and to signal every possible malfunction to us, to the purpose to improve and to share with the whole community what is done.

http://www.greenorange.org

E.g.

<?php


require_once("require_once.php");

loadControl(_C_COMMON);
loadControl(_C_TAG);
loadControl(_C_BUTTON);


$html = new Tag(_H_HTML);
$head = new Tag(_H_HEAD);
$title = new Tag(_H_TITLE);
$body = new Tag(_H_BODY);
$form = new Tag(_H_FORM);
$button = new Button();

$title->setTagValue("Example 2");

$form->setProperty(_P_NAME,"EXAMPLE2");

$button->setIcon(_I_HOME);
$button->setLabel("Home");
$button->setLink("javascript:alert('Green Orange is cool')");


$head->setTagValue($title);
$html->setTagValue($head);
$form->setTagValue($button);
$body->setTagValue($form);
$html->setTagValue($body);

$html->render();

?>
 

Discussioni simili