Chapter 3. Using PHP classes effectively
This chapter covers:
From stone axes to passenger airlines, objects—real, tangible ones—are ubiquitous in technology. From that perspective, it’s hardly surprising that software technology has come to depend on virtual objects. Classes, on the other hand, are something else. Naming, putting things into categories or classes, is inherent in natural language, but talking about categories of things and the process of naming is foreign to physical technology. Classes come out of philosophy and mathematics, starting with the ancient Greeks.
The combination of the two is extraordinarily powerful. In modern technology, abstract physics and mathematics are applied to the down-to-earth activity of making stuff. Object-oriented programming repeats this pattern: the conceptual abstraction of classes and the nuts-and-bolts workings of individual objects come together, creating a synergy.