Explain the benefits of MVC pattern.1. Separation of concerns: a. The separation the three components, allows the re-use of the business logic across applications. b. Multiple User Interfaces can be developed without concerning the codebase.
2. Developer specialization and focus: a. The developers of UI can focus exclusively on the UI screens without bogged down with business logic. b. The developer of Model / business can focus exclusively on the business logic implementations, modifications, updations without concerning the look and feel and it has nothing to with business logic.
3. Parallel development by separate teams: a. Business logic developers can build the classes, while the UI developers can involve in designing UI screens simultaneously, resulting the interdependency issues and time conservation. b. UI updations can be made without slowing down the business logic process. c. Business logic rules changes are very less that needs the revision / updations of the UI.
Explain the benefits of MVC pattern.Benefits
Multiple view support: Due to the separation of the model from the view, the user interface can display multiple views of the same data at the same time.
Change Accommodation: User interfaces tend to change more frequently than business rules. (different colors, fonts, screen layouts, and levels of support for new devices such as cell phones or PDAs) Because the model does not depend on the views, adding new types of views to the system generally does not affect the model. As a result, the scope of change is confined to the view.
|