I think that everything, that can be, should be configurable. Really
flexible system should allow to change everything and look at
everything without modify it's code, check python for example.

I'm not sure if I should check everything in [brackets] and try to
replace it with database from $config or get all configs and add this to
array that replace stuff.

url = 'http://server.com/folder/file.html';
alert(array[url]);

and it will replace this code by
array(arrayhttp://aikiserver.com);

maybe change constants into [[var]] it will not appear in javascript.

[[this]] will be from database and old ones will still work.



On Thu, 29 Mar 2012 14:25:46 +0800
Jon Phillips <[email protected]> wrote:

> yes, so with what you are trying to do, you can replace the [nsfw] as
> a config option possible is one solution. I'm not sold on the idea of
> having constants everywhere that are custom. Anyway, the config class
> works now, and seems to be a better solution than just adding more
> constants to aiki. Another thought is to make configuration options
> constants, but this is not done.
> 
> We need to get this openclipart.org unforked asap so we can do the
> latest release and get going. go go go!
> 
> Jon
> 
> 2012/3/29 Jakub Jankiewicz <[email protected]>:
> > Great I will read this. Can old config be moved to new one, so we
> > get rid of this arrays in database? We can do this after changing
> > Admin Panel since current Panel is using those arrays.
> >
> > Essential config can be put into a file, and the rest of it can be
> > put into new system, arrays in database are necessary only for
> > admin panel.
> >
> > I like those 2:
> > $aiki->config->remember
> > $aiki->config->session
> >
> > Great work.
> >
> > On Wed, 28 Mar 2012 21:49:19 +0200
> > Roger Martín <[email protected]> wrote:
> >
> >> Hi folks;
> >>
> >> Explained here
> >> http://www.aikiframework.org/wiki/Config_class
> >
> > --
> > 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

Reply via email to