CodeIgniter

1,921 views
1,777 views

Published on

CodeIgniter: A light-weight MVC framework for PHP

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,921
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

CodeIgniter

  1. 1. CodeIgniterNitin Reddy Katkam
  2. 2. About The Author• 8 years of IT experience primarily in ASP.NET and PHP• Author of the PHP Guide, FuelPHP Guide, and CodeIgniter Guide (available on the Kindle eBook Store)• Certified Oracle DBA, Developer, Microsoft Certified Professional
  3. 3. What is CodeIgniter?• MVC framework for PHP• Structures code• Provides database abstraction• Provides helpers for generating HTML markup and URLs• Has a sessions implementation • An alternative to native PHP sessions
  4. 4. Why CodeIgniter• Light-weight compared to many other frameworks• Database abstraction with ActiveRecord is kept simple, resembling SQL queries• Can use any PHP class as a library• Low learning curve
  5. 5. Model• Inherits from CI_Model• Typically defines methods that will be accessed by controllers• No database convention imposed by CodeIgniter
  6. 6. View• Markup containing PHP code• View name is just the file name, less the extension• Views can load other views
  7. 7. Controller• Inherits from CI_Controller• Acts as a connector, referencing models and views• Can load a series of views sequentially • Separates the page into multiple views
  8. 8. CodeIgniter Showcase• ExpressionEngine (see show-ee.com)• PyroCMS (upto v.2.x)• BambooInvoice
  9. 9. Also See

×