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. 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. 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. Model
• Inherits from CI_Model
• Typically defines methods that will be accessed
by controllers
• No database convention imposed by CodeIgniter
6. View
• Markup containing PHP code
• View name is just the file name, less the
extension
• Views can load other views
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