Home arrow PHP arrow Defining the Core Structure of a PHP Blogger

Defining the Core Structure of a PHP Blogger

In the first part of this three-part series, we'll examine the basic outlines of creating a blog application with PHP 5. If you're currently working with PHP 4, this program can be adapted to that version of the language.

  1. Defining the Core Structure of a PHP Blogger
  2. Defining the blogger's core structure
  3. Defining the insertBlog() method
  4. Defining the updateBlog() method
  5. Defining the deleteBlog() method
By: Alejandro Gervasio
Rating: starstarstarstarstar / 11
November 21, 2006

print this article



A downloadable zip file is available for this article.


Anyone who has been using PHP for a while knows that building fairly simple database-driven web applications is indeed a straightforward process that can be accomplished with minor headaches. Whether you've been developing the core engine of a small website, or creating a decent search system that uses a database backend for indexing relevant content, the truth is that PHP makes it really easy to create these kinds of applications.

True to form, building web-based systems that implement some type of interaction with a RDBMS, particularly with one as popular as MySQL, is an experience that you've probably tackled a dozen times, or even more if you're a seasoned PHP developer with many hours of sleepless hard work on your shoulders.

Among the plethora of database-driven applications that you can create with PHP without having to scratch your head until you lose your hair is one that has become very popular over the last two years. I'm speaking specifically of bloggers, which allow anyone to insert easily editable content onto a website by using only a graphical front end. Of course, when I use the term "editable," I mean that all the blog entries can be updated and even deleted without having to know a pinch of web programming.

Since this powerful approach, which is also used heavily with content management systems, can be implemented in PHP with minor hassles, I've prepared for you a three-part series that will teach you in a friendly manner how to create an extensible blog mechanism.

Naturally, the blogger that I'll build over the course of these articles will be provided with the capacity for performing the most common tasks associated with this kind of application, like inserting, updating and deleting blog entries, in addition to including some extra features that you'll discover in turn in the different tutorials.

Assuming that building a blogger with PHP is really an interesting topic for you, let's learn together how this useful application can be developed in a few easy steps. Let's get going!

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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- 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


Dev Shed Tutorial Topics: