Ch05 CodeIgniter Framework Notes
Ch05 CodeIgniter Framework Notes
By
Asst.Prof.Charushila Patil
Pratibha College of Commerce and
Computer Studies,Chinchwad
CodeIgniter framework by Mrs.Charushila Patil Date:19/04/2023 1
Topics to be covered…
• Intoduction to CodeIgniter
• History
• CodeIgniter features
• Software Requirement
• CodeIgniter URI
• MVC Architecture
• CodeIgniter Application flowchart
• File Structure
• Model,View,Controller
• Routing
• Helpers
• Adding /Loading JS and CSS
• Installation steps
• Hands on training with mini applications
CodeIgniter framework by Mrs.Charushila Patil 2
CodeIgniter Framework
• CodeIgniter is an Application Development Framework - a toolkit –
MVC framework that helps to structure the code and make redundant
task less tedious.
• Its goal is to enable you to develop projects much faster than you
could if you were writing code from scratch, by providing a rich set of
libraries for commonly needed tasks, as well as a simple interface and
logical structure to access these libraries.
• CodeIgniter lets you creatively focus on your project by minimizing
the amount of code needed for a given task.
URI Segments
The segments in the URL, in following with the Model-View-Controller approach, usually
represent:
example.com/class/function/ID
1.The first segment represents the controller class that should be invoked.
2.The second segment represents the class function, or method, that should be called.
3.The third, and any additional segments, represent the ID and any variables that will be passed
to the controller.
• Add the below code in the view file to load the .js and .css file as follows
Ref.Books
1.Professional Codeigniter By Thomas Myer ,Wrox Publication
2. Codeihniter 2 CookBook By Rob Foster ,PACKT Publication