Connect with us

Architecture

MVC FRAMEWORK

Published

on

MVC (Model-View- Controller):

  • The model-view-controller framework is an architectural pattern that separates an application into three main logic components model, view, and controller
  • Each architecture component is built to handle specific development aspect of an application
  • MVC separated the business logic and presentation layer from each other
  • It was traditionally used for desktop GUI
  • Nowadays, MVC architecture has become popular for designing web apps as well as mobile apps

History of MVC

  • MVC architecture first discussed in1979 by Trygve Reenskaug
  • MVC model was first introduced in 1987 in the Smalltalk programming language

Features of MVC

  • Easy and frictional testability, highly testable, extensible, and pluggable framework
  • Offers full control over your HTML as well as your URL’s
  • Leverage existing features provided by ASP.Net, JSP, Django, etc
  • Clear separation of Logic: model, view, controller

MVC Architecture

http://www.MVC Architecture

  1. Model: It includes all the data and its related logic
  2. View: Present data to the user or handles user interaction
  3. Controller: An interface between view and model components

Popular MVC Web Frameworks

  1. Ruby on Rails
  2. Django
  3. CakePHP
  4. cherrypy
  5. SpringMVC
  6. Rails

Advantages of MVC :

  1. Easy code maintenance easy to extend
  2. MVC model component can be tested separately from the user
  3. Easier support for a new type of clients

Disadvantages of MVC

  1. Difficult to read, change and reuse their model
  2. increased complexity and inefficiency of data

The post MVC FRAMEWORK appeared first on GeeksGod.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Newsletter

Trending

Copyright © 2019 - 2020