Docsity

Seminal Object-Oriented Methodologies-Software Development Methodologies- Lecture 4 Slides-Computer Engineering, Slides of Software Development Methodologies

Partial preview of the text

Download Seminal Object-Oriented Methodologies-Software Development Methodologies- Lecture 4 Slides-Computer Engineering and more Slides Software Development Methodologies in PDF only on Docsity!

Software Development Methodologies Lecturer:

Raman Ramsin

Lecture 4 Seminal Object-Oriented Methodologies:A Feature-Focused Review (Part 2) 1 Sharif University of Technology

Software Development Methodologies – Lecture 4

Object-Oriented Software Engineering (OOSE)

j

g

g (

„ First introduced by Jacobson et al. in 1992 „

A

simplified version of Jacobson’s

Objectory

methodology, first introduced in 1987 and later themethodology, first introduced in 1987 and later theproperty of Rational Corporation (now acquired byIBM)IBM) Covers the full generic lifecycle „ Covers the full generic lifecycle 2 Sharif University of Technology

Software Development Methodologies – Lecture 4 OOSE: Process 4 Sharif University of Technology [Jacobson et al. 1992]

Software Development Methodologies – Lecture 4 OOSE: Analysis – Requirements Analysis y q y „ A im: Specify and model the functionality required of the p y y q system, typical means and forms of interacting with the system, and the structure of the problem domain. „ The model to be developed is the Requirements Model, further divided into three submodels:divided into three submodels:

A Use Case Model: which delimits the system and describes the f i^ l^ i^ f h ’^ i functional requirements from the user’s perspective.

A Domain Object Model: consists of objects representing entities derived from the problem domain, and their inheritance, aggregation and association relationships.

Interface Descriptions: provide detailed logical specifications of theuser interface and interfaces with other systems. 5 Sharif University of Technology y

Software Development Methodologies – Lecture 4 OOSE: Analysis - Requirements Model y q Domain Object ModelDomain Object Model 7 Sharif University of Technology [Jacobson et al. 1992]

Software Development Methodologies – Lecture 4 OOSE: Analysis – Robustness Analysis y y „ Aim: Map the Requirements Model to a logical configuration of the system that is robust and adaptable to change. y p g „ The model to be developed is the Analysis Model:

Shows how the functionality of each and every use case is realized by

Shows how the functionality of each and every use case is realized by collaboration among typed objects (called Analysis Objects).

Shows the subsystems of the system. „ Analysis Objects can be of three types:

Entity: Represent entities with persistent state, typically outliving the usecases they help realize. They are usually derived from the domain object y p y y j model.

Interface: Represent entities that manage transactions between the systemand the actors in the outside world.

Control: Represent functionality not inherently belonging to other types of

Control: Represent functionality not inherently belonging to other types ofobjects. They typically act as controllers or coordinators of the processinggoing on in the use cases. 8 Sharif University of Technology

Software Development Methodologies – Lecture 4 OOSE: Construction - Design g „ Aim: Refine the

Analysis Model by taking into account

implementation features. „ The model to be developed is the

Design Model:

describes the features of the implementation environment

describes the details of the design classes (referred to as

describes the details of the design classes (referred to asblocks) necessary to implement the system

describes the way run-time objects should behave and

describes the way run time objects should behave andinteract in order to realize the use cases 10 Sharif University of Technology

Software Development Methodologies – Lecture 4 OOSE: Construction - Design g „ Three Subphases:

Determination of the features of the implementation environment(DBMS, programming language features, distribution considerations,…) , )

Definition of blocks (design classes) and their structure: Each object in the Analysis Model is mapped to a block

Each object in the Analysis Model is mapped to a block.

Implementation-specific blocks are added and the collection is revised.

Interfaces and semantics of operations are defined.

Specification of the sequences of interactions among objects and thedynamic behaviour of each block:1. An Interaction Diagram is drawn for each of the use cases.

A State Transition Graph is used for describing the behaviour of each block. 11 Sharif University of Technology

Software Development Methodologies – Lecture 4 OOSE: Construction - Implementation p „ Aim: Produce the code from the specifications of thepackages and blocks defined in the design model.p g g „ The model to be developed is the

Implementation

„ The model to be developed is the

Implementation

Model, which consists of the actual source code andaccompanying documentationaccompanying documentation.

13 Sharif University of Technology

Software Development Methodologies – Lecture 4 OOSE: Testing g „ Aim: Verify and validate the implementation model „ The model to be developed is the Testing Model, which i l i t f mainly consists of:

Test plan

Test specifications

Test specifications

Test results. „ Testing is done at three levels, starting from the lowestlevel:

blocks are tested first

Use cases are tested next

Finally tests are performed on the whole system 14 Sharif University of Technology

Finally , tests are performed on the whole system

Software Development Methodologies – Lecture 4

Business Object Notation (BON)

j

Fi t i t d d b N i 1992 ti l with the „ Fi rst introduced by Nerson in a 1992 article, with the acronym standing for “ Better Object Notation” „ A revised and detailed version of the methodology wasput forward in 1995; this time the acronym stood for“ Business Object Notation” “ Business Object Notation”. „ The process spans the analysis and design phases of the „ The process spans the analysis and design phases of thegeneric software development lifecycle. „ Deeply influenced by Eiffel’s assertion mechanisms andthe notion of Design by Contract 16 Sharif University of Technology

Software Development Methodologies – Lecture 4 BON: Process „ Consists of nine steps, or tasks. „ Tasks 1-6 focus on analysis and tasks 7-9 deal with design. 17 Sharif University of Technology [Walden and Nerson 1995]

Software Development Methodologies – Lecture 4 BON: Products 19 Sharif University of Technology [Walden and Nerson 1995]

Software Development Methodologies – Lecture 4 BON: Products 20 Sharif University of Technology [Walden and Nerson 1995]