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

Reply via email to