there's only one instance per class.
If you want to read more about models etc in somewhat more complex
situations you can also read this (free, online) book:
http://www.survivethedeepend.com/
Dolf
--Freeaqingme
On Sun, Aug 22, 2010 at 10:31 AM, Marko78 <marko.korhonen@gmail.com> wrote:
>
> Hi Andreas,
>
> 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.
>
没有评论:
发表评论