Friday, 16 August 2013

What is MVC Architecture (Model - View - Controller) ?

Model:
It handles  maintaining data and database works part. Model proceses events sent by controller. After processing completed these events then it sends processed data to controller (thus, controller may reprocess it) or directly to view side.
It responds to the request from the view and it also responds to instructions from the controller to update itself

View:This is responsible for displaying all or a part of  data to  user interface to show to the user. Controller or model tells view what to show the user. and view handles requests from user and informs controller.

 They are script based templating systems like JSP, ASP, PHP and very easy to integrate with AJAX technology.
Controller:Software Code also Controller is like brain of the system. that controls the interactions between the Model and View Because it processes every request, prepares another parts of the system like model and view.
The controller receives the input, it validates the input and then performs the business operation that modifies the state of the data model.  





0 comments :

Post a Comment