Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Cal Evans' Blog:
Update from webcast on Zend_Cache_Frontend_Class
Sep 08, 2009 @ 08:50:10

Cal Evans has posted an update to comments made during his webcast for php|architect on the Zend Framework:

In reading over the chat room log for my recent webcast, Zend Framework: Piece by Piece I noticed a question from my buddy Elazar [Matthew Turland] about Zend_Cache_Frontend_Class. Thinking I had made a mistake, I reviewed the materials and the Zend_Cache_Frontend_Class documentation page so that I could do a quick update. The answer wasn’t nearly as simple as I thought.

He notes that it's not a proxy and caching tool for objects and their data as he originally stated. In fact, when you call it directl, it does work this way. When you create it in a cache object, though, the resulting object isn't created correctly. To solve the issue, he gives two ways to properly use the Zend_Cache_Frontent_Class component - an easy way and a hard way. In one you make the class first and pass it in and, in the other, a suggestion for integrated model caching.

tagged: zendframework webcast zendcachefrontendclass proxy

Link: