concept relationship in category php

appears as: relationships, relationship, relationships
PHP in Action: Objects, Design, Agility

This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility.

When object-oriented programming started to take over the world, it was generally considered a way to model the real world. Since the real world contains objects and actions, object-oriented languages seemed appropriate. And it seemed natural to model relationships between concepts as relationships between classes. Class inheritance is supposed to model an “is-a” relationship, so since a news article is a document, the NewsArticle class should inherit from the Document class as shown in the UML class diagram in figure 1.2.

Figure 8.9. UML class diagram of the relationship between properties and fields