2009年1月30日星期五

Re: [fw-db] OOP Design question related to Zend_Db_Adapter

Also I'd like to add that I find this a *major* flaw in Zend Framework is
that they decided to require instances of classes instead of working with
interfaces. So for example, Zend_Db_Table should be able to work with *any*
class that implements IDbAdapter (which doesnt exist but should)... I'm not
sure why they havent been using interfaces, because tightly coupling their
classes with each other through class types create huge limitations.
--
View this message in context: http://www.nabble.com/OOP-Design-question-related-to-Zend_Db_Adapter-tp21754135p21756178.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: