HARMONY FRAMEWORK - FIRST PREVIEW
This is the first preview of Harmony Framework. It may contains bugs and should not be used
in production environment. Please, report troubles on the Google code website:
http://code.google.com/p/harmony-framework.
QUICK START:
* Unzip the archive inside a folder (we will assume the document root) available through your web server.
* Access http://localhost/harmony-preview/public
* Place your script inside /harmony-preview/application
PHP FEATURES *NOT* SUPPORTED:
* use foreach on associative array without using the double arrow
* use foreach (something() as $key => $value):
the iterator must be a variable when using the double arrow
* using reference (&)
* modifiers (except static)
* cast
* multiple catch
* catching exception other than Exception (will work but will catch all exceptions)
* clone
* declare
* variables in double quoted strings
* multiple echos with one instruction (ie: "echo $a, $b;")
* print
* alternative syntax
* warning: eval will eval javascript code
* exit or die
* final keyword
* global
* list
* user [] to append an element to an array (use array_push)
* must use {} with all instructions
* use the parent:: construct for methods other than the one it is used in:
function f1()
{
// ok:
parent::f1();
// not ok:
parent::f2();
}