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

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

    To a marketing guy, perhaps the best way to explain the reason for ASP.Net MVC is the ability to broaden your product's reach.

    By using MVC, the code is already separated in a fashion that will let you more easily build an interface that feels natural on a desktop, and then the different interface that caters to a general mobile device user, and a still-slightly-different interface that caters to an iPhone user, without risking the backend code getting out of sync and introducing subtle and company-harming bugs. And, if there's a smart client desktop app that could be a product... it, too, can rest on the same codebase.

    The Model is "how things work inside the box". The Controller is "what you can touch on the outside of the box" and the view is "what comes out of the box"...

提交回复
热议问题