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
Dec 31, 2008 @ 13: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.

tagged: codeigniter framework tutorial blog application comment form view controller

Link:


Trending Topics: