This is what I'm talking about! I don't have time to test this right
now, but would love to hear feedback from Bassel and Jakub about this?

Jon

On Mon, Feb 27, 2012 at 5:17 AM, Roger Martín <[email protected]> wrote:
> Hi folk!!
>
> I added a new engine to aiki called purephp. It's a experiment which allows
> me to improve internal library. how does it work? All widget content is php,
> without any markup. The render only use two field: css, and widget.
> The final code is very short (125 lines with comments)
>
> Perhaps this can be other way to develop with aiki: only php with a good api
> ( here we have a lot of work), and adding some useful libraries (doctrine,
> moustache..), but note, please, that for me is only another way.
>
> To play with new engine make this:
>
> 1) add a site called purephp with purephp as engine
>
> INSERT INTO `aiki_sites` VALUES(NULL, 'A pure php Site', 'purephp', 1, '',
> 'en', 'en', 'en', 'purephp', '', 'purephp', '');
>
>
> 2) Add a widget.
>
> INSERT INTO `aiki_widgets` VALUES(NULL, 0, 'homepage', 'purephp', 'body',
> '', 0, '', 1, 0, '', 'homepage', '', '', '', '', 'echo "hello world. Now is
> ",date(''Y-m-d'');', 'body { color: red;}', '', 0, 0, '', '', 0, '', '', 0,
> 0, 0, '', 1, 2, 'w', 0);
>
> 3) type localhost/aiki/purephp and you see a red message (echo "hello world.
> Now is ",date(''Y-m-d''));
>
> Roger
>
>
>
>
>
> _______________________________________________
> 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