Now I'm thinking about the best way to access models from the view helpers
in terms of performance.

I dont like the idea of creating the same model instance througout all view
helpers. Its an overhead. One developer pointed me to use Dependency
Injection Container.. dont know where and how to start (maybe you could
provide some pointers to blog post or so). Do you use DIC for that?

Today I found in the Virgens blog a post about Identity Maps
here<http://www.virgentech.com/blog/2010/02/building-identity-map-php.html>.
Maybe these could be used? Share your experience on this topic ;-) Thanks in
advance!

-- 
Aurimas Likas
tel. +37067730631
e-mail: [email protected]
URLs: http://magento.lt

Reply via email to