CHAPTER 12

images

Structure

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 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.