Top Level :: HTML

Package Information: HTML_Template_Flexy 0.5

Show All Changelogs
» Version » Information
1.3.4 2008-05-05     stable
1.3.3 2008-02-27     stable
1.3.2 2008-01-31     stable
1.3.1 2008-01-31     stable
1.3.0 2008-01-30     stable
1.2.5 2006-11-10     stable
1.2.4 2006-01-20     stable
1.2.3 2005-10-29     stable
1.2.2 2005-07-23     stable
1.2.1 2005-01-27     stable
1.2.0 2005-01-25     stable
1.1.2 2004-12-28     stable
1.1.1 2004-12-24     stable
1.1.0 2004-12-18     stable
1.0.1 2004-08-09     stable
1.0.0 2004-08-07     stable
0.9.2 2004-06-24     beta
0.9.1 2004-06-17     beta
0.8.2 2004-05-05     beta
0.8.1 2004-04-24     beta
0.8.0 2004-04-22     beta
0.7.1 2004-04-07     beta
0.7 2004-04-03     beta
0.6.3 2004-01-21     beta
0.6.2 2004-01-20     beta
0.6.1 2003-12-21     beta
0.6 2003-12-20     beta
0.5.1 2003-09-04     beta
0.5Download

Release date: 2003-09-03 17:48 UTC
Release state: beta

Changelog:

Warning: BC Breaking release
Warning: Still in Beta Testing.. (although most of the API should now be settled)

Due to the conclusion that the quickforms integration was not only messy, but
a heavy weight to be carried. The whole form/dynamic element layer was re-engineered.
And the dependancy on QuickForms removed

New Features
HTML_Template_Flexy_Element, is a small simple representation of generic HTML,
it is used to store the representation of form elements, and any HTML element
which contains the FLEXY:DYNAMIC attribute.

you can override elements, by using the new second argument to outputObject($object,$elements)
where $elements is an associate array of (form name)=>Element
and the data in the elements array is merged with the visable template at runtime.
(so you only need to define what is different to the HTML, not the whole tag.)

You can make any tag 'dynamic', by just tagging it. - if you replace the element
in the elements array with an object that implements a toHtml method, This will be
called rather than the drawn element.

A Utility class, HTML_Template_Flexy_Factory offers common static methods, like
- creating element values from a key=>value array (eg. Dataobjects->toArray())
- setting error messages (as suffixes to elements)
- flag something as required. (prefixing strings to elements)


Compiler Abstraction
The Compiler code in Flexy is now abstracted out, to make it possible to write
Other compilers and use the same caching/loading mechanism. (the old regex compiler
is included as an example of this.)

Other BC Issues:
all Flexy attributes must now be prefixed with "flexy:" namespace (eg. if, foreach, startchildren etc.)

Other New Features
- support for array strings on variables and methods = eg. {somevar[xxx][yyy].toHtml():h}
- added new Modifiers:r (print_r), and :n (number_format), and in future may make available user defined modifiers

0.4.2 2003-06-17     beta
0.4.1 2003-06-11     beta
0.4 2003-04-17     beta
0.3 2003-02-06     beta
0.2 2003-02-02     beta
0.1 2002-09-07     beta