Chapter 14

Top-Down Design with Use Case, Activity, Sequence, Component, and Class Diagrams

What's in this chapter?

  • Creating and using use case and activity diagrams
  • Creating and using sequence and component diagrams
  • Generating code from a class diagram

Wrox.com Code Download for this Chapter

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118314081 on the Download Code tab. The files are in the Chapter 14 download folder and individually named as shown throughout this chapter.

Chapter 13 introduced you to architecture and modeling in the software space, and hinted at all the architectural goodness available in Visual Studio Ultimate 2012. This chapter dives deeper into several aspects of that, looking at use case, activity, sequence, component, and class diagrams.

One advantage of modeling tools is that they enable you to design the architecture of the application. Part of that design process is defining common terms around the problem domain, and then ensuring that everyone on the team understands those concepts. Using the use case, activity, and sequence diagrams, you can model your application, while ensuring that everyone on the team understands exactly what is being built.

This chapter is divided into five main sections:

  • Use Case Diagrams
  • Activity Diagrams
  • Sequence Diagrams
  • Component Diagrams
  • Class Diagrams

Each section begins with a walkthrough of how to build a diagram, as well as a diagram explanation. After that, the discussion ...

Get Professional Application Lifecycle Management with Visual Studio 2012 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.