Doesn't really see like file configuration to me. Anyway, I'd use a simple php array put in config/autoload/your-cms-name.local.php if installations are standalone
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 7 February 2013 19:16, Paladyn [via Zend Framework Community] < ml-node+s634137n4659091...@n4.nabble.com> wrote: > 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. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/ZF2-Global-enviroment-configuration-tp4659091.html > To start a new topic under Zend Framework, email > ml-node+s634137n634138...@n4.nabble.com > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-Global-enviroment-configuration-tp4659091p4659097.html Sent from the Zend Framework mailing list archive at Nabble.com.