Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 435 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
435
Dung lượng
7,36 MB
Nội dung
[...]... 2: Designing the Layered Architecture The Problem The Design Designing the Visual Studio Solution Designing the Architectural Layers The Solution Implementing the Visual Studio Solution Implementing the Architectural Layers Summary ftoc.indd ix xv xvii 1 1 4 4 5 5 5 5 5 5 5 6 6 7 9 11 11 11 13 13 13 13 14 18 19 19 53 3/20/08 2:05:43 PM Contents Chapter 3: Managing Projects The Problem The Design Designing... The Problem The Design 265 266 Designing the Domain Model Designing the Change Order Aggregate Defining the Aggregate Boundaries Designing the Repository Writing the Unit Tests The Solution The The The The Change Change Change Change 271 Order Order Order Order Repository Implementation Service Implementation View Model Class View Summary The Problem The Design 295 295 295 Designing the Domain Model Designing... Synchronizing With the Server The Problem The Design Redesigning the Unit of Work Designing the Synchronization Writing the Unit Tests 300 307 313 314 324 325 327 327 327 328 330 331 xii ftoc.indd xii 3/20/08 2:05:44 PM Contents The Solution Unit of Work Refactoring Synchronizing with the Synchronizer Class Summary Chapter 11: The Client Membership System The Problem The Design Password Security Designing... the Aggregate Boundaries Designing the Repository Writing the Unit Tests The Solution The The The The Submittal Submittal Submittal Submittal 164 Repository Implementation Service Implementation View Model View Summary The Problem The Design Designing the Domain Model Defining the RFI Aggregate Defining the Aggregate Boundaries Designing the Repository Writing the Unit Tests The Solution RFI RFI RFI RFI... Administration application architecture Recently, Smart Design merged with another architectural design company, and as a result the CA application became even more important It is now being used more often than before by many more users from several remote offices The increased use has caused scalability and performance problems with the application The problemwith the Access application is that it has so... application that is being built, followed by a summary at the end of the chapter Most of the time, the Problem sections are fairly short, whereas the Design and Solution sections make up most of the bulk of the chapters The Solution section will always contain the code that implements what was designed in the Design section What You Need to Use This Book You will need Visual Studio 2008 (which includes the... RFI Repository Implementation Service Implementation ViewModel Classes View Summary Chapter 7: Proposal Requests The Problem The Design Designing the Domain Model Designing the Proposal Request Aggregate Defining the Aggregate Boundaries Designing the Repository Writing the Unit Tests The Solution The The The The The The The Proposal Request Class Private Fields and Constructors ProposalRequest Properties... 2:57:30 PM Introduction After reading Eric Evans’ book Domain-Driven Design, Tackling Complexity in the Heart of Software, my way of designing software systems completely changed Before that, I used to design software object models in a very data-centric way, and I did not really focus on how to combine behavior and data in objects I was so inspired with this new way of thinking that I started trying... along came Jimmy Nilsson’s book Applying Domain-DrivenDesign and Patterns, and it was then that I started to see a lot more of the patterns that could be used in conjunction with the DDD concepts Jimmy tied together some of the concepts from Martin Fowler ’s excellent book Patterns of Enterprise Application Architecture and showed how they could help with good DDD design principles Jimmy also did a great... this chapter, I demonstrate the power of combining interfaces with Generics Chapter 10, “Synchronizing with the Server” — In this chapter, I design and implement how to synchronize the client’s offline data with the server I show how to store transaction messages on the client, and also show how to synchronize those messages on the client with the messages on the server I also show how to make sure . AM .NET Domain-Driven Design with C# Problem – Design – Solution Tim McCarthy Wiley Publishing, Inc. ffirs.indd iiiffirs.indd iii 4/14/08 10:39:48 AM4/14/08 10:39:48 AM .NET Domain-Driven Design.