Model Driven Development with Ada q Edmund Mayer


















- Slides: 18
Model Driven Development with Ada q Edmund Mayer q I-Logix, Inc. q 17 November 2004 SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
2 Document Driven Approach Requirements Capture & Analysis System Acceptance Requirements Document Systems Analysis & Design (Sub-)System Integration & Test HW/SW Design Document . exe. doc Module Integration & Test SW Design Specification . exe. doc SW Implementation & Unit Test SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
3 Model Driven Approach SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
UML Execution on Host and Target SIGAda 2004 – Model Driven Development with Ada www. ilogix. com 4
5 UML 2. 0 Diagrams Structure Diagrams Package Diagrams Class Diagrams Activity Diagrams State Machine Diagrams Object Diagrams Behavioral Diagrams Structural Diagrams Deployment Diagrams Use Case Diagrams Interaction Diagrams Timing Diagrams Component Diagrams Communication Diagrams Interaction Diagrams Sequence Diagrams SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
6 Use Case Diagram This diagram shows what the system does and who uses it. SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
Detailing Use Cases: Activity Diagram Starting Point Activity Swimlane Ending Point Used to describe behaviour for operations, classes or use cases. As soon as one activity finishes the next one starts. SIGAda 2004 – Model Driven Development with Ada www. ilogix. com 7
8 Sequence Diagrams show instances communicate over time. SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
9 Class and Object Diagrams Provide a structural view of the system SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
10 State Machine Diagram Trigger Exit action Entry action State machines are used when we need to wait until something happens before going to a different state. SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
11 Structure Diagram This diagram shows the internal structure of classes. SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
12 Deployment Diagram SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
13 One Model, Many Views A Sequence Diagram A Class Diagram Another Class Diagram A Use Case Diagram Code Gen Source Code Roundtrip An Activity Diagram A State Machine A Deployment Diagram Modeling Tool Browser SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
Code Generation from Model 14 Source. Code SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
Mapping Model to Code using Rules UML meta-types Script categories for selected type Source code preview Script content Scripts for selected type SIGAda 2004 – Model Driven Development with Ada www. ilogix. com 15
16 Platform Independent Modeling q A virtual machine or execution framework abstracts the platform, and is defined as a set of parts and services (communications, scheduling, naming, etc. ), which are defined independently of any specific platform and which are realized in platform-specific ways on different platforms Platform Independent Model External Code Virtual Machine Platform (Hardware, Operating System) Generated Code Object Execution Framework Platform (Hardware, Operating System) SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
Reusing Legacy Code 17 Legacy Code SIGAda 2004 – Model Driven Development with Ada www. ilogix. com
end Model_Driven_Development_with_Ada; SIGAda 2004 – Model Driven Development with Ada www. ilogix. com