您的位置:首页 > 编程语言 > ASP

ASP.NET MVC 研究(进行中)

2009-04-04 20:07 309 查看
最近看到微软发布了ASP.NET MVC框架的1.0版本,按照asp.net的教程做了一个例子之后觉得开发还是很简洁的,所以决定稍微深入研究一下,于是就有了以下的一些内容,请大家积极拍砖,非常感谢!



1. ASP.NET MVC 讲义(自己根据教程总结的一些内容,详细参看:asp.net

查看教程(英文版)



2. 调试ASP.NET MVC源代码



3. Model & ADO.NET Entity Framework & Linq to Entity



Domain Model -> VS2010会提供对基于域模型的开发方式的支持。



Programming Entity Framework



Query Entity

Linq to Entity

Entity SQL

Method Based Query

Low Level Entity Client



Update Entity



NHibernate v.s. iBatis.net



4. View: JQuery & ExtJS & Extension Method(HtmlHelper Extension)

Strongly-Typed View

View reside Where?

内部工作原理(IView,IViewEngine)

Master page

ViewData是什么?

partial class v.s. partil view

Html Helper Class

ViewModel class / interface ?

Form Submit

Form Vlidation(Server side, Client Side)

使用Method-Extension扩展Mcv提供的Html Helper类

Phil Haack 关于JQuery中Grid组件的的使用,涉及到ASP.NET MVC框架中JSON的是哟功能。





5. Controller & Action

System.Web.Mvc.IController 接口

System.Web.Mvc.Controller 基类

Action方法用来处理Web请求。

Action方法的一些限制(什么样的方法可以作为Action方法)

Action方法的职责(是否应该处理业务逻辑?参看MS Repository模式)

ViewData是什么?(IDictionary<string, object>)

Action方法返回什么?(ActionResoult?什么都可以返回,参看:ContentResult)

ActionResult有多少子类型?

RedirectToAction干什么用?

Mock-You(Moq)

Action to View

Form to Action (individual values v.s. Model Object, Custom Binder)

Query String to Action

ViewData to View



Filter Pattern (Before or after action)



6. Route

7. 自定义和扩展ASP.NET MVC

自定义Route

自定义Controller Factory使用IOC容器

自定义ViewEngine与使用模板





7. 国际化(MVC对国际化的支持)





7. Test

TDD 第一章概述部分应该包含一个TDD的说明,之后应该在每一章中出现,测试本章讲解的内容。





8. Validation

Server Side Validation

MVC-Self Validation

MS Enterprise Application Block for Validation





Client Side Validation

Custom JavaScript

JQuery



模式(mvc中如何使用模式以便让应用程序更适应于大型项目)



9.其他内容

Spring.net



JSON(JQuery & ExtJS)

ExtJS <---json---> MVC



File Upload



WebServices



其他资源:

MSDN ASP.NET MVC 文档

连接:

http://msdn.microsoft.com/en-us/library/dd394709.aspx

说明:

MSDN ASP.NET MVC 文档资源中心





MVC Contrib

连接:

http://www.codeplex.com/MVCContrib

说明:

This is the contrib project for the ASP.NET MVC framework. This project adds additional functionality on top of the MVC Framework. These enhancements can increase your productivity using the MVC Framework. It is written in C#. Founded by Eric Hexter and Jeffrey Palermo



StructureMap

连接:

http://structuremap.sourceforge.net/Default.htm

说明:

StructureMap is a Dependency Injection / Inversion of Control tool for .Net that can be used to improve the architectural qualities of an object oriented system by reducing the mechanical costs of good design techniques. StructureMap can enable looser coupling between classes and their dependencies, improve the testability of a class structure, and provide generic flexibility mechanisms. Used judiciously, StructureMap can greatly enhance the opportunities for code reuse by minimizing direct coupling between classes and configuration mechanisms.



Moq

连接:

http://code.google.com/p/moq/

说明:



ASP.NET MVC RefCardz:

http://refcardz.dzone.com/refcardz/getting-started-aspnet-mvc-10
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: