Mapping Designs to Code - PowerPoint PPT Presentation

About This Presentation
Title:

Mapping Designs to Code

Description:

Mapping Designs to Code Larman, Chapter 20 CSE432 Object Oriented Software Engineering OO development is iterative OOA/D artifacts feed into implementation model in a ... – PowerPoint PPT presentation

Number of Views:580
Avg rating:3.0/5.0
Slides: 9
Provided by: GlennD70
Category:
Tags: code | designs | mapping | visio

less

Transcript and Presenter's Notes

Title: Mapping Designs to Code


1
Mapping Designs to Code
  • Larman, Chapter 20
  • CSE432
  • Object Oriented Software Engineering

2
OO development is iterative
  • OOA/D artifacts feed into implementation model in
    a traceable manner
  • Some tools generate partial code from UML
  • But programming not trivial generation!
  • Programmers make changes as the work out the
    details
  • Therefore, Expect and plan for change and
    deviation from design during programming

3
Mapping Designs to Code
  • Write source code for
  • Class and interface definitions
  • Method definitions
  • Work from OOA/D artifacts
  • Create class definitions for Domain Class
    Diagrams (DCDs)
  • Create methods from Interaction diagrams

4
From DCD to Java class
Fig. 20.1
5
From Interaction diagram to method
Fig. 20.4
6
Collection classes
What collection class has been added to the
design and why?
Fig. 20.5
7
Exception handling
  • Why is it wise to consider large-scale exception
    handling strategies during design modeling?
  • In UML, exceptions can be inserted as property
    strings of messages

8
Why implement from least-coupled to most-coupled?
Fig. 20.7
Write a Comment
User Comments (0)
About PowerShow.com