It's simplification but for users of config class, and this simplification is great, I like it, but it should not be present in database level, because right now to implement 3 select boxes I'll need to parse selectors taken from database, I can't use config class for this, but I end up wit the same abstraction that should be provided only by config class. This simplification is for database
For instance a question how to select all config settings for english language and for site foobar? You need to select them all and parse selector, it's doable but the code will be simpler if selector is split in database (config can still have one selector). Simplification should also be done on code level. On Sun, 6 May 2012 00:19:13 +0200 Roger MartÃn <rg1...@gmail.com> wrote: > Magento uses select box when a user is browsing settings. > > When i wrote new config class (it's not a old code, perhaps only > a.asunused code), i > foresaw we would have problems making a interface because it's > difficult to group selector as */*/en, or */mobil/*, or !admin and > probably some simplification must be done, but i expected more > flexibility in new admin.. > > > roger. -- Jakub Jankiewicz www: <http://jcubic.pl> twitter: <http://twitter.com/jcubic> blog: <http://jcubic.wordpress.com> -- You received this bug notification because you are a member of Aiki Framework Developers, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/994455 Title: site, view and language in aiki_configs should be separated fields Status in Aiki Framework: New Bug description: It the same stupid thing as using serialized arrays in forms table they should be separated. Client code or API can provide one selector to them to make life easier for users but database should be simple. Why? because it's hard to create code that handled them and the code that select will be easier 1. if selector is * all is * 2. if its ???/???/??? it simple $array = explode('/', $selector); $site = $array[0], $view = $array[1]; $lang = $array[2]; To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/994455/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp