HomePHP Handling Entries for a Blogger Built with PHP
Handling Entries for a Blogger Built with PHP
Are you searching for an accessible guide on how to create a blog application with PHP 5? Then this set of articles might be what you’ve been looking for! Welcome to the second part of the series “Building a Blogger with PHP.” In three parts, this series demonstrates in a few easy steps how to build a classic blog application in PHP 5 by following an object-oriented approach.
Stepping back for a moment to the first installment of the series, I'm certain you'll recall that the basic structure of the blogger in question was created by using a single class, which was originally named "BlogProcessor." Also, it should be fresh in your mind that I defined some handy methods to perform specific tasks, such as inserting, updating and deleting blog entries from the corresponding "blogs" database table that I created previously. Now, does all this sound familiar to you? I hope it does.
While all the methods that I mentioned above were specifically created for handling potential database entries, in conjunction with existing blog data, there's still one aspect of the application that needs to be appropriately covered. Thus, I'm sure that you're wondering...what is it?
Well, as you'll remember from the previous article, the blogger wasn't yet capable of displaying all the entries on the browser, and also wasn't able to show the corresponding online forms for adding and updating blog data.
Therefore, in this second installment of the series, I'll show you how to expand the initial functionality of the already familiar "BlogProcessor" class so that it is capable of addressing all these issues.
Are you ready to take the next step in developing a blogger with PHP 5? Let's do it together!