Home arrow PHP arrow Completing a Blogging Application with the Code Igniter PHP Framework

Completing a Blogging Application with the Code Igniter PHP Framework

Welcome to the conclusion of a six-part series on building a MySQL-driven blogging application with the Code Igniter PHP framework. By using the framework, you'll be taking advantage of the MVC pattern to separate the application's logic from its visual presentation. This article will focus on the improving the appearance of the application's final details: the section concerned with receiving and displaying comments.

TABLE OF CONTENTS:
  1. Completing a Blogging Application with the Code Igniter PHP Framework
  2. The full source code of the blogger in its previous state
  3. Adding CSS styles to the blogs_comments_view.php file
  4. Showing the blogging application’s full source code
By: Alejandro Gervasio
Rating: starstarstarstarstar / 5
January 13, 2009

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Introduction

As a PHP developer, you can build anything that you can think of, ranging from simple form validation programs and template processors to full-blown database-driven applications.  A blogger falls under the second category. Most of the time, developing a program like this will require that you set up a few MySQL tables, build a group of scripts that will handle blog entries, and finally create a set of templates that will render this data in the form of HTML pages.

Of course, when building such a program, you probably use your own set of classes and functions. However, you may want to save yourself some time and effort by using a framework, like Code Igniter, to develop a blog application like the one mentioned above.

If this is the case, then don’t waste more time; take a look at this group of articles. They'll provide you with a comprehensive guide on building a MySQL-driven blogger with Code Igniter, which implements the MVC pattern for separating application logic from visual presentation.

And now that I mentioned the “visual presentation,” you'll remember that I left off the last article discussing how to improve the appearance of the blogger that I developed in the previous tutorials. I added a few CSS styles to the view file that displayed a bunch of blog entries, in this way polishing considerably its look and feel.

However, the blogger includes yet another view file, which displays the comments that have been made on a particular entry and the web form that lets users post them appropriately. Therefore, in this final chapter of the series, I’m going to style this specific file, thus completing the construction of this blog application using Code Igniter.

It’s time to finish this educational journey. Let’s go!



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

blog comments powered by Disqus
   

PHP ARTICLES

- 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...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


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

Dev Shed Tutorial Topics: