Hey :) I'm not sure this works, but please take a look at https://gist.github.com/1360533
Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 12 November 2011 07:17, Oscar Merida [via Zend Framework Community] < ml-node+s634137n4033733...@n4.nabble.com> wrote: > I'm taking a look at the ZF2 beta, and have made some progress in > wrapping my head around it. I like the modular approach to MVC, however, > one thing I haven't been able to figure out is how to set the database > configuration for things like Zend\Db\Table or > Zend\Authenticatoin\Adapter\DbTable to use. > > Can DI help or is there somewhere else to register the default db adapter? > > Thanks, > > Oscar M. > > -- > List: [hidden email]<http://user/SendEmail.jtp?type=node&node=4033733&i=0> > Info: http://framework.zend.com/archives > Unsubscribe: [hidden > email]<http://user/SendEmail.jtp?type=node&node=4033733&i=1> > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/ZF2-Database-configuration-tp4033733p4033733.html > 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> > . > See how NAML generates this > email<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.InstantMailNamespace&breadcrumbs=instant+emails%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-Database-configuration-tp4033733p4034441.html Sent from the Zend Framework mailing list archive at Nabble.com.