2. What are the benefits of using MVC Framework?

  • Multiple views using the same model
    • The separation of model and view allows multiple views to use the same enterprise model. Consequently, an enterprise application's model components are easier to implement, test, and maintain, since all access to the model goes through these components.
  • Easier support for new types of clients
    • To support a new type of client, you simply write a view and controller for it and wire them into the existing enterprise model.
  • Clarity of design
    • By glancing at the model's public method list, it should be easy to understand how to control the model's behavior. When designing the application, this trait makes the entire program easier to implement and maintain.
  • Efficient modularity
    • Allows any of the components to be swapped in and out as the user or programmer desires.
    • Development of the various components can progress in parallel, once the interface between the components is clearly defined. 
  • Ease of growth
    • Controllers and views can grow as the model grows; and older versions of the views and controllers can still be used as long as a common interface is maintained.
  • Distributable
    • With a couple of proxies one can easily distribute any MVC application by only altering the startup method of the application.



Previous | Next


2 comments: