O'Reilly logo

PHP 5 CMS Framework Development by Martin Brampton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

We have seen how a CMS will contain many objects that represent elements of the system, such as extensions to the core logic. Rather than adopting a piecemeal approach to handling these relatively small but important groups, we can gain efficiency by building specialized handlers. The handlers build data structures out of information from the database, but we can make further gains by storing the information in a cache so that it can be quickly and easily retrieved in many instances. The cache provides a means of saving useful data that can be reused.

Having settled on the use of cache, it was clear that the principle could be applied more widely, especially to saving the XHTML that is generated and sent to the client browser. When ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required