* What is the mvc ?
- MVC architeture is the design pattern.That is used to design a reuseable apllication.Because it separates data(model) from view (user inteface) so that you can easily change view(user interface) without changing data and business logic of application.
+ Model presents data and business logic of application .Model does not depending on the view and controller.
+ View displays model data and send user action(eg button clicks) to the controller for processing.
+ Controller is used to control the interaction between the view and model.It provide model data to view and interpret user action such as button click.The controller depends on the model and view.
* The relationships bettwen MVC components .
- View and controller relationships.
+ Controllers are responsible for creating and selecting view
- Model and view relationship.
+ View depends on the model.If a change is made to the model then there might be a requirement to make parallel changes in the view.
- Model and controller relationship.
+ The controller depends on the model.If a change is made to the model then might be a riquirement to make parallel chages in the controller.
* What is the framework.
- Framework is the library.It provides a set of class classes to help programmers develops application easier and faster.
No comments:
Post a Comment