just checked the latest codemirror, the bugs are actually fixed, and now we
can add our own markup as extension to their library. I'll create this lib
with the final decided aiki markup once we all agree on and it's ready.

--
Bassel Safadi | http://bassel.ws
Skype: i.know.sy | Global: +1-323-545-3855


On Mon, Mar 5, 2012 at 3:53 AM, Jon Phillips <[email protected]> wrote:

> Bassel, could you look into this? We should try to keep the code
> separate from ours if possible, and send them a fix upstream if that
> will help, but I have not looked at this at all.
>
> march 21 aiki 0.9.1 coming up soon!
>
> Jon
>
> On Mon, Mar 5, 2012 at 3:54 AM, Bassel Safadi <[email protected]>
> wrote:
> >
> >
> > On Sat, Mar 3, 2012 at 8:08 PM, Jakub Jankiewicz <[email protected]> wrote:
> >>
> >>
> >>
> >> On Sat, 3 Mar 2012 17:32:36 +0100
> >> Roger Martín <[email protected]> wrote:
> >>
> >> > Hi folks!
> >> >
> >> > instead have a endless discussion about markup we can check candidate
> >> > markup with this list:
> >> >
> >> > 1) support a 'rich' parameters block, a true-block, and a else-block
> >> >
> >> > 2) is consistent? Test in 3 forms: only with a parameter block,
> >> > parameters+true-block, parameters+true+else.
> >> >
> >> > 3) Lets Mr codemirror decide. Can codemirror highlights code
> >> > correctly ?
> >>
> >> I think that we can add our own syntax for highlighter in codemirror,
> >> Bassel mention that Aiki have some custom code in codemirror so maybe
> >> he was talking about highlighter.
> >>
> >
> > yes part of it because aiki has custom highlighter, it's easy to add to
> > codemirror. also there was a system level bug in codemirror that I'm not
> > sure if it's fixed in the latest release.
> >
> >>
> >> >
> >> > 4) Now Mr. PHP Can php parse the markup with a low level parser?
> >> >
> >> > One no respond and the markup will be discarded.
> >> >
> >> >
> >> > Example:
> >> > Canditate:  (tag( parameters ) true-block  )else( else-block )tag)
> >> >
> >> > 1) parameters:  (tag( 1, false, "some",{"foo":"bar")) OK
> >> >
> >> > 2) consistent?
> >> > (tag( foo)tag) ok
> >> > (tag(foo)true-block)tag) ..wait a moment two ")" and three ")".
> >> > DISCARDED.
> >>
> >> Exactly my proposal. Personally the syntax may change I only want to be
> >> able to have real "if" and "for", and be able to use extensions in both.
> >> I also want to be able to call sql without knowing the fields so I
> >> would like to call something like
> >>
> >> (sql( SELECT * FROM (!(1)!) USING table )sql)
> >>
> >> or Roger's
> >>
> >> (sql( "SELECT * FROM (!(1)!)", ???, "table" )sql)
> >>
> >> The reason why I wanted it was that I wanted to implement Admin Panel in
> >> Aiki without access to the server (like extensions or other php script).
> >> But even if I don't need it now is a good idea to have it.
> >>
> >>
> >>
> >> >
> >> >
> >> > ops..Now i looking for new markup ;-)
> >>
> >> I try to be consistent with my proposal, I use best element what was
> >> in old aiki ((field)) and create a markup based on it, I try to every
> >> element be the same, and to be very low number of element, the only
> >> that was essential.
> >> >
> >> > 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
> >
> >
>
>
>
> --
> Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
> +1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)
>
_______________________________________________
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