How This Book Is Structured
本书结构
This book covers the thought process behind the CSLA .NET for Windows version 3.6 architecture. It
describes the construction of the framework that supports the architecture, and it demonstrates how
to create WPF, Web Forms, and WCF service applications based on business objects written using
the framework.
本书介绍了CSLA背后的思考过程。为Windows 3.6版的架构教师。它描述了框架,支持建筑施工,并演示了如何创建WPF中,Web窗体和WCF服务的基础上编写使用框架的业务对象的应用程序。
If you are reading this book to understand the process of designing and constructing a development
framework for the .NET platform, then you should read all chapters. If you are reading this book to
understand how to use the CSLA .NET framework and are less interested in how the framework itself
is designed and implemented, then you should read Chapters 1 through 5 and Chapters 17 through 21.
如果你读这本书了解设计和建设的。NET平台开发框架的过程中,你应该阅读所有章节。如果你读这本书以了解如何使用CSLA。NET框架,并在如何减少框架本身的设计和实施感兴趣,那么你应该阅读5和第17章至21章1。
Chapter 1 introduces some of the concepts surrounding distributed architectures, including
logical and physical architectures, business objects, and distributed objects. Perhaps more importantly,
this chapter sets the stage, showing the thought process that results in the remainder of the book.
Chapter 2 takes the architecture described at the end of Chapter 1 and uses it as the starting
point for a code framework that enables the goals described earlier. By the end of the chapter, you’ll
have seen the design process for the objects that will be implemented in Chapters 6 through 16; but
before that, there’s some other business to attend to.
第1章介绍了周围的分布式体系结构,包括逻辑和物理架构,业务对象的一些概念和分布式对象。也许更重要的是,本章规定的阶段,表现出思维过程会导致本书的其余部分。
第二章发生在第1章结尾部分介绍的结构和使用它作为一种规范框架,使目标起点如前所述。通过本章的最后,您将看到的将在第6章实施的16个对象,通过设计过程中,但在此之前,还有一些其它的事情要做。
In Chapter 3, I discuss the basics of responsibility-driven object-oriented design. As an example,
this chapter lays out the requirements and design for a sample application.
Chapters 4 and 5 discuss how to use each of the primary base classes in the CSLA .NET framework
to create your own business objects. I discuss in detail the object-oriented stereotypes supported
by the CSLA .NET base classes, along with the code structure for editable and read-only objects, and
collections and name/value lists.
在第3章,我的责任讨论的基础知识驱动的面向对象的设计。作为一个例子,本章规定了一个示例应用程序要求和设计。
4和第5章讨论如何使用在CSLA的主要基地每个类。NET框架创建自己的业务对象。本人详细讨论面向对象的CSLA支持的成见。NET中的基类,以及与编辑和只读对象的代码结构,集合和名称/值列表。
Chapters 6 through 16 are all about the construction of the CSLA .NET framework itself. If you’re
interested in the code behind property declarations, validation rules, authorization rules, n-level
undo, mobile object support, and object persistence, then these are the chapters for you. In addition,
xxx ■IN TRODUCTION
they make use of some of the more advanced and interesting parts of the .NET Framework, including
data binding, serialization, reflection, dynamic method invocation, WCF, .NET security,
Services, System.Transactions, strongly named assemblies, dynamically loaded assemblies, application
configuration files, and more.
16第6章通过即将对CSLA建设的。NET框架本身。如果您感兴趣,财产申报后,验证规则,授权规则,正级撤消代码,移动物体的支持和对象持久化,那么这些都是你的章节。此外,在TRODUCTION三十■他们利用的。NET框架,包括数据绑定,系列化,反映了更先进的部件和一些有趣的使用,动态方法调用,周转基金。NET安全性,企业服务,System.Transactions的,强命名程序集,动态加载的组件,应用程序配置文件等。
Chapters 17 and 18 create the business objects for the application. These chapters illustrate how
you can use the framework to create a powerful set of business objects rapidly and easily for an application.
The end result is a set of objects that not only model business responsibilities, but also support
data binding, validation, authorization, n-level undo, and various physical configurations that can
optimize performance, scalability, security, and fault tolerance, as discussed in Chapter 1.
Chapter 19 demonstrates how to create a WPF interface to the business objects. Chapter 20 covers
the creation of an ASP.NET Web Forms interface with comparable functionality.
Chapter 21 shows how to build WCF services using business objects. This approach enables
service-oriented development by providing a programmatic interface to the business objects that
any web service or WCF client can call.
17和18章创建应用程序的业务对象。这些章节说明如何使用该框架建立的一套功能强大的业务对象迅速,并在申请容易。最终的结果是一组对象,不仅模型的业务职责,而且还支持数据绑定,验证,授权,ñ级撤销,以及各种物理配置,可以优化性能,可扩展性,安全性和容错性,如在第一章中讨论。
第19章演示如何创建一个WPF接口业务对象。第20章涵盖了一个ASP.NET Web窗体具有同等功能的界面创建。
第21章说明如何建立使用WCF服务的业务对象。这种方法通过提供一个编程接口的业务对象,任何Web服务或WCF客户端可以调用面向服务的开发。
By the end, you’ll have a framework that supports object-oriented application design in a practical,
pragmatic manner. The framework implements a logical model that you can deploy in various
physical configurations to optimally support Windows, web, and XML service clients.
到最后,您将有一个实际,务实的态度,一种框架,支持面向对象的程序设计。该框架实现了一个逻辑模型,您可以在不同的物理配置部署到最佳支持Windows,Web和XML服务客户。