MVC WITH CODEIGNITER Presented By Bhanu Priya.

Slides:



Advertisements
Similar presentations
Testing Relational Database
Advertisements

3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Apache Struts Technology
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
1.  Understanding about How to Working with Server Side Scripting using PHP Framework (CodeIgniter) 2.
{ Model View Controller ASP.NET By Scott Crooks & Maggie Wettergreen.
Web Applications Development Using Coldbox Platform Eddie Johnston.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Graphical User Interface (GUI) Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Software Architecture Patterns (2). what is architecture? (recap) o an overall blueprint/model describing the structures and properties of a "system"
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
Course Instructor: Aisha Azeem
Who am I? ● Catalin Comanici ● QA for 10 years, doing test automation for about 6 years ● fun guy and rock star wannabe.
UNIT-V The MVC architecture and Struts Framework.
Web Development Methodologies Yuan Wang(yw2326). Basic Concepts Browser/Server (B/S) Structure Keywords: Browser, Server Examples: Websites Client/Server.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
Dependency Injection and Model-View-Controller. Overview Inversion of Control Model-View-Controller.
K.SWETHA. CSE-IV-A 08Q61A  INTRODUCTION  HISTORY  WORKING PROCESS  TECHNOLOGIES  ADVANTAGES AND DISADVANTAGES  CONCLUSION.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 18 Slide 1 Software Reuse.
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
Software Engineering Muhammad Fahad Khan
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
MODEL VIEW CONTROLLER A Technical Seminar Report submitted to
CodeIgniter - [Overview]
MVC pattern and implementation in java
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Model View Controller (MVC) Rick Mercer with a wide variety of others 1.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Codeigniter is an open source web application. It occupies a very small amount of space in the memory and is most useful for developers who aim to develop.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
Pemrograman Web MVC Programming and Design Pattern in PHP 5.
Arnold Geraldo Designing and Making of The Online Auction Website Using CakePHP Framework.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
GRASP: Designing Objects with Responsibilities
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Using the Right Method to Collect Information IW233 Amanda Murphy.
Building Secure Web Applications With ASP.Net MVC.
Model View Controller MVC Web Software Architecture.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 18 Slide 1 Software Reuse.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.
Chapter 9 Web Application Design. Objectives Describe the MVC design pattern as used with Web applications Explain the role and responsibilities of each.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Introduction  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
Mach-II Primer Ben Edwards An Introduction to Mach-II: An event-based, implicit invocation web-application framework.
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
Ruby on Rails. Web Framework for Ruby Designed to make it easier to develop, deploy, and maintain web applications Design with Model-View-Controller –almost.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
Intro to MVC5 Bryan Soltis Bit-Wizards - Director of Technology & Research.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
High degree of user interaction Interactive Systems: Model View Controller Presentation-abstraction-control.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
Software Reuse. Objectives l To explain the benefits of software reuse and some reuse problems l To discuss several different ways to implement software.
Cake PHP – OOPS approach for PHP
Web Technology Solutions
J2EE Platform Overview (Application Architecture)
Laravel vs CodeIgniter: Best of 2017
7. Modular and structured design
Yii.
Introduction To Codeigniter
Web Development Web Servers.
Software Design and Architecture
Content Management System
Design and Maintenance of Web Applications in J2EE
Presentation transcript:

MVC WITH CODEIGNITER Presented By Bhanu Priya

MVC MVC stands for "Model View Controller”. Model-View-Controller is a software architecture, or design pattern, that is used in software engineering for developing web application. MVC is a concept that enables us to separate our business logic from the presentation.

Model View Controller Architecture

PARTS OF MVC Model View Controller contains three parts. Model View

MODEL The model is a lowest level of the pattern. Model manages all the behaviour of the data of the application. It responds to the requests from view. It also responds to instruction from the controller to update itself

VIEW View is used for displaying all or portion of data to the user. View can present the data in a particular format which is triggered by controller’s decision. Script based templating system like Jsp , Asp , PHP, Ajax(Easy to integrate).

CONTROLLER The controller is responsible for responding to user input and perform interactions on the data model objects. The controller receives the input and validates the input, then performs the business operation that modifies the state of the data model. Controller acts as interaction between model and view.

PROCESS Controller receives all the requests from the user for the application with an isolation. It works with the model to prepare any data needed by the view. It also represents to instruction from the controller to update itself.

The user interacts with the View which presents a web form. The user submits the form, and the Controller receives the POST request. It passes this data to the Model. The Model updates and queries the database and sends the result back to the Controller. The Controller passes the Model’s response to the View. The View updates itself with the new data and is displayed to the user.

ARCHITECTURE

WHY USE MVC Reduce the code complexity. Reusability. Extendability. Time Consuming.

PROBLEMS OF MVC There’s increased complexity as an application may use other patterns at the same time as MVC. The view and the controller are closely coupled which makes modification to one affect the other. When the model is active frequent changes to model can result in excessive updates of the corresponding views.

ADVANTAGES OF MVC Reusability. Clarity of design. Efficient modularity. Multiple views. Ease of growth. Distributable.

DISADVANTAGES OF MVC It is too complex to implement. It is not suitable for smaller application. There is a chance to occur code duplication. Increased complexity. Close coupling between view and controller.

BENEFITS OF MVC Substitutable user interface. User interface components. Multiple simultaneous views of the same model. Synchronized views. Easier user interface changes. Easier testing.

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. Rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. It is focused by minimum amount of code.

CODEIGNITER(CONTIN) IT is primarily focus on, Model-View-Controller basics. Routing basics. Form validation. Performing basic database queries using "Active Record“.

For example <?php Class ABC extends XY_Controller { {           Public function index ()           {                   Echo ‘Hello World!’;           }           public functionwishes()           {        echo ‘Good Morning!’;          } } ?>

ADVANTAGES OF CODEIGNITER Easy to learn, adopt and deploy. Easy handling and customizing. We can add new functionality without affecting the customization at all. Offers flexibility and easy management With MVC based framework. Active Record Implementation is simply superb and easy to remember.

Provides easier configuration and customization of configuration files. Good collection of possessed libraries. Awesome documentation of the user guide, which makes it easy for any coder to use the whole framework. Enables to incorporate its own existing scripts as well as develop core libraries for the system.

DISADVANTAGES OF CODEIGNITER Its PHP based only and not very object-oriented in some parts. PHP legacy code. Irregular releases.

BENEFITS OF CODEIGNITER A small track and astounding presentation. Configuration and normal coding rules are not required. Depiction of straightforward solutions. Free from complex structures and development.

REFERENCE http://www.tutorialspoint.com/struts_2/basic_mvc_architectur e.htm http://salopek.eu/content/28/create-a-simple-php-mvc- framework http://ellislab.com/codeigniter http://ellislab.com/codeigniter/user-guide/ http://phpdog.blogspot.in/2012/02/codeigniter-tutorials-for- beginners.html http://tutsforweb.blogspot.in/2012/05/user-registration-with- codeigniter.html

THANK YOU