Where can I find a dead-simple explanation of MVC?

前端 未结 12 1914
迷失自我
迷失自我 2020-12-23 15:07

At my company we\'re about to build a new site using ASP.NET MVC. My boss (marketing guy) would like to know some more about the technology so I\'ve tried to find a really g

12条回答
  •  悲&欢浪女
    2020-12-23 15:25

    The marketing guy would just be interested in the "V" part, the View. Depending on how you design things, the View would just be basic HTML/CSS "templates" that the marketing person could modify. Technically without breaking anything.

    Ideally the Model (database) and Controller (logic) shouldn't care if the View (presentation) is XML, HTML, text, etc. The marketing person shouldn't care what the Model and Controller do, except for requesting additional functionality.

    Going further with the "ideal", you should technically be able to replace ASP with PHP, Java, Ruby, etc as the Controller without touching the Model or View.

提交回复
热议问题