Professional UML with Visual Studio .NET: Unmasking Visio for Enterprise Architects / Edition 1

Professional UML with Visual Studio .NET: Unmasking Visio for Enterprise Architects / Edition 1

ISBN-10:
1861007957
ISBN-13:
9781861007957
Pub. Date:
12/20/2002
Publisher:
Wrox Press, Inc.

Paperback - Rent for

Select a Purchase Option
  • purchase options

Temporarily Out of Stock Online


Overview

Professional UML with Visual Studio .NET: Unmasking Visio for Enterprise Architects / Edition 1

If you want to use Visio for Enterprise Architects to quickly design and create enterprise software, this is the book for you. The integration of Visual Studio .NET Enterprise Architect and Visio for Enterprise Architects is a formidable combination. Visio offers powerful diagramming capabilities, including such things as creating UML models, mapping out and generating databases, and aiding the development of distributed systems. Visio's integration with Visual Studio .NET Enterprise Architect means that C# or Visual Basic .NET code can be generated from UML diagrams, thus giving your projects a significant kick-start, and Visual Studio .NET projects can also be reverse engineered to UML models. It is this book that will finally help you to realize Visio's time- and labor-saving features, and unleash Visio's power for your enterprise development.

Product Details

ISBN-13: 9781861007957
Publisher: Wrox Press, Inc.
Publication date: 12/20/2002
Series: Professional Ser.
Pages: 368
Product dimensions: 7.20(w) x 8.98(h) x 0.97(d)

Table of Contents

Introduction1
What Does This Book Cover?2
Who Is This Book For?3
What You Need to Use This Book3
Conventions3
Customer Support4
How to Download the Sample Code for the Book4
Errata4
E-Mail Support5
p2p.wrox.com5
Chapter 1Review of UML9
What is the Unified Modeling Language?9
A Brief History of UML11
End-to-End UML Modeling12
UML Essential Notation and Core Concepts13
Fitting the Pieces into the UML Jigsaw24
UML Modeling Tools26
Process Essentials27
(Rational) Unified Process27
Microsoft Solutions Framework30
Summary31
Modeling Summary31
Process Summary32
Chapter 2A Tour of Visio35
Visio Background35
Beginning Visio--A Simple Diagram36
The Visio Environment36
Common Visio Software Diagrams47
Creating COM and OLE Diagrams49
Creating Data Flow Diagrams52
Creating Enterprise Applications55
Windows Interface Diagrams56
Creating Database Model Diagrams66
Summary71
Chapter 3Diagramming Business Objects73
What is a Business Object?74
Object Modeling Compared to Data Modeling74
Modeling Attributes and Behavior75
Building Monolithic Applications75
Building Component-Based Applications76
Benefits of using Business Objects76
Flexibility--Write Once, Reuse Everywhere76
Data-Access Flexibility--Write Once, Change Once77
Normalizing Application Logic--Write Once, Period!77
Where's the Code?--Write It and Find It77
Designing Complex Software77
Designing a Component-based Application78
Business and Data-Access Base Classes78
Creating Namespace Packages79
Creating an Abstract Data-Access Class80
Creating a Class (Static Structure) Diagram81
Adding Operations to the Class82
Specifying Operation Parameters86
Marking an Operation as Abstract89
Adding .NET Base Classes to the Model90
Adding the SaveDataSet Operation91
Creating Concrete Subclasses93
Creating a Business Object Base Class95
Use Cases for a Simple Library System103
Modeling the Check Out Media Use Case105
Deriving Classes from Use Cases105
Thinking about Data106
Creating a Sequence Diagram107
Changing the Drawing Page Orientation108
Adding Use Case Text to the Sequence Diagram108
Adding the Actor and UI Placeholder110
Adding Messages Between Objects114
Creating Business Object Classes116
Adding the Borrower Object to the Sequence Diagram118
Adding a Message Call to the Borrower Object119
Resizing the Activation Shapes121
Retrieving Checked-Out Media122
Calculating Fines124
Displaying the Borrower Information125
Checking Out Media127
Tweaking the Sequence Diagram129
Summary130
Chapter 4Generating Code from the Visio Model133
Overview of Code Generation133
Code Generation in Visio134
The Employee Class135
Generating Code148
Checking Errors152
Code Generation in Different Languages153
Code Templates154
Using Templates155
XML Comments and Code Templates162
Enhancing the Model167
Mapping Associations167
Creating a Collection169
Creating an Indexer169
Creating Events and Delegates170
Overriding Methods171
Summary171
Chapter 5Reverse Engineering175
Why Reverse Engineer?175
Reverse Engineering from Source Code176
Reverse Engineering QuickStart176
Key Features and Limitations of Reverse Engineering178
Reverse Engineering Example182
Code-to-UML Mapping Examples185
Generalization (or Inheritance)185
Associations and Attributes187
Operations and Properties189
Primitive and Value Types192
Reverse Engineering, No Source Code Required193
Running the RE.NET Lite Reverse Engineer194
RE.NET Lite Internals198
RE.NET Lite Limitations203
Summary203
Chapter 6Documenting the Project207
The Typical Software Development Lifecycle208
Requirements Development209
Architecture or High-Level Design210
Detailed Design210
Coding/Implementation210
Testing/Quality Assurance210
Rollout211
Support/Maintenance211
Role of UML and Visio in the Project211
UML as Documentation211
Requirements Development Documentation212
Architecture Documentation218
Using Class Diagrams218
Using Activity Diagrams219
Using Component Diagrams221
Detailed Design Documentation222
Using Detailed Class Diagrams222
Using Sequence Diagrams224
Coding and Implementation Documentation225
Requirements Documentation for Coding226
Architecture Documents for Coding226
Testing and Quality Assurance Documentation226
Using Visio Reports throughout the Project227
Static Structure Diagram Report232
Deployment Diagram Report235
Component Report236
Summary237
Chapter 7Distributed System Design239
Object-Based Distributed Systems in .NET240
Distributed Systems and Local Systems240
.NET Infrastructure for Distributed Systems243
.NET Remoting243
ASP .NET Versus .NET Remoting246
Preparation Work in Visio247
Custom UML Stereotypes for .NET Distributed Systems248
Package and Deploy the Bank Application252
System Requirements253
Summary267
Chapter 8Database Modeling with Visio for Enterprise Architects269
Design Process Overview270
Database Modeling270
Object Role Modeling (ORM)271
What is ORM?271
Visio Data Projects276
Step 2--Drawing the Fact Types278
Step 3 of the CSDP284
Constraints285
Steps 4 to 7 of the CSDP290
Creating the Conceptual, Logical, and Physical Database296
Building the Logical Model302
Reverse Engineering the Database314
Reverse Engineering an ER diagram315
Reverse Engineering an ORM Diagram324
Summary327
Index329
A Guide to the Index329

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews