MVC Framework – geeksforjobs


Hey all, Welcome to Geeksforjobs

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 designed to handle the specific development aspect of an application
  • MVC separates the business logic and presentation layer from one another
  • 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 was first discussed in 1919 by Trygve Renskag
  • The MVC model was first introduced in the Smalltalk programming language in 1987

MVC Features

  • Easy and friction testing, highly testable, extensible, and pluggable framework
  • Provides complete control over your HTML as well as your URL
  • Existing features provided by ASP.Net, JSP, Django, etc.
  • Explicit separation of logic: model, view, controller

MVC Architecture

http: //www.MVC architecture

  1. Model: Contains all data and its associated logic
  2. View: Handles current data or user interaction for the user
  3. Controller: an interface between visual and model components

Popular MVC Web Framework

  1. Ruby on Rails
  2. Django
  3. CakePHP
  4. cherrypy
  5. Spring MVC
  6. rail

Benefits of MVC:

  1. Easy code maintenance is easy to extend
  2. The MVC model component can be tested separately from the user
  3. Easy support for new types of customers

Loss of mvc

  1. His model is difficult to read, change and reuse
  2. Data complexity and inefficiency increased

Previous articleProxy server overview
Next articleInitial for RDBMS

Leave a Comment

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