Qualcomm Interview Question
Applications DevelopersCountry: United States
Interview Type: Phone Interview
MVC de-couples the models from views by adding controller layer between them which allows to modify view and model without affecting each other. We can also have different view implementation calling same model layer through controller. Controller handles any request coming from view and forward it to appropriate model. Selecting model to forward request is completely design decision. Model generally but not necessarily is comprised of service layer or data access layer.
MVC = Model View Controller
- Adrian November 20, 2012It's a coding structure. Model contains all database calls, View contains all front end elements, and Controller puts it all together. This is common in many of the web frameworks like CodeIgniter and Django. The urls usually correspond to a function in Controller.