We now get to step out of the realm of theory, and into a practical application. We used the concept of a social network in some of the examples so far, and now we will build one.

To better plan our application, we need to look at some of the things common to most social networks. First and foremost is the concept of user profiles. User profiles contain some information about the users they belong to, such as their hobbies or country of origin. Depending on the focus of the network, this information can be anything ranging from employment history and credentials, to previous vacation destinations and favorite bands.

Social ...

Get Pro PHP MVC now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.