Hi guys! I`m building CMS using ZF2. I have made dynamic front side configuration (edited from administration panel by users). I`m storing there things like page name, global meta tags, contact form configuration etc. As a storage I use Zend Config with XML Writer.
I wonder what is best approach to use such invoke such config. Should I merge it some way with local model config, invoke it in bootstrap (I`m not sure global array is best way to do it) or parse it as factory and invoke in every controller? Vars like page name, meta tags are used in page layout so this are rather global but rest is rather local for some of cms pages. I`ll be very pleased for any advice, help. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-Global-enviroment-configuration-tp4659091.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
