Here is another thing we were just thinking that could influence your thinking.
We make the admin site currently in /assets to be /admin and then any other site/app could be another folder, like what is in /assets now but another folder. Anyhow, the config abstraction is a great idea, just should match well with storing configs in an app-centric way: https://blueprints.launchpad.net/aikiframework/+spec/make-aikiapps Jon On Fri, Jun 17, 2011 at 12:38 AM, rg1024 <[email protected]> wrote: >> >> I think that sounds like a plan. So then would that multi-dimensional >> array allow for storing multiple sites and configuration options? >> >> Is that sound? Is this designing too far ahead? Possibly? >> >> > hm...i am thinking in: > - make changes to permit direct access to a config variable (not serialize > array), and store variable sites. > - make a new table for user variables aiki_user_meta (like wordpress). This > table can be user to add customizedl fields to user, too. > - instead load config.php, load config-site1.php or....In run-time we don't > need manage two sites at same time. But these config files > only must have essential variables: connection and url_site. > > roger > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/795393 > > Title: > the config coptions in config.php not ready for multiple sites > > To manage notifications about this bug go to: > https://bugs.launchpad.net/aikiframework/+bug/795393/+subscriptions > -- Jon Phillips http://rejon.org/ | http://fabricatorz.com/ chat/skype: kidproto | irc: rejon +1.415.830.3884 (global) | +1-510-499-0894 (sf) +86-187-1003-9974 (beijing) -- You received this bug notification because you are a member of Aiki Framework Admins, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/795393 Title: the config coptions in config.php not ready for multiple sites Status in Aiki Framework: Confirmed Bug description: The config options in configs/config.php are not ready for multiple sites. Need to figure out some structure for multi-sites. For backwards compatibility could do: $config[SITENAME][OPTION]; ex: $config['example.org']['db_name'] = 'example_org'; Any other thoughts? But have to think this through, since no current option could have an OPTION name To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/795393/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework.admins Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework.admins More help : https://help.launchpad.net/ListHelp

