Interviews8 answers
Explain MVC (Model-View-Controller) in general?
8 Answers
MVC pattern forces a separation of concerns, it means domain model and controller logic are decoupled from user interface (view). As a result maintenance and testing of the application become simpler and easier.
Ankit KanojiaPosted Dec 18, 2015, 9:18 PM EST
In model view controller when the enduser requested any data it directly hit to controller, the controller contact model to get the data from the database or webservice and it will pass to controller, the controller will bind the data to view.
- There is no code behind
- There is no view state
- There are no server controls
- No page life cycle
Ramakrishna BasagallaPosted Nov 12, 2015, 1:00 AM EST
Model-View-Controller[MVC]
When user requests, the request hits the "Controller".
The Controller asks the "Model" for data.
The Model gives the data to the Controller from the DB.
The Controller formats the data and passes them to the "View".
The View renders the Html that needs to be sent to the Client
Umamaheswara Rao DasariPosted Aug 17, 2015, 10:27 PM EDT
To describe MVC the main part is Controller where are all logic are implemented. So Each controller interaction with Model and View.U are able to call Model in Controller function .
tanvir ahmedPosted Jul 28, 2015, 2:46 AM EDT
Model is representing the application part and implements the data logic.
View is representing the User interface part and display data on browser using Controller part.
Controller is classes. In this part collect user Request.
RakeshPosted Jul 13, 2015, 1:23 AM EDT
modal-class that contain application logic related to data
controller-classes that are invoked for incoming URL requests, retreive data from database and ultimately a response is send back to the browser.
view-class that contain all html code related to GUI
vartika tomarPosted Jul 13, 2015, 12:54 AM EDT
Basically MVC is separation of concern means
all properties,operation with database done in Model.
All UI related part handled in View.
Controller calls the appropriate action to perform operation on model and returns related view to end user.
Asif MULLAPosted Jul 1, 2015, 9:38 PM EDT
MVC (Model-View-Controller) is an architectural software pattern that basically decouples various components of a web application. By using MVC pattern, we can develop applications that are more flexible to changes without affecting the other components of our application.
“Model”, is basically domain data.
“View”, is user interface to render domain data.
“Controller”, translates user actions into appropriate operations performed on model.
Manoj BhoirPosted May 16, 2015, 2:23 AM EDT




