News Feed
Sections




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

DevShed:
Displaying User Comments in a Code Igniter Blog Application
December 23, 2008 @ 11:42:01

DevShed continues their series creating a simple blogging application with the CodeIgniter framework with this part of the series - adding in a display for user comments.

In this specific case, the first of these files was defined as a basic controller, and was provided with the ability to paginate the aforementioned blog entries via the corresponding pagination class included with CodeIgniter. However, in its current incarnation, the blog application is pretty limited. It doesn't let users post comments on each blog entry. Thus, in the next few lines I'll be improving the signature of the controller class to address this important issue.

The review the code from before (showing the pagination of the blog entries) and add onto it a new comments method and how to create a new view to show the messages visitors to the site have submitted.

1 comment voice your opinion now!
blog application tutorial codeigniter user comment display view action


blog comments powered by Disqus

Similar Posts

HowTo Forge: Fedora 8 Server Setup - LAMP, Email, DNS, FTP, ISPConfig - Page 6

NETTUTS.com: ASP.NET for PHP Developers

NetTuts.com: Quick Tip: Integrate Compass into an Existing CodeIgniter

Qandidate.com: Debugging PHP applications with HHVM

Ibuildings techPortal: DPC Radio: Developing and Deploying High Performance PHP Applications


Community Events





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


language library bugfix framework release community package version symfony interview podcast zendserver deployment series laravel opinion unittest update introduction api

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