• GK & Current Affairs
  • Exam Calender
  • IQ Puzzles
  • Comics Sections
  • Login
  • Registration
  • Reffer & earn
Knowledgedunia

,

  • Home
  • Category
    • Aptitude
    • General Studies
    • Reasoning
    • Puzzles
    • Programming Language
    • Interview
    • Database
    • Networking
    • Solr
  • Interview
  • Online Test
  • General Knowledge
    • Important Days
  • Ask Now !
  • Solr
  • HR
  • Puzzles
  • Reasoning

Time:

Question Detial

  1. Home
  2. PHP
  3. OOPs
  4. What is MVC?

What is MVC?

6 years ago 3471 Views

The model view controller pattern is the most used pattern for today’s world web applications. At present there are more than a dozen PHP web frameworks based on MVC pattern.The MVC pattern separates an application in 3 modules:
Model, View and Controller:

Model - The model is responsible to manage the data; it stores and retrieves entities used by an application, usually from a database, and contains the logic implemented by the application.

View - The view (presentation) is responsible to display the data provided by the model in a specific format. It has a similar usage with the template modules present in some popular web applications, like wordpress, joomla, …

Controller - The controller handles the model and view layers to work together. The controller receives a request from the client, invokes the model to perform the requested operations and sends the data to the View. The view formats the data to be presented to the user, in a web application as an html output.

PHP OOPs

Thread Reply

Hot Questions


  • What are the advantages and disadvantages of Standard Query Parser?
  • What is Apache Solr?
  • How to Get the Size of all Tables in a database in MySQL?

  • Explain Faceting in Solr.
  • What is MVC?

Recent Comments


  • Aziz Panna on
  • Brijesh Maurya on

    What is Laravel framework?

Knowledge Dunia
 
  • Solr Interview Questions
  • Earth Day Questions
  • PHP Interview Questions
  • HR Interview Questions
  • Important Day Of The Year
  • MySQL Interview Questions
  • General Awareness Questions
  • Railway Questions
  • CakePHP Interview Questions
  • Ask Your Question Now!
  • Sports Questions
  • About us
  • Contact Us
  • Facebook
  • Twitter
  • Google Plus

© 2016 cubetodice.com. All rights reserved.

Sign Up with Facebook
Sign Up with Google

OR

MALE FEMALE

By clicking on the button "Register" you agree to be the terms of service (User Agreement)

Already Register Sing In

×
Sign In with Facebook Sign In with Google

Forgot password?