PHP
  Home arrow PHP arrow Defining the Core Structure of a PHP Blogger
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Defining the Core Structure of a PHP Blogger
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 11
    2006-11-21


    Table of Contents:
  • Defining the Core Structure of a PHP Blogger
  • Defining the blogger's core structure
  • Defining the insertBlog() method
  • Defining the updateBlog() method
  • Defining the deleteBlog() method

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Defining the Core Structure of a PHP Blogger
    ( Page 1 of 5 )

    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.
    A downloadable zip file is available for this article.

    Introduction

    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
     

       

    PHP ARTICLES

    - Using Directory Iterators to Build Loader Ap...
    - Using the spl_autoload() Functions to Build ...
    - Working Out of the Object Context to Build L...
    - Using the _autoload() Magic Function to Buil...
    - The Destruct Magic Function in PHP 5
    - The Autoload Magic Function in PHP 5
    - Developing a Recursive Loading Class for Loa...
    - The Sleep and Wakeup Magic Functions in PHP 5
    - Using the Clone Magic Function in PHP 5
    - Including Files Recursively with Loader Appl...
    - The Call Magic Function in PHP 5
    - Designing a Captcha System with PHP and MySQL
    - Using Static Methods to Build Loader Apps in...
    - The Isset and Unset Magic Functions in PHP 5
    - Advanced PHP Form Input Validation to Check ...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT