Download presentation
Presentation is loading. Please wait.
Published byTheresa Carter Modified over 9 years ago
1
Principles of Object Technology Module 1: Principles of Modeling
2
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 2 Objectives: Principles of Modeling Understand the importance of visual modeling. Define the four principles of visual modeling. Explain what the Unified Modeling Language (UML) represents. Define the type process that best relates to the UML. Understand the structure of the Rational Unified Process (RUP).
3
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 3 Where Are We? What is modeling? Four principles of visual modeling The UML Process and visual modeling The Rational Unified Process (RUP)
4
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 4 The Importance of Modeling Paper Airplane F-15 Fighter Jet Less ImportantMore Important
5
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 5 Software Teams Often Do Not Model Many software teams build F-15 fighter jets approaching the problem like they were building paper airplanes. Start coding from project requirements Work longer hours and create more code Lack of any planned architecture Most of these projects fail A common thread to successful projects is modeling.
6
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 6 What Is a Model? A model is a simplification of reality.
7
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 7 Why Do We Model? We build models to better understand the system we are developing. Modeling achieves four aims. Modeling Helps us to visualize a system as we want it to be. Permits us to specify the structure or behavior of a system. Gives us a template that guides us in constructing a system. Documents the decisions we have made. We build models of complex systems because we cannot comprehend such a system in its entirety.
8
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 8 Where Are We? What is modeling? Four principles of visual modeling The UML Process and visual modeling The Rational Unified Process (RUP)
9
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 9 Four Principles of Modeling The model you create influences how the problem is attacked. Every model may be expressed at different levels of precision. The best models are connected to reality. No single model is sufficient.
10
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 10 Principle 1: The Choice of Model Is Important The models you create profoundly influence how a problem is attacked and how a solution is shaped. In software, the models you choose greatly affect your world view. Each world view leads to a different kind of system. Deployment Diagram Process Model Design Model
11
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 11 Principle 2: Levels of Precision May Differ Every model may be expressed at different levels of precision. The best kinds of models are those that let you choose your degree of detail, depending on who is doing the viewing and why they need to view it.
12
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 12 Principle 3: The Best Models Are Connected to Reality The best models are connected to reality. All models simplify reality. A good model will reflect potentially fatal characteristics.
13
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 13 Principle 4: No Single Model Is Sufficient No single model is sufficient. Every nontrivial system is best approached through a small set of nearly independent models. Create models that can be built and studied separately, but that are still interrelated.
14
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 14 Where Are We? What is modeling? Four principles of visual modeling The UML Process and visual modeling The Rational Unified Process (RUP)
15
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 15 What Is the UML? The UML is a language for Visualizing Specifying Constructing Documenting the artifacts of a software-intensive system.
16
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 16 The UML Is a Language for Visualizing Communicating conceptual models to others is prone to error unless everyone involved speaks the same language. There are things about a software system you can’t understand unless you build models. An explicit model facilitates communication.
17
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 17 The UML Is a Language for Specifying The UML allows the building of models that are precise, unambiguous, and complete.
18
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 18 The UML Is a Language for Constructing UML models can be directly connected to a variety of programming languages. Maps to Java, C++, Visual Basic, and so on Tables in a RDBMS or persistent store in an OODBMS Permits forward engineering Permits reverse engineering
19
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 19 The UML Is a Language for Documenting The UML addresses documentation of system architecture, requirements, tests, project planning, and release management.
20
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 20 History of the UML
21
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 21 Inputs to the UML Fusion Operation descriptions, Message numbering Fusion Operation descriptions, Message numbering Meyer Before and after conditions Meyer Before and after conditions Harel State charts Harel State charts Wirfs-Brock Responsibilities Wirfs-Brock Responsibilities Embley Singleton classes, High-level view Embley Singleton classes, High-level view Odell Classification Odell Classification Shlaer-Mellor Object Lifecycles Shlaer-Mellor Object Lifecycles Gamma, et.al Frameworks, patterns, notes Gamma, et.al Frameworks, patterns, notes Booch Rumbaugh Jacobson
22
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 22 Where Are We? What is modeling? Four principles of visual modeling The UML Process and visual modeling The Rational Unified Process (RUP)
23
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 23 A Language Is Not Enough to Build a System
24
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 24 What Type of Process Most Benefits the UML? The UML is largely process independent. However, to get the most benefit from the UML, you should consider a process that is Use-case driven. Architecture-centric. Iterative and incremental.
25
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 25 A Use-Case Driven Process Use cases defined for a system are the basis for the entire development process. Benefits Use cases are concise, simple, and understandable by a wide range of stakeholders. Use cases help synchronize the content of different models. Withdraw Money Customer Check Balance
26
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 26 An Architecture-Centric Process A system’s architecture is used as a primary artifact for conceptualizing, constructing, managing, and evolving the system under development. Benefits You gain and retain intellectual control over a project to manage its complexity and to maintain system integrity. It provides an effective basis for large-scale reuse. It provides a basis for project management. It helps with component-based development.
27
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 27 An Iterative and Incremental Process Critical risks are resolved before making large investments. Initial iterations enable early user feedback. Testing and integration are continuous. Objective milestones focus on the short term. Progress is measured by assessing implementations. Partial implementations can be deployed.
28
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 28 Iterative and Incremental Development Earliest iterations address greatest risks. Each iteration produces an executable release, an additional increment of the system. Each iteration includes integration and test. T I M E Iteration 1Iteration 2Iteration 3 I C D R T I C D R T I C D R T
29
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 29 Where Are We? What is modeling? Four principles of visual modeling The UML Process and visual modeling The Rational Unified Process (RUP)
30
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 30 Introducing the Rational Unified Process (RUP) The Rational Unified Process is Use-case driven. Architecture-centric. Iterative and incremental.
31
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 31 Process Structure: Lifecycle Phases The Rational Unified Process has four phases Inception - Define the scope of project. Elaboration - Plan project, specify features, baseline architecture. Construction - Build the product. Transition - Transition the product to end user. Inception Elaboration Construction Transition time
32
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 32 Phase Boundaries Mark Major Milestones Inception Elaboration Construction Transition Inception Elaboration Construction Transition Lifecycle Objective Milestone Lifecycle Architecture Milestone Initial Operational Capability Milestone Product Release Lifecycle Objective Milestone Lifecycle Architecture Milestone Initial Operational Capability Milestone Product Release time
33
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 33 Iterations and Phases An iteration is a distinct sequence of activities based on an established plan and evaluation criteria, resulting in an executable release (internal or external).
34
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 34 Bringing It All Together: The Iterative Approach Project Management Environment Business Modeling Implementation Test Analysis & Design Preliminary Iteration(s) Iter. #1 Phases Process Workflows Iterations Iter. #2 Iter. #n Iter. #n+1 Iter. #n+2 Iter. #m Iter. #m+1 Deployment Configuration & Change Mgmt Requirements ElaborationTransitionInceptionConstruction Workflows group activities logically In an iteration, you walk through all workflows
35
Principles of Object Technology, v1.0 Copyright © 2000 Rational Software, all rights reserved 35 Checkpoints What is a model? What are the four principles of modeling? Describe each one. What is the UML? Describe each of its four benefits. What process characteristics best fit the UML? Describe each characteristic. What are the four phases of the Rational Unified Process? Describe each one. What is an iteration? What is a phase?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.