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

前端 未结 12 1919
迷失自我
迷失自我 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:23

    I wouldn't try to explain the technology to him, I'd try to explain what the MVC architectural principle is all about.

    MVC was designed to separate concerns. Plain and simple. Explain to him that when you build anything that what you're building can be classified in two different categories: what the business need is (the domain), and everything else.

    MVC separates the Domain from the everything else by introducing layers to separate out the concerns. M is for Model, which is your domain. V is for View, which is the visible part to him, what he sees. C is for Controller, the part that controls what is going on in between the Domain and the View.

提交回复
热议问题