1. Bhujbal Knowledge City
MET Institute of Engineering
Department of Master of Computer Application
Title of Seminar
CodeIgniter (PHP framework)
Presented By :- Mr. Sandip Jadhav
Project Guide
(Prof. Manjusha Khond Mam)
2. Contents :
1. Introduction To CodeIgniter 11. Companies Using CodeIgniter
2. What is CodeIgniter? 12. Conclusion
3. Prerequisites
4. Important features of CodeIgniter.
5. Architecture of CodeIgniter.
6. File structure in CodeIgniter.
7. CodeIgniter - MVC Framework.
8. Why CodeIgniter is better than other php framework.
9. Laravel vs. CodeIgniter which is better?
10. Advantage & Disadvantage of CodeIgniter
Bhujbal Knowledge City
MET Institute of Engineering
3. Introduction To CodeIgniter
• CodeIgniter is :
• An Application Development Framework. A toolkit - for people who build web sites using
PHP.
• CodeIgniter follows a Model-View-Controller (MVC).
• Its goal is to enable you to develop projects much faster than you could if you were
writing code from scratch, by
i) providing Rich set of libraries for commonly needed tasks.
ii) 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.
Bhujbal Knowledge City
MET Institute of Engineering
4. What is CodeIgniter?
• CodeIgniter is a PHP MVC framework used for developing web applications rapidly.
• CodeIgniter provides out of the box libraries for connecting to
• The database and performing various operations like sending emails, uploading files,
managing sessions, etc.
Bhujbal Knowledge City
MET Institute of Engineering
5. Prerequisites
• Before you start proceeding with this tutorial, we assume that you
are already exposed to HTML, Core PHP, and Advance PHP.
• We have used CodeIgniter version 3.0.1 in all the examples.
• CodeIgniter 4 is the latest version of the framework.
Bhujbal Knowledge City
MET Institute of Engineering
6. Important features of CodeIgniter
• Model-View-Controller Based System
• Extremely Light Weight
• Query Builder Database Support
• Form and Data Validation
• Session Management
• Full Featured database classes with support for several platforms.
• Email Sending Class. Supports Attachments, HTML/Text email, multiple protocols
(sendmail, SMTP, and Mail) and more.
• Image Manipulation Library (cropping, resizing, rotating, etc.). Supports GD,
ImageMagick, and NetPBM
• File Uploading Class
Bhujbal Knowledge City
MET Institute of Engineering
7. CodeIgniter Architecture
• File index.php is the default file of CodeIgniter. It initializes the base resources.
• The Router decides what should be done with the information.
• If requested cache file exists, then the information is passed directly to the browser ignoring the
further processes.
• Before loading Application Controller, the HTTP request and submitted data is passed
under Security check.
• The Application Controller loads Models, Libraries, Helpers, Plugins and Scripts needed according to
the request.
• The final page will come to View and then sent to the web browser. If View page is not cached then it
will be cached first for future requests.
Bhujbal Knowledge City
MET Institute of Engineering
8. File structure in CodeIgniter
Bhujbal Knowledge City
MET Institute of Engineering
9. CodeIgniter - MVC Framework
• The Model represents your data structures. Typically, your model classes will
contain functions that help you retrieve, insert and update information in your
database.
• The View is information that is being presented to a user. A View will normally be a
web page, but in CodeIgniter, a view can also be a page fragment like a header or
footer. It can also be an RSS page, or any other type of “page”. (Really Simple Syndication)
• The Controller serves as an intermediary between the Model, the View, and any
other resources needed to process
• the HTTP request and generate a web page.
Bhujbal Knowledge City
MET Institute of Engineering
10. • Advantages of CodeIgniter
• Easy to learn, adopt and deploy
• Easy handling and customizing.
• Good collection of possessed libraries.
• Facilitates easy working with a variety of developers
• Offers exibility and easy management With MVC based framework.
• Active Record Implementation is simply superb and easy to remember.
• Awesome documentation of the user guide, which makes it easy for any coder to use the whole
framework.
.
Bhujbal Knowledge City
MET Institute of Engineering
11. Disadvantage of CodeIgniter
• limited features and scalability,
• lack of clear standards,
• limited community support,
• limited security features,
• and outdated documentation
Bhujbal Knowledge City
MET Institute of Engineering
12. Why CodeIgniter is better than other php framework
• CodeIgniter provides great flexibility to create classes for file uploading, FTP, email, zip
coding, etc.
• all of these allow the naming of database tables easily.
• All in all, the CodeIgniter framework helps undoubtedly to develop flexible, robust, and
secure web applications.
• Professional PHP development services comparatively view that CodeIgniter is the best
PHP framework as it executes fast and response time is also very quick.
• CodeIgniter can also develop faster than most PHP frameworks, thus ensuring that if you
need a website soon, you’ll get there fast using the services of CodeIgniter.
Bhujbal Knowledge City
MET Institute of Engineering
13. Laravel vs. CodeIgniter which is better?
To conclude this, we can say both of these PHP frameworks have its relevance
and benefits.
However, It entirely depends on your project that which one you should prefer.
Despite that, we can say that Laravel has a little edge compared to
CodeIgniter because of its elegant and advanced features.
Bhujbal Knowledge City
MET Institute of Engineering
15. Conclusion
CodeIgniter has been a great framework, and if you are working on web app
development, then you cannot afford to not learn this software.
CodeIgniter contains libraries, simple interface and logical structure to access these
libraries, plug-ins, helpers and some other resources which solve the complex functions of
PHP more easily maintaining a high performance.
A person using CodeIgniter must be familiar with PHP.
You need to have a good knowledge about PHP like its basic syntax
and how it interacts with database and HTML.
Bhujbal Knowledge City
MET Institute of Engineering