Reasons not to use MVC architecture for web application

后端 未结 12 1731
野的像风
野的像风 2021-02-07 12:01

In the past I have primarily built all my web applications using an N-tier architecture, implementing the BLL and DAL layers. Recently, I have started doing some RoR development

12条回答
  •  遇见更好的自我
    2021-02-07 12:13

    The simple answer is, no.

    MVC is all around a better architecture than your old-school n-tier architecture, for many reasons. It's the standard approach in other UI models (e.g. Swing). The only reason it took so long to make it to web applications was because it took the software community, collectively, a little while to get used to the statelessness of the web and to be able to deal with the views and controllers in a way that made sense.

提交回复
热议问题