I've been looking at F3's markup for a while and find it a very sane approach.
I like it. On Fri, Jul 29, 2011 at 5:40 AM, Roger Martín <[email protected]> wrote: > About markup: > > > http://fatfree.sourceforge.net/page/views-templates/a-quick-look-at-the-f3-template-language > a interest reading and reference.. > > - i like <f3:exclude> <f3:check if==, > - we can adapt <f3:loop counter as > <f3:loop sql="SELECT ....." > .......<f3:else>no records found..</f3:loop> > -@token > (change <f3: as <aiki:) > > The essence of F3 is two main markup: > - <f3: for structures></f3:for> > - {{ for expressions }}. > examples of 'expressions' > {{2*(@page-1)}} > <option value="F" {{@active?'selected="selected"':''}}>Female</option> > {{(int)765.29+1.2e3}} > {{var_dump(@xyz)}} > You answered {{(preg_match('/Yes/i',@response)?'posi':'nega')}}tively > {{@obj->property}} > > we need simplify our markup (php, sql, ((1)), (#(fom, [root, <noaki>, > <no_loop, [-[field]-] ) and, more important, > differentiate between structure (loops, conditional) and expressions. > So, imho, ((something() is not a good idea for all markup. It's better F3 > approach. > > There are some ideas in wiki > http://www.aikiframework.org/wiki/Aiki_markup_2, too. > > > > _______________________________________________ > Mailing list: https://launchpad.net/~aikiframework-devel > Post to : [email protected] > Unsubscribe : https://launchpad.net/~aikiframework-devel > More help : https://help.launchpad.net/ListHelp > > -- ——— christopher adams 86 186 1172 0021 | 1 646 201 3335 49 15 156 219931 | 886 953 036 630 chris.raysend.com
_______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

