Thanks much Jurian, I'll check out Adam's example and will expect some further changes to the DI stuff before it's finalized.
Chris On Wed, Oct 5, 2011 at 11:22 PM, Jurian Sluiman <[email protected]>wrote: > Hi Chris, > > On Thu, Oct 6, 2011 at 3:50 AM, Chris Toomey <[email protected]> wrote: >> >> I see that there's been a lot of work in this area in ZF2 (the Zend/Di >> library) and that it's in at least prototype implementation stage, so I'm >> wondering if 1) that work is far enough along to use in production code at >> this point, and 2) if it's possible to use the ZF2 Zend/Di library in a >> ZF1 >> application? >> > > I know Adam Lundrigan wrote a blog post about using \Zend\Di in zf1: > http://adam.lundrigan.ca/2011/06/using-zenddi-in-zf<http://adam.lundrigan.ca/2011/06/using-zenddi-in-zf1/>. > He also created a git repo with this as an example: > https://github.com/adamlundrigan/zf-examples/tree/master/zf2-di-in-zf1 > > So yes, it's possible to integrate. However, recent conversations on the > contributors mailinglist indicated that perhaps some small changes will be > made in the near future (Evan working on "sharing resources"). > > >> If not, does anybody have experience / recommendations for using other DI >> containers (Symfony, etc.) in ZF1 applications? >> > > The Symphony DI has been used in some zf1 projects for a while. I've seen > the tweets and blog posts about this, but can't find those anymore. > Certainly, the DI can be coupled. > > >> BTW, I'm assuming that ZF2 as a whole is not ready for production usage. >> Is >> there a rough schedule for ZF2 alpha/beta/release dates? >> > > Alphas have been released for a while: release-2.0.0dev4 is the most > recent. On Zendcond (Oct 17-20), a presentation with official beta release > is planned. > > Regards, Jurian >
