MVC architecture in SAPUI5 application


MVC stands for Model View Controller. It is a software architectural pattern where in the software is developed in loosely coupled components of Model, View and Controller. The three components interact between each other and exchange data.

Model - Model is responsible to manage the application data.
View - All logic pertaining to view design will be placed in the view file.
Controller - All functions and event handling is written in Controller file.


MVC has become a standard design pattern that developers follow to create all Desktop, Web and even Mobile applications.

SAPUI5 strictly follows MVC architecture. If you create a SAPUI5 application in WebIDE, it automatically creates application template based on MVC pattern. If  you create application using Eclispe, on selecting checkbox Create an Initial view, it creates SAPUI5 application based on MVC pattern..