As a long time Aiki user, number 1 look more familiar. But I could get used to 2 and think in the long run it is better.
For what it's worth. Christopher 2012/3/2 Jakub Jankiewicz <[email protected]> > Like lisp but (sql( )sql) visually will be better, you will know where > it ends, if you will have lots of markup in widget you will end up with > lots of closing parentheses like in lisp. > > I also have a question: > > which markup will be better: > > 1. > > (sql( SELECT * FROM aiki_users { > > }else{ > > })sql) > > 2. > > (sql SELECT * FROM aiki_users { > > }else{ > > }) > > > 3. > > (sql SELECT * FROM aiki_users ( > > )else( > > )sql) > > 4. and of course it have be: > > (sql SELECT * FROM aiki_users ( > > )else( > > )) > > You will have double the number of closing parentheses then in lisp (and > lost of users don't like lisp because of that parenthesis). > > You need to remember that you need to have else. > > I prefer 2nd one. > > And this is not for Roger's engine, but for mine, that I will implement > anyway eventually. > > On Fri, 2 Mar 2012 22:23:39 +0800 > Jon Phillips <[email protected]> wrote: > > > Not many suggestions, I still like the brevity of having (sql()) > > rather than (sql()sql) > > > > Jon > > > > 2012/3/2 Jakub Jankiewicz <[email protected]>: > > > Great, but I think it would be better if there will be no quotes > > > around query and parameters there can be non standard SQL like > > > syntax > > > > > > SELECT * FROM aiki_users WITH pagination = 10, records = 20, dump = > > > "table" > > > > > > I know that is non standard but it will be not used every time, and > > > in most cases it will be only normal sql but without quotes > > > > > > (sql( SELECT * FROM aiki_users { > > > ((username)) > > > ... > > > > > > but it's your engine so you decided, I will implement mine anyway. > > > > > > On Thu, 1 Mar 2012 23:28:10 +0100 > > > Roger Martín <[email protected]> wrote: > > > > > >> Hi folks: > > >> > > >> Engine2 have a sql markup. All is in pre-alpha version but i have > > >> some hope to finish by 21-march. > > >> > > >> Specification in: > > >> http://www.aikiframework.org/wiki/New_sql_markup_%28specificaion%29 > > >> > > >> > > >> Roger > > > > > > -- > > > Jakub Jankiewicz > > > twitter: @jcubic > > > www: http://jcubic.pl > > > > > > _______________________________________________ > > > Mailing list: https://launchpad.net/~aikiframework-devel > > > Post to : [email protected] > > > Unsubscribe : https://launchpad.net/~aikiframework-devel > > > More help : https://help.launchpad.net/ListHelp > > > > > > > > -- > Jakub Jankiewicz > twitter: @jcubic > www: http://jcubic.pl > > _______________________________________________ > 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

