Seminar
Seminar
Seminar
Title of Seminar
CodeIgniter (PHP framework)
Project Guide
3. Prerequisites
5. Architecture of CodeIgniter.
Introduction To CodeIgniter
• CodeIgniter is :
• An Application Development Framework. A toolkit - for people who build web sites using PHP.
• 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
What is CodeIgniter?
• CodeIgniter is a PHP MVC framework used for developing web applications rapidly.
• The database and performing various operations like sending emails, uploading files,
managing sessions, etc.
Bhujbal Knowledge City
MET Institute of Engineering
Prerequisites
• Before you start proceeding with this tutorial, we assume that you
are already exposed to HTML, Core PHP, and Advance PHP.
• Session Management
• 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
• 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
File structure in CodeIgniter
Bhujbal Knowledge City
MET Institute of Engineering
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
• Advantages of CodeIgniter
• 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
Disadvantage of CodeIgniter
• 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
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
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.
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
Thank You …