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