News Feed
Sections




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

NetTuts.com:
Build Ajax Data Grids with CodeIgniter and jQuery
September 23, 2011 @ 12:23:59

In a new tutorial from NetTuts.com today they show you how to combine a CodeIgniter-based backend and a jQuery frontend to make a simple Ajax data grid of data pulled from a database.

In this lesson, we will create a CodeIgniter library that allows us to generate data grids automatically for managing any database table. I'll explain each step required to create this class; so you'll likely learn some new OOP techniques/concepts in the process! As a bonus, we'll proceed to write some jQuery code that will enable a user to update the data grid's content without having to wait for a page refresh.

The tutorial's broken up into a few different steps, each complete with descriptions and plenty of code ready for cut-and-paste:

  • Build a Data Grid Generator Class (a helper in PHP)
  • Testing the Datagrid Helper Class with a CodeIgniter Controller
  • Implementing Ajax (jQuery to the Rescue!)
  • Check All or Nothing!

You can also download the source for all of the scripts if you'd like to dive right into the code.

0 comments voice your opinion now!
data grid ajax jquery codeigniter framework tutorial


blog comments powered by Disqus

Similar Posts

Arnold's Blog: Without a framework: (M)VC

DeveloperTutorials.com: PHP and MySql with PayPal

Brian Swan's Blog: BACKUP and RESTORE A Database with the SQL Server Driver for PHP

Eirik Hoem's Blog: Why Delphi for PHP should have used Prado instead of VCL

PHPBuilder.com: The ABC's of PHP - Part 10 - The Final Installment (XML & Regex)


Community Events





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


language community zendserver framework development api conference threedevsandamaybe application interview code tips list deployment series podcast laravel introduction developer release

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