I'll have a look if Ralph is on IRC tonight. The "problem" is the application.ini where a lot of Doctrine config is located. Connections, Doctrine_Manager attributes and path settings (for modular support). All these things are already supported by the My_Application_Resource_Doctrine (a customized version from the proposal at the wiki).
I think I'll finish some bits in the upcoming week. It's quite specific for my own configuration, but I'll post some info when I've dealt with this issue :) One note: I'm only using existing resources like the applicationConfigFile and moduleDirectory. My component won't provide contexts to make Zend_Tool models aware (because I don't need it). Regards, Jurian 2009/12/23 keith Pope <[email protected]> > Funny, I was going to start looking at the DC2 integration over > christmas, how far along are you with the DC1 stuff? > > You should be able to use the app resource from within ZT however not > sure if this would be acceptable, might want to ask Ralph about the > implications :) Does it really duplicate that much code? > > Not sure why an autoloader would not be used, I suppose it could be a > legacy thing. > > 2009/12/23 Jurian Sluiman <[email protected]>: > > Hi all, > > I'm working on the integration of Doctrine1 and Zend_Tool. So far so > good, > > but a lot of configuration is required which is already provided by the > > Doctrine application resource. The Doctrine1+Zend_Tool proposal > > ( > http://framework.zend.com/wiki/display/ZFPROP/Doctrine+1+and+Zend_Tool+Integration+-+Benjamin+Eberlei > ) > > points also to the Doctrine1 application resource > > ( > http://framework.zend.com/wiki/display/ZFPROP/Zend_Application_Resource_Doctrine+-+Matthew+Lurz > ). > > Is it possible to use this application resource inside a Zend_Tool > project > > provider? Otherwise a lot of duplicated code is required to perform all > > necessary configuration options for both a Zend_Application and inside > the > > Zend_Tool environment. > > And another comment: I noticed nothing of Zend_Tool is autoloaded. Is > there > > a specific reason not to use the autoloader for Zend_Tool? > > Regards, Jurian > > > > -- > ------------ > http://www.thepopeisdead.com >
