Chapter 7, Posting Content, covered the posting of content. We gave an interface to user to send text and images to our database. Later, these resources were shown as a message feed on the home page. In this chapter, we will learn how to create pages and events that are attached to these pages. Here is the plan that we are going to follow:
Refactoring the API
Adding a form to create pages
Creating a record in the database
Showing the currently added pages
Showing a specific page
Posting a comment to a page
Showing comments
Managing events attached to a particular page