mvc design pattern. 2009 - 2012 - web developer at crimshield, inc. 2012 - 2013 - application...

14
MVC Design Pattern

Upload: imogene-kelly

Post on 03-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

MVCDesign Pattern

Page 2: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

◼ 2009 - 2012 - Web Developer at Crimshield, Inc.

◼ 2012 - 2013 - Application Developer at IBM

◼ 2013 - Present - Delta Developer at Tides Are Rising(DentalMarketing.net)

[email protected]

About me

Page 3: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

What is Design Pattern?

◼A standard solution to common problems in software design.

◼A template on how to solve a problem.

◼Formalized best practices.

Page 4: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

The Problem

Page 5: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

What is MVC?

◼A design pattern in implementing user interfaces.

◼Separation of concern.

◼Model – View - Controller

Page 6: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

Model

◼Model represents knowledge

Page 7: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

Controller

◼Link between the user and the system

Page 8: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

View

◼Visual representation of model

Page 9: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides
Page 10: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides
Page 11: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

Pros

◼Provides structure to your application.

◼Allows multiple team to work separately

◼Code reusability

Page 12: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

Cons

◼Complexity

Page 13: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

MVC Web Frameworks

◼PHP (Zend, Codeigniter, Yii, CakePHP, Laravel)

◼Java (Struts, Spring MVC, Play! Framework)

◼Ruby (Rails)

◼Python (Django)

◼Javascript (JavaScriptMVC)

Page 14: MVC Design Pattern. 2009 - 2012 - Web Developer at Crimshield, Inc. 2012 - 2013 - Application Developer at IBM 2013 - Present - Delta Developer at Tides

Demo