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

Framework solution

Aliro adopts solutions consistent with the approaches advocated earlier. Often, more than one alternative is available to achieve similar results. Selection can be made according to circumstances and by keeping the particular aim in view. Illustrations of the general approach are given before going into more specific mechanisms.

Using "heredoc" to define XHTML

To demonstrate that PHP can be used to define the XHTML for a page in a clear and straightforward way, we can look at an example from the administrator side of Aliro. The one I've chosen is a simple one, the code that displays a list of the attempts to access non-existent pages, the 404 errors. Although it is not possible to modify the entries in the database ...

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