Programming With CodeIgniter Model-View-Control
---
1) GETTING STARTED
Installing CodeIgniter
Folders overview
Example 1 – hello world
Example 2 – passing the complex parameters to a view
Example 3 – the database query by a model rendering results to a view
Example 4 – interactive contact forms
2) CONFIGURATIONS AND NAMING CONVENTIONS
CI directory tree
Defining and using your own configurations
Understanding and using CI naming conventions
Miscellaneous naming conventions
3) CONTROLLER USAGE AND SCOPE
Scope of the CI controller
The user-defined CI controller
CI controller use cases
Example 1 – default homepage controller
Example 2 – sending e-mails with attachments
Example 3 – admin and regular user log in
4) LIBRARIES
The CI libraries' scope and usage
Example 1 – using the built-in libraries
Example 2 – using third-party libraries such as the Google Maps CI library wrapper
Example 3 – building a library such as the Flickr API wrapper
Example 4 – the LinkedIn API wrapper
5) HELPERS
CI helpers' scope and usage
Example 1 – using built-in helpers
Example 2 – SSL helper
Example 3 – building your own helper
6) MODELS
Scope of the CI model
Object Relational Mapping (ORM)
Example 1 – a CRUD example
Example 2 – a business logic example
Example 3 – retrieving data from Facebook
7) VIEWS
Scope of the CI view
Accessing the libraries/helpers
Example 1 – HTML5 location powered by Google Maps
Example 2 – user feedback powered by AJAX and the jQuery UI