At once I had my models as singletons. But then the wise men said that
singleton is evil. =)
So I try not to use singletons though my current goal is basicly working
similar as singeletons.
But now I can any time make a new instance of my model if needed... But
basicly I'm using
my stack of models (array) in my application bootstrap.
br, Marko
-----
br,
--------------------------
Marko Korhonen
Technical Consultant
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Centralized-Stack-Broker-or-something-for-Models-tp2333975p2334095.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论