I think using markup like in (script( or (if( is also non standard and
still ugly, the old aiki markup used to
look something like:
<php
if ....
php>
ok and we removed the <php tag since Jon and others thought it's not php.
ok we can replace with something like script (although the script is used
in html) but lets say we have something like <aiki which is not implemented
now fully, I mean if the markup parser was only triggered when <aiki is
used that will save us a lot of processing power. so instead of having
stuff that look like <aiki aiki> and other stuff that look like (script( or
(if( they all should look like:
<aiki
if (something = something){
do something
}
aiki>
--
Bassel Safadi | http://bassel.ws
Skype: i.know.sy | Global: +1-323-545-3855
On Fri, Feb 3, 2012 at 12:14 PM, Jakub Jankiewicz <[email protected]> wrote:
> I wanted in Aiki markup to have place for functions like (replace( so
> we can simple add more of them like (p( and (br( and also it would be
> create if users will be able to add new once. Maybe with this parser
> extensions.
>
> Maybe instead of $aiki->Class->some_function we will have
> (some_function(
>
> IMO the (script( should stay because users maybe will need to call
> function that are in Aiki Core, and if this will be removed they will
> need to write (api_function( wrapper only to call built-in function.
>
> but maybe instead of (script( $aiki->membership->logOut(); )script)
> we will have (membership::logOut( ))
> this is too long (membership::logOut( )membership::logOut)
>
>
> and in other places we will have it too
>
> (if( membership::permission == 'SystemGOD' {
> <p>Master I'm here to serve you</p>
> })if)
>
> we will get rid with this php legacy with this.
>
> maybe instead of
>
> (if( foo == bar {
> <p>true</p>
> })if)
> this
> (if( foo == bar {
> <p>true</p>
> }))
>
> in this case it will look the same as (function_call( ))
>
> What do you think?
>
> On Fri, 03 Feb 2012 03:29:51 -0000
> Christopher Adams <[email protected]> wrote:
>
> > Blueprint changed by Christopher Adams:
> >
> > Whiteboard changed:
> > This is list that also might be removed
> >
> > [br[html or db field]br] - who will use this
> > [p[html or db field]p] - the same
> >
> > (#(related:some||keywords||here)#) - is this even working, the same
> > tags
> > (#(tags: some, tags, go, here)#) - Aiki don't have tags so how this
> > is gonna work
> >
> > {+{SOME_STORED_IMAGE_NAME|alternative text|float|vspace
> > attribute|hspace attribute|path prefix|description}+} not even used
> > by OCAL / and is just to complicated why don't use simple
> > <a><img..../></a> Aiki should help in developing html not replace it.
> > ###
> > + The [br[ and [p[ functions are very useful. Anyone working with a
> > + WordPress or other blogging database will need these. Can you turn
> > them
> > + into a function or filter to be consistent with your Aiki markup
> > + changes? Please keep these functions available. ~~~~christopher
> > +
> > HOWTO deprecate these ? @rejon
> >
> > Can you update this blueprint with more reasoning why possible to
> > remove? @rejon
> >
>
> --
> 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
>
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help : https://help.launchpad.net/ListHelp