Hi, I made my Model classes singletons and I'm wondering if there is any major cons in this solution.
Here's my setup from one on the modules: Comment_Model_Comment (Model Comment from Comment module, Singleton) Comment_Model_DbTable_Comment (Zend_Db_Table extended class) Comment_Model_DbTable_Rowset_Comment (Zend_Db_Table_Rowset extended class) Comment_Model_DbTable_Row_Comment (Zend_Db_Table_Row extended class) So I made my Model class as singleton becouse it does not represent individual comments. It's just one class knowing what to do with comments. I tried to avoid having too many instances of this model class for vain. Any comments or questions ? br, Marko -- View this message in context: http://www.nabble.com/Models-as-Singletons-tp24575704p24575704.html Sent from the Zend Framework mailing list archive at Nabble.com.