chapter 2

Principles of Object Orientation in PHP

This book concerns itself with architecture, which means it’s about attractive and efficient design on the macro scale. It’s also, to a certain extent, about clever design on lower levels. That means you need to be aware of all design possibilities available to you in PHP, which means (particularly since the release of PHP 5) that you need to understand the language’s way of handling object-oriented design and programming. Object-oriented code can be more attractive and more flexible than procedural code, and sometimes it’s worth using PHP’s object-orientation features even if they are not as extensive as those of Java, C++, and other languages that were designed to be object oriented from the ...

Get Multi-Tier Application Programming with PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.