On Fri, Nov 23, 2012 at 12:38 PM, Aleksey Khudyakov <[email protected]> wrote: > While thinking about reusing zf modules outside of zf application, i noticed > that all of the modules I've seen so far specify > 'zendframework/zendframework' as dependency in their composer.json. > But ZF was always emphasized as loosely coupled components framework. > > Keeping that in mind, should we encourage specifying separate ZF2 components > as dependencies in modules composer.json rather than whole framework? > Most obvious benefit is that those who not using ZF will not be forced to > install whole framework, hence they will hesitate less in reusing components > and modules.
I've actually been trying hard with modules I write to note the specific ZF2 components I use, for the very reasons you mention. Hopefully, your email will serve as a good reminder to others! -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
