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...
Post new comment