CHAPTER 7Building the Blogging System

Now that users can register and log in to the web application, it is time to allow them to create their own blogs. In this chapter, we will begin to build the blogging functionality for our Web 2.0 application. We will implement the tools that will permit each user to create and manage their own blog posts.

In this chapter, we will be adding the following functionality to our web application:

  • Enable users to create new blog posts. A blog post will consist of a title, the date submitted, and the content (text or HTML) relating to the post. We will implement the form (and corresponding processing code) that allows users to enter this content, and that correctly filters submitted HTML code so JavaScript-based ...

Get Practical Web 2.0 Applications with PHP 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.