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

Exploring PHP—frameworks of classes

A major reason for committing to PHP5 is to take advantage of the improved possibilities for object orientation. One significant part of OO is the creation of frameworks of classes. In the next section, we shall be building the main elements of the session handling classes, which form a simple framework.

What is a framework of classes? Design has to be done at different levels. Sometimes we look at the whole picture, and sometimes we struggle with the detailed mechanism of a single method. In between, the aim of OO is to break down the problem into objects that act as a model. They represent important features of the problem. But we often find that some of the objects that are used to build the model have ...

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