News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Using Code Igniter to Enable Comments in a Blog Application
December 31, 2008 @ 07:50:56

DevShed continues their series on using CodeIgniter to make a simple blogging application with this new article. It focuses on the next step in the blog's evolution - making it able to accept user comments.

A decent blog application, however, must provide users with a mechanism that lets them post their comments easily, and the simplest way to do this is via an HTML form. Therefore, in the next few lines, I'll be explaining how to modify the controller class and the comments view file created in the preceding article to incorporate a basic web form that permits users to post comments on a particular blog entry.

They start by reviewing the code and application so far, ensuring we're all on the same page. From there, they add code into the controller to handle the form input and make a view to create the form itself.

7 comments voice your opinion now!
codeigniter framework tutorial blog application comment form view controller


blog comments powered by Disqus

Similar Posts

DevShed: Updating and Deleting Database Records with the Active Record Pattern

SitePoint PHP Blog: More PHP frameworks

NetTuts.com: Namespacing in PHP

Lorna Mitchell's Blog: Getting Dates from Week Numbers in PHP

The Bakery: Keeping bindModel and unbindModel out of your Controllers


Community Events





Don't see your event here?
Let us know!


language threedevsandamaybe project application developer community api list library code laravel podcast bugfix wordpress release interview series introduction framework configure

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework