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

IBM developerWorks: Understanding the Zend Framework, Part 2 (MVC & a Database)

DevShed: PHP and the Law of Demeter

Hasin Hayder: Running Symfony 2 Applications in OpenShift

PHP Zone: PHP Access Control - PHP5 CMS Framework Development

The Bakery: Five New Posts - Custom Views, CSS, ViewInFile, ActsAs and Email Validation


Community Events





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


package opinion community symfony laravel framework release tool podcast library install introduction interview series update security version voicesoftheelephpant language composer

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