Professional Documents
Culture Documents
W4-1mvc 2020
W4-1mvc 2020
Dr Yawar
• The Model-View-Controller (MVC) is
an architectural framework that
separates an application into three
main logical components: the model,
the view, and the controller. Each of
MVC these components are built to handle
specific development aspects of an
application. MVC is one of the most
frequently used industry-standard web
development framework to create
scalable and extensible projects
This style models how to set up the
relationships between user interface and
problem-domain components.
Controller
(MVC) Style View—A data display component
• Traditionally used for desktop graphical user interfaces (GUIs), this pattern has become popular for
designing web applications.
• Popular programming languages like JavaScript, Python, Object Pascal/Delphi, Ruby, PHP, Java, C#,
and Swift have MVC frameworks that are used for web or mobile application development
straight out of the box.
• Some web MVC frameworks take a thin client approach that places almost the entire model, view and
controller logic on the server. This is reflected in frameworks such as Django, Rails and ASP.NET MVC.
In this approach, the client sends either hyperlink requests or form submissions to the controller and
then receives a complete and updated web page (or other document) from the view; the model exists
entirely on the server.[15] Other frameworks such
as AngularJS, EmberJS, JavaScriptMVC and Backbone allow the MVC components to execute partly on
the client (also see Ajax).
Wikipedia
The MVC is an architectural style that separates an
application into 1) Model, 2) View and 3) Controller
Model: It includes all the data and its related logic