MIS2000 Lab. -- ASP.NET学习&分享 / ASP.NET案例精编(清华大学出版社)
您好,我来自台湾。很高兴与各位分享一些成果。希望对您有帮助。出版书籍是「ASP.NET案例精编 / 清华大学出版社」。

ASP.NET MVC与Web From的使用时机?

http://www.dotblogs.com.tw/mis2000lab/archive/2009/08/10/mvc_or_webfrom.aspx

 

ASP.NET 4.0将会完整纳入 MVC,这几个英文单字相信又会吓倒不少初学者。

我会建议「先不要急,先了解自己的需求,然后再来考虑新技术的引进

 

在ASP.NET MVC Training Kit里面,就有一篇文章简单地提到
MVC 与 WebForm的使用时机。

 

所谓Web Form,就是我们常见的网页程序(即ASP.NET),
而Windows Form,就是用 VB/ C#写的Windows程序。

 

以下是我的翻译,我列出原文以免我翻译失误。
...................................................................................................................................


When should I use ASP.NET Web Forms vs. ASP.NET MVC?

ASP.NET Web Forms and ASP.NET MVC offer developers the choice to build Websolutions in different ways.

Developers should pick one over the other based on the needs of the projectand their personal preference.

 

You should use ASP.NET Web Forms when: 何时该用 ASP.NET Web From
‧ Creatinga website faster is more important to you than complete control over markup.
‧ Youlike the abstraction offered by controls.
‧ Youwant to avoid writing inline code.
‧ Youare not interested in pattern-based software development and are not familiar withthe MVC pattern.
‧ 
‧ 喜欢「快速开发网站」,更胜于完整控制「软件的构造(makeup)」。
‧ 爱用控件(Controls)提供的概念。
‧ 不爱撰写Inline-Code(批注:程序代码与html标签混在同一个档案内,甚至混合在同一行里面)。
‧ 对于以样式(pattern)作为开发软件基础,毫无兴趣。

 

You should use ASP.NET MVC when: 何时该用 ASP.NET MVC
‧ Completecontrol over markup is important to you and you are willing to put in the extraeffort.
‧ Youdon’t like the abstraction offered by controls.
‧ Youdon’t mind writing inline code.
‧ Youare interested in pattern-based software development and like the separation betweenlayers offered by the MVC pattern.
‧ 
‧ 想完整地控制「软件的构造(makeup)」,且愿意多付出一些心力。
‧ 不喜欢控件(Controls)的抽象概念。
‧ 不介意写Inline-Code(批注:程序代码与html标签混在同一个档案内,甚至混合在同一行里面)。
‧ 对于以样式(pattern)作为开发软件基础,感到兴趣。而且喜欢MVC将各种阶层予以区隔。

...................................................................................................................................

 

关于MVC的介绍,网络上有几篇文章很赞:

 

1.  Will针对MVC发表了很多文章 -- http://blog.miniasp.com/category/ASPNET-MVC.aspx

      如同Will前辈所言 --「 ASP.NET MVC 真的「没什么」,而「有什么」的是 MVC 核心概念、设计样式、对象导向技术、相关开发技巧、敏捷开发流程、,这些东西才是最核心可创造效益的部分。


2.  小朱 ASP.NETMVC 是什么?能吃吗? -- http://www.dotblogs.com.tw/regionbbs/archive/2009/04/30/what_is_asp.net_mvc.aspx

      小朱前辈说的这句话,应该让很多人吃下定心丸,不会得到信息焦虑症。

      他说「ASP.NET MVC 只是另一个设计 ASP.NET 应用程序的方法,它不会,也没有任何理由要取代现有的 ASP.NET Web Form 开发模式,两者是并行且不冲突的。

 

3. 建议各位下载ASP.NET MVC Training Kit
      里面有很多简报、文件、范例可以参考。下载网址:
      http://www.microsoft.com/downloads/details.aspx?FamilyID=1E0BE0B2-910A-4676-9F3A-41E4D9C0FC08&displaylang=en

 

 

底下的留言,有 WizardWu网友的两篇大作,

写得很棒!不看一定会搥心肝!

 

快速搞懂 ASP.NETMVC:

 http://www.cnblogs.com/WizardWu/archive/2009/04/18/1438809.html 

 http://www.cnblogs.com/WizardWu/archive/2009/03/01/1400672.html 

 

 

posted on 2010-10-28 16:29  MIS2000 Lab.  阅读(369)  评论(0编辑  收藏  举报


ASP.NET案例精编——适用于VS 2005/2008(配光盘)
 

当当网购买 http://product.dangdang.com/product.aspx?product_id=20583373&ref=search-1-pub