>
> Ok, this is so simple you can say this operation could be done with
> Zend_Db_Table, but when the complexity arises is when the Bean has
> relations
> (A Product bean could have a variable that stores a Manufacturer Bean
> (loaded with lazy loading...)), or the "save" method from model needs to
> do
> some different operations (save a product, update the log, check stocks,
> etc.).
>
I was just curious, do you mind providing a code example of how you would
handle lazy loading of a Manufacturer bean? Would this be done inside the
Product_Bean? Or inside the Product Model?
Thanks
--
View this message in context: http://www.nabble.com/Another-Model-Design-Thread-tp20909700p21058537.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论