All my objects are cached so db queries are only made when cache is deleted
or cache valid time is passed.
If row objects are updated, cache will be rebuild on that object. This way I
don't have to do so much queries with join (though some of my lists of
course use them).
And my models are NOT DbTable objects. So Model > DbTable -> Row and so
on...
or some other datasource e.g. Model > ACL or Model > Twitter account or
Model > XML-file...
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-tp2333975p2334035.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论