Content with Style Blog: A caching pattern for models

Courtesy PHPDeveloper.org  Fri, 04/17/2009 - 07:44

On the Content with Style blog there's a new post by Pascal Opitz talking about a suggested caching pattern for use with the Zend_Cache component of the Zend Framework and the __call magic method.

The initial thought behind this is that a model should be able to return calls either uncached or cached, without initializing some cache object every time.

It should be easy to switch between the two calls, and the cache should be coming with...


 

More related items

phpRiot.com: Zend Framework 101: Zend_Cache
In another in his Zend Framework 101 series of articles on phpRiot.com Quentin Zervaas sets his sights on Zend_Cache in this new tutorial. In this article I will introduce you to the...

Rdavid.net: My Zend Framework Model Layer: Part...
In a new post on the Rdavid.net blog there's some discussion about Zend Framework models, the best approach and a "Service Class" idea. After some more thought and lots of research on the...

Joey Rivera's Blog: Caching using PHP/Zend_Cache and...
New on his blog today Joey Rivera has posted this tutorial about using the Zend_Cache component of the Zend Framework to boost the performance of your site. I like the definition used in...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com