CODEIGNITER
SUMMER TRAINING| DUCAT NOIDA| Utkarsh Chaturvedi
A simple and powerful Framework
What is Framework
 Framework is a library that makes
easier development an application by
adding some useful functions and
pre-build library .
MVC
• MVC is a software approach that separates application logic
from presentation.
• In practice, it permits your web pages to contain minimal
scripting since the presentation is separate from the PHP
scripting.
Architecture Of MVC
MODEL
 The Model represents your data structures.
 Typically your model classes will contain
functions that help you retrieve, insert, and
update information in your database.
VIEW
 The view is the 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”.
 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.
CONTROLLER
Application Flow Chart
What is Codeigniter
CodeIgniter is a toolkit for people who build web
applications using PHP. 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.
Codeigniter Features
 Model-View-Controller Based System
 Extremely Light Weight
 Full Featured database classes with support for several platforms.
 Form and Data Validation
 Security and XSS Filtering
 Session Management Email Sending Class
 Image Manipulation Library
 File Uploading Class
Why Codeigniter
1. CodeIgniter is Light Weight
2. CodeIgniter is Fast
3. CodeIgniter Uses M-V-C
4. CodeIgniter is Extensible
5.CodeIgniter Does Not Require a Template Engine
6. CodeIgniter is Well Documented
7. Friendly Community
 Pagination Data Encryption
Error Logging
Calendar Class
Template Engine Class
Unit Testing Class
 Codeigniter generates clean URLs
Basic installation
 Codeigniter install process is simple and easy.
 Install any Apache server.
 Download and unzip Codeigniter files for
 www.codeigniter.com/download under your local
environment
 And configure it as need.
MODULES OF THE TITLED PROJECT “NEWS BLOG”
ARE LISTED BELOW ON SLIDES
ADMIN MODEL
DASHBOARD
FRONT PAGE OF NEWS BLOG
codeigniter

codeigniter

  • 1.
    CODEIGNITER SUMMER TRAINING| DUCATNOIDA| Utkarsh Chaturvedi A simple and powerful Framework
  • 2.
    What is Framework Framework is a library that makes easier development an application by adding some useful functions and pre-build library .
  • 3.
    MVC • MVC isa software approach that separates application logic from presentation. • In practice, it permits your web pages to contain minimal scripting since the presentation is separate from the PHP scripting.
  • 4.
  • 5.
    MODEL  The Modelrepresents your data structures.  Typically your model classes will contain functions that help you retrieve, insert, and update information in your database.
  • 6.
    VIEW  The viewis the 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”.
  • 7.
     The Controllerserves as an intermediary between the Model.  The View, and any other resources needed to process the HTTP request and generate a web page. CONTROLLER
  • 8.
  • 9.
    What is Codeigniter CodeIgniteris a toolkit for people who build web applications using PHP. 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.
  • 10.
    Codeigniter Features  Model-View-ControllerBased System  Extremely Light Weight  Full Featured database classes with support for several platforms.  Form and Data Validation  Security and XSS Filtering  Session Management Email Sending Class  Image Manipulation Library  File Uploading Class
  • 11.
    Why Codeigniter 1. CodeIgniteris Light Weight 2. CodeIgniter is Fast 3. CodeIgniter Uses M-V-C 4. CodeIgniter is Extensible 5.CodeIgniter Does Not Require a Template Engine 6. CodeIgniter is Well Documented 7. Friendly Community
  • 12.
     Pagination DataEncryption Error Logging Calendar Class Template Engine Class Unit Testing Class  Codeigniter generates clean URLs
  • 13.
    Basic installation  Codeigniterinstall process is simple and easy.  Install any Apache server.  Download and unzip Codeigniter files for  www.codeigniter.com/download under your local environment  And configure it as need.
  • 14.
    MODULES OF THETITLED PROJECT “NEWS BLOG” ARE LISTED BELOW ON SLIDES
  • 15.
  • 16.
  • 17.
    FRONT PAGE OFNEWS BLOG