SlideShare a Scribd company logo
MVC
Model View Controller
By- Harshit
Gupta
Why PHP framework? PHP frameworks help to promote rapid
application development (RAD), which saves
you time, helps build more stable applications,
and reduces the amount of repetitive coding for
developers.
 Without a PHP Framework in place, it gets
much more difficult to produce applications
since you’ll have to repeatedly code a lot of
PHP. You’ll also have to execute the
connection between your database and
whatever application you develop from scratch.
Meanwhile, using a PHP Framework makes it
easier for you to ensure this connection.
How framework works?
MVC
 MVC is an architectural pattern featured in
various popular programming languages which
breaks apart your domain logic from your user
interface.
Now what is domain logic ?
The domain logic is the function that handles
information exchange between your database
and your user interface.
The M stands for the raw data, the V (view/user
interface) represents what’s actually being
viewed, and C (controller) is in fact the domain
logic as seen above.
PHP Frameworks
 Kohana
 CodeIgniter
 Akelos
 CakePHP
 Zend Framework
 Symfony
Prado
 Solar Framework
 Yii PHP Framework
 Maintainable
 Seagull
 Fuse
 Ajax AC
 Phocoa
 Limb
 Zoop
 Blueshoes
 Qcodo
 Recess
 PHPDevShell
 Laravel
Frameworks Market Share
2017
Laravel (43.7% Market share)
CodeIgniter (14.9%)
Symfony (13.6%)
Zend (12.5%)
Yii 2(5.1 %)
CakePHP(5.5 %)
Fuel PHP(2.4 %)
FatFree(1.3%)
Aura (0.9 %)
MVC & CodeIgniter
CodeIgniter
 CodeIgniter is a powerful PHP framework
with a very small footprint, built for
developers who need a simple and elegant
toolkit to create full-featured web applications.
CodeIgniter was created by EllisLab, and is
now a project of the British Columbia Institute
of Technology.
 Codeigniter comes with many built in
libraries for unit testing, form validation, email,
sessions, and much more! If you can't find a
library you're looking for, it's also pretty easy
to build your own, and then share it with the
CodeIgniter Features
 Model-View-Controller Based System
 Error Handling
It offers simple user-friendly interfaces that
help you to detect error functions throughout
the application globally.
 Configuration and Customizable
 Migration
Developers can manage database schema
updates across various web application fields
easily with helps of the migration aspect.
Migration from one server to another server is
simple and hassle-free in CodeIgniter.
CodeIgniter Advantages
 It helps web developers to find out the errors in
programming codes and fix-up the issues instantly in
the web applications.
 It provides you user-friendly interface that help
developers to create a dynamic, flexible, secure and
large web applications effectively in a short span of
time.
 Web developers can make use of this powerful
framework to customize the configuration files easily
and it provides hassle-free migration from source to
destination service hosting.
 The framework helps the programmer to create
both front-end and rear-end of a web application
effectively and easily in a secured manner.
 Programmers can create web applications with
additional features and high-end functionalities by
CodeIgniter Disadvantages
 Its PHP based only and not very object-oriented in
some parts.
 PHP4 legacy code.
 Company-driven instead of community-driven.
 Irregular releases.
 Framework itself has no built-in ORM (only via 3rd
party solutions)
CodeIgniter File Structure
 cache: Store Web Application
cache file.
 controller: Store Application
Controller file.
 config: Controller: Store
Application config file.
 helpers: Controller: Store
Custom helper function file.
 language: Store Language
file (if you want to develop
application multi language).
 libraries: Store custom library
file.
 logs: Store logging file.
CodeIgniter File Structure
 models: Store Application
Model file.
third_party: Store party class
and function file.
view: Store Application View
file.

More Related Content

PPTX
PHP Frameworks
PPTX
Technource - Zend framework Developers India
PDF
Mvc Architecture in a web based application
PDF
Php framework
PPTX
Php Framework
PPTX
Choose the right PHP framework for your website?
PPTX
Presentation web basedapplication
ODP
dot net
PHP Frameworks
Technource - Zend framework Developers India
Mvc Architecture in a web based application
Php framework
Php Framework
Choose the right PHP framework for your website?
Presentation web basedapplication
dot net

What's hot (20)

PDF
Know about cake php framework with vertexplus
PPT
A Simple MVC Framework for Widget Development
ODP
Building web 2.0 applications with ext js
PPT
MikeTaulty_Ux_Update
PPTX
Building Web Apps with Python Part 2 - Code Heroku
PPT
Blast Mojo Overview
PDF
Web Programming - 2 Web Framework
PPT
Microsoft Silverlight
PPTX
Silverlight 3.0
DOC
CV Nirosha
PPTX
Mvc3 part1
PPTX
Everything you need to know about mern stack programming
DOC
Nirosha dotnet cv (2) copy mvc
PPTX
Ps02 cint24 mvc in php
PDF
Industry-Standard Web Development Techniques for Angular
PPTX
Introduction to Mvc
PPTX
Introduction To Model View Presenter
PDF
Web Programming - 3 Laravel Framework
PPTX
Difference between frontend and backend
Know about cake php framework with vertexplus
A Simple MVC Framework for Widget Development
Building web 2.0 applications with ext js
MikeTaulty_Ux_Update
Building Web Apps with Python Part 2 - Code Heroku
Blast Mojo Overview
Web Programming - 2 Web Framework
Microsoft Silverlight
Silverlight 3.0
CV Nirosha
Mvc3 part1
Everything you need to know about mern stack programming
Nirosha dotnet cv (2) copy mvc
Ps02 cint24 mvc in php
Industry-Standard Web Development Techniques for Angular
Introduction to Mvc
Introduction To Model View Presenter
Web Programming - 3 Laravel Framework
Difference between frontend and backend
Ad

Similar to MVC & CodeIgniter (20)

PDF
Important Backend Frameworks To Remember For Businesses In 2023
PPTX
PPT - A slice of cake php
PDF
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
DOCX
Get Codeigniter Developement Services From Us
PPTX
5 Powerful Backend Frameworks for Web App Development in 2022
PPTX
Top 5 backend frameworks for web development in.pptx
PPTX
Trusted PHP Development Services in the USA
PDF
Some Features make CodeIgniter Powerfull PHP framework.pdf
PDF
Why should you Choose CodeIgniter Framework for your Next project
DOCX
Development of Multiplatform CMS System with Zend Framework
PDF
Avigma Tech LLC- Why the MVC pattern so popular?
PDF
Benefits and Features of CodeIgniter.pdf
PPTX
Latest Web development technologies 2021
DOCX
Top 13 Backend Frameworks for Web development in 2024
PDF
16 Best Frameworks for Web Development to Use in 2024.pdf
PDF
5 Best Frontend Frameworks For Web & Software Development
PPTX
Web-Development-Services-in-Pakistan.pptx
PDF
Best Frameworks for SaaS Product Development
PDF
Asp Net Vs Vue JS Which One You Should Choose for Development.pdf
PPTX
Web Application Development-Ultimate Guide To Web Application Architecture
Important Backend Frameworks To Remember For Businesses In 2023
PPT - A slice of cake php
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Get Codeigniter Developement Services From Us
5 Powerful Backend Frameworks for Web App Development in 2022
Top 5 backend frameworks for web development in.pptx
Trusted PHP Development Services in the USA
Some Features make CodeIgniter Powerfull PHP framework.pdf
Why should you Choose CodeIgniter Framework for your Next project
Development of Multiplatform CMS System with Zend Framework
Avigma Tech LLC- Why the MVC pattern so popular?
Benefits and Features of CodeIgniter.pdf
Latest Web development technologies 2021
Top 13 Backend Frameworks for Web development in 2024
16 Best Frameworks for Web Development to Use in 2024.pdf
5 Best Frontend Frameworks For Web & Software Development
Web-Development-Services-in-Pakistan.pptx
Best Frameworks for SaaS Product Development
Asp Net Vs Vue JS Which One You Should Choose for Development.pdf
Web Application Development-Ultimate Guide To Web Application Architecture
Ad

Recently uploaded (20)

PDF
Well-logging-methods_new................
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Digital Logic Computer Design lecture notes
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPT
Project quality management in manufacturing
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
DOCX
573137875-Attendance-Management-System-original
PPT
Mechanical Engineering MATERIALS Selection
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Geodesy 1.pptx...............................................
Well-logging-methods_new................
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Digital Logic Computer Design lecture notes
UNIT-1 - COAL BASED THERMAL POWER PLANTS
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Operating System & Kernel Study Guide-1 - converted.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Embodied AI: Ushering in the Next Era of Intelligent Systems
Project quality management in manufacturing
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
573137875-Attendance-Management-System-original
Mechanical Engineering MATERIALS Selection
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Internet of Things (IOT) - A guide to understanding
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Geodesy 1.pptx...............................................

MVC & CodeIgniter

  • 2. Why PHP framework? PHP frameworks help to promote rapid application development (RAD), which saves you time, helps build more stable applications, and reduces the amount of repetitive coding for developers.  Without a PHP Framework in place, it gets much more difficult to produce applications since you’ll have to repeatedly code a lot of PHP. You’ll also have to execute the connection between your database and whatever application you develop from scratch. Meanwhile, using a PHP Framework makes it easier for you to ensure this connection.
  • 4. MVC  MVC is an architectural pattern featured in various popular programming languages which breaks apart your domain logic from your user interface. Now what is domain logic ? The domain logic is the function that handles information exchange between your database and your user interface. The M stands for the raw data, the V (view/user interface) represents what’s actually being viewed, and C (controller) is in fact the domain logic as seen above.
  • 5. PHP Frameworks  Kohana  CodeIgniter  Akelos  CakePHP  Zend Framework  Symfony Prado  Solar Framework  Yii PHP Framework  Maintainable  Seagull  Fuse  Ajax AC  Phocoa  Limb  Zoop  Blueshoes  Qcodo  Recess  PHPDevShell  Laravel
  • 6. Frameworks Market Share 2017 Laravel (43.7% Market share) CodeIgniter (14.9%) Symfony (13.6%) Zend (12.5%) Yii 2(5.1 %) CakePHP(5.5 %) Fuel PHP(2.4 %) FatFree(1.3%) Aura (0.9 %)
  • 8. CodeIgniter  CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. CodeIgniter was created by EllisLab, and is now a project of the British Columbia Institute of Technology.  Codeigniter comes with many built in libraries for unit testing, form validation, email, sessions, and much more! If you can't find a library you're looking for, it's also pretty easy to build your own, and then share it with the
  • 9. CodeIgniter Features  Model-View-Controller Based System  Error Handling It offers simple user-friendly interfaces that help you to detect error functions throughout the application globally.  Configuration and Customizable  Migration Developers can manage database schema updates across various web application fields easily with helps of the migration aspect. Migration from one server to another server is simple and hassle-free in CodeIgniter.
  • 10. CodeIgniter Advantages  It helps web developers to find out the errors in programming codes and fix-up the issues instantly in the web applications.  It provides you user-friendly interface that help developers to create a dynamic, flexible, secure and large web applications effectively in a short span of time.  Web developers can make use of this powerful framework to customize the configuration files easily and it provides hassle-free migration from source to destination service hosting.  The framework helps the programmer to create both front-end and rear-end of a web application effectively and easily in a secured manner.  Programmers can create web applications with additional features and high-end functionalities by
  • 11. CodeIgniter Disadvantages  Its PHP based only and not very object-oriented in some parts.  PHP4 legacy code.  Company-driven instead of community-driven.  Irregular releases.  Framework itself has no built-in ORM (only via 3rd party solutions)
  • 12. CodeIgniter File Structure  cache: Store Web Application cache file.  controller: Store Application Controller file.  config: Controller: Store Application config file.  helpers: Controller: Store Custom helper function file.  language: Store Language file (if you want to develop application multi language).  libraries: Store custom library file.  logs: Store logging file.
  • 13. CodeIgniter File Structure  models: Store Application Model file. third_party: Store party class and function file. view: Store Application View file.