Web 客户端软件工厂为尝试管理使用 ASP.NET 构建的大型网站的开发人员提供了引人注目的解决方案。此软件工厂支持创建与站点中的各个子目录相关联的模块,并为模式(如 View-Presenter 和 Application Controller)提供了一个可支持以模块化方式启用网站的独立开发、测试和部署的框架,值得我们认真去研究。
现在微软模式与实践团队又发布了Web Client Software Factory v2.0版本,除了支持.NET Framework 3.5和Visual Studio 2008之外,还在2.0中加入了很多小的指导包,称之为“Guidance Bundle”,如Validation Bundle、Search Bundle、Autocomplete Bundle等。
新版本的变化
在Web Client Software Factory v2.0中,新加入的“Guidance Bundle”有如下几个:
Autocomplete: Guidance for adding context-sensitive auto-complete within an ASP.NET AJAX application. Download | Documentation
Composite Web Client Automation: Guidance automation for creating Composite Web Clients. Download | Documentation
Composite Web Client Library: Reusable application blocks for creating Composite Web Clients. Download | Documentation
Model View Presenter: Guidance for creating testable ASP.NET User Interfaces. Download | Documentation
Modularity: Guidance for creating modular composite user interfaces. Download | Documentation
Responsive Composite Web Client Reference Implementation: Sample Order Entry application that illustrates how to improve responsiveness. Download | Documentation
Search: Guidance for improving UI responsiveness for UI Search patterns. Download | Documentation
Validation: Guidance for improving responsiveness for UI validation. Download | Documentation
安装环境
Web Client Software Factory安装除了需要.NET Framework 3.5和Visual Studio 2008之外,还需要安装GAX/GAT的最新版本Guidance Automation Extensions - February 2008 Release,可以从这里下载。
下载
你可以下载如下几个部分:
Web Client Software Factory - February 2008
Web Client Software Factory Source Code - February 2008
Web Client Software Factory Source Code for Application Blocks - February 2008
开始学习
在07年的11月份,我也写过几篇关于Web Client Software Factory的文章,是针对v1.1的,大家可以参考一下:
1.Web Client Software Factory系列(1):初识与预备知识
2.Web Client Software Factory系列(2):Composite Web应用程序块
3.Web Client Software Factory系列(3):View-Presenter模式
4.Web Client Software Factory系列(4):数据绑定和ObjectContainerDataSource控件