asp.net mvc ctp版本發布不到一個月時間,在社區出現了叢多的優秀開源項目,社區的活躍性非常高哦,前一段時間園子裡也引發了MVC和WebForm的討論,現在給各位推薦幾個相關的優秀項目,這些項目是MVC的價值的最佳證明。
1、 Asp.net mvc 和Castle 的MonoRail項目有著直接的淵源關係,第一個是Castle的Monorail項目,網站地址: http://www.castleproject.org/ ,建議讀讀這篇文章:MS MVC架構漩渦中的MonoRail未來。 我也在使用WIKI整理castle 的文檔:http://www.openbeta.cn/ioc.ashx
2、 NHaml --ASP.NET MVC View Engine,這是一個Ruby的Haml的版本,對於熟悉Ruby開發的同學一定很熟悉,專案網站:http://haml.hamptoncatlin.com/。具體介紹可看這篇文章:http://andrewpeters.net/2007/12/19/introducing-nhaml-an-aspnet-mvc-view-engine
3、 Mvp.Xml :Mvp.Xml是一組 Xml 的 Library,Mvp.Xml除了可以讓 System.Xml 更好用之外,最主要的是他提早實做許多Microsoft還來不及包在 Framework 裡面的 XML 標準的類別,例如:EXSLT、XML Base、XInclude、XPointer...等等。Mvp.Xml結合System。XML和System.Xml.Linq 就實現了XsltViewEngine視圖引擎,專案網站:http://www.codeplex.com/MVPXML
4、 mvccontrib:已經有好幾個的.NET IOC應用程式框架: Castle Windsor 、StructureMap 、Spring.NET 、Ninject、以及微軟Enterprise Library 4.0將支援依賴注入 。這個項目就是整合這些IoC架構以及視圖引擎,包括Castle MonoRail所用的NVelocityView視圖引擎、NHamlView視圖引擎、XsltViewEngine視圖引擎等等,如果你有精力和激情,可參與到這個項目的開發,項目地址:http://code.google.com/p/mvccontrib/ 。可閱讀如下文章:IoC Container Support for Windsor, StructureMap and Spring.Net,Jeffrey Palermo在部落格裡討論了建立在ASP.NET MVC架構之上的新MVCContrib開源項目,它現在包括了對大多數流行的 .NET IoC工具的Inversion of Control(控制反轉)容器的支援
5、Kigg - A Digg like application developed in ASP.NET MVC :http://weblogs.asp.net/rashid/archive/2008/02/18/kigg-a-digg-like-application-developed-in-asp-net-mvc.aspx
MVC Contrib已提供4種備選的視圖引擎
http://www.infoq.com/cn/news/2008/02/mvc-contrib-view-engines
Using jQuery to add some ajax magic to the ASP.NET mvc framework
http://code.google.com/p/jquerymvc/
ASP.NET MVC CAPTCHA:ASP.NET MVC中實現CAPTCHA的方法
http://code.google.com/p/coderjournal/
http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/
ASP.NET MVC CSS Sprite
http://weblogs.asp.net/zowens/archive/2008/04/27/asp-net-mvc-css-sprite.aspx
6、S#arp Architecture: ASP.NET MVC with NHibernate
http://code.google.com/p/sharp-architecture/
7、 MVC Storefront.
http://www.codeplex.com/mvcsamples
RESTful routing in ASP.NET MVC
8、MvcWebAPI
http://code.msdn.microsoft.com/MvcWebAPI
14、ASP.NET MVC XForms is a simple, strongly-typed, extensible UI framework based on the W3C XForms spec. It provides a base set of form controls that allow updating of any complex model object, even complex nested lists. It uses clean, semantic HTML and a fluent, lamba-based API
http://www.codeplex.com/mvcxforms
15 A heavily opinionated, highly conventional ASP.NET-based MVC extension framework
http://code.google.com/p/opinionatedmvc/
9、MVC Applications
http://www.codeplex.com/mvcapps
10、ASP.NET MVC Flexigrid sample
http://www.webplicity.net/flexigrid/
http://www.codeproject.com/KB/aspnet/MVCFlexigrid.aspx
ASP.NET MVC : Create Toolbar Control http://www.codeproject.com/KB/aspnet/MVCToolBarControl.aspx
11、CarTrackr - Sample ASP.NET MVC application
http://www.codeplex.com/CarTrackr
12、FastMVC: Compress and Cache Dynamic and Static requests
http://code.msdn.microsoft.com/fastmvc
13、Rick URL Shortening Service http://www.codeplex.com/rick
http://www.codeproject.com/KB/aspnet/RESTful_MVC_Sample.aspx
14 A heavily opinionated, highly conventional ASP.NET-based MVC extension framework http://code.google.com/p/opinionatedmvc/
15 Asp.net MVC Open Source Site - prsync.com http://prsync.com/
16 Nova Commons is an application architecture developed by Nova Software. The architecture adopts a lot of best practices and well-known open source projects.
17 ASP.NET MVC: How to combine scripts and other resources http://aspmvccombine.codeplex.com/
18、An ASP.NET SiteMapProvider implementation for the ASP.NET MVC framework. http://mvcsitemap.codeplex.com/
http://blog.maartenballiauw.be/post/2009/09/04/ASPNET-MVC-MvcSiteMapProvider-released.aspx