Home arrow PHP arrow 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.

TABLE OF CONTENTS:
  1. Handling Entries for a Blogger Built with PHP
  2. Defining the displayBlogs() method
  3. Defining the displayInsertForm() method
  4. Creating the displayUpdateForm() method
  5. Defining the displayHeader() and displayFooter() methods
By: Alejandro Gervasio
Rating: starstarstarstarstar / 3
November 28, 2006

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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!



 
 
>>> More PHP Articles          >>> More By Alejandro Gervasio
 

blog comments powered by Disqus
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 



© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap

Dev Shed Tutorial Topics: