Download Agile Methodologies FDD-Software Development Methodologies and more Slides Software Development Methodologies in PDF only on Docsity!
Software Development Methodologies Lecturer:
Raman Ramsin
Lecture 13 Agile Methodologies: FDD
1
Sharif University of Technology
Software Development Methodologies – Lecture 13
Feature
-Driven Development (FDD)
Feature Driven Development (FDD)
I t
d^
d b
D
L^
d C
d i
i i
ll^
t il
d
1.^
Introduced by De Luca and Coad in 1999, originally as a tailoredcomplement to the “Object Modeling in Color” technique.
2.^
A revised version was published by Palmer and Felsing in 2002, which had
p^
y^
g^
been completely decoupled from “Modeling in Color”, and was generalenough to be considered an independent methodology.
3
Based on expressing and realizing the requirements in terms of small user-
3.^
Based on expressing and realizing the requirements in terms of small user-valued pieces of functionality called
Features.
4.^
Not a full-lifecycle methodology:
1.^
Starts when feasibility study and overall project planning have already beendone, a business case has been established, and permission has been grantedby the sponsors to go on with the development.
2.^
Excludes post-implementation activities such as system-wide verification andvalidation, and the ultimate system deployment and maintenance.
2
Sharif University of Technology
Software Development Methodologies – Lecture 13
FDD: Feature SetsFDD:
Feature Sets
1.^
Each feature is identified as a
Step in one or more
Activities (also called
Feature
S t )
hi h
d^
f^
i^
t^
th
l t
l t
Sets), which are expressed as conforming to the general template:
<-ing> a(n)
for example:
“reserving a seat”
p
g
2.^
Activities in turn belong to
Areas (or
Major Feature Sets) which are expressed using
the general template:
g^
p
for example:
“reservations management”
^
The three-layered architecture of Areas-Activities-Steps allows the developers toadequately manage the complexity of the requirements.
^
Features can also be partitioned according to the architectural layer to whichthey belong.
4
Sharif University of Technology
Software Development Methodologies – Lecture 13
FDD: Proposed System ArchitectureFDD:
Proposed System Architecture
5
Sharif University of Technology
[Palmer and Felsing 2002]
Software Development Methodologies – Lecture 13
FDD: Sequential SubprocessesFDD:
Sequential Subprocesses
Develop an Overall Model:
building a mainly structural
model of the problem domain called the Object Model.
Build a Features List:
identifying the required functionality of
Build a Features List:
identifying
the required functionality of
the system, expressed as features and feature sets.
Plan by Feature:
scheduling the features for development,
and assigning the feature sets (activities)
and the classes in
and assigning the feature sets (activities), and the classes inthe object model, to developers.
7
Sharif University of Technology
Software Development Methodologies – Lecture 13
FDD Process: Sequential SubprocessesFDD
Process: Sequential Subprocesses
[Develop an Overall Model]
[Build a Features List]
[Plan by Feature]
Department of Computer Engineering
8
Sharif University of Technology
[Palmer and Felsing 2002]
Software Development Methodologies – Lecture 13
FDD Process: Iterative SubprocessesFDD
Process: Iterative Subprocesses
[Design by Feature]
[Build by Feature]
10
Sharif University of Technology
[Palmer and Felsing 2002]
Software Development Methodologies – Lecture 13
FDD Process: Surrounding ActivitiesFDD
Process: Surrounding Activities
11
Sharif University of Technology
[Palmer and Felsing 2002]
Software Development Methodologies – Lecture 13
FDD Process: Build a Features ListFDD
Process: Build a Features List
Form the Features
-List Team
which consists of the Project Manager and the
1. Form the Features List Team, which consists of the Project Manager and the
Chief Programmers participating in the modeling team.
2. Build the Features List, which is a three-layered hierarchical list with the
following structure:following structure:
A list of
areas (major feature sets).
For each area
a list of
activities (feature sets) within that area
For each area, a list of
activities (feature sets) within that area.
For each activity, a list of features as the
steps in the activity.
The features-list is built in a top-down fashion:
Areas (high-level feature sets) are identified by carefully investigating theknowledge acquired about the problem domain
particularly the problem-
knowledge acquired about the problem domain, particularly the problemdomain areas (partitions).
Activities (low-level feature-sets) in each area, and
steps (features) in each
activity are identified by applying functional decomposition
13
Sharif University of Technology
activity
are identified by applying functional decomposition.
Software Development Methodologies – Lecture 13
FDD Process: Plan by FeatureFDD
Process: Plan by Feature
1.^
Form the Planning Team, consisting of the Project Manager, ChiefProgrammers, and a Development Manager, which is put in charge of thedevelopment effort and supervises the Chief Programmers.development effort and supervises the Chief Programmers.
2.^
Determine the development sequence by scheduling the development ofthe feature sets (activities), specifying a date for the completion of each. A
(^
p^
y^
g^
p
completion date is then determined for each area (major feature set).
3.^
Assign feature sets to Chief Programmers, thereby declaring them as theowners of the feature-sets assigned to them.
4.^
Assign classes to developers, thereby declaring them as Class Owners.
14
Sharif University of Technology
Software Development Methodologies – Lecture 13
FDD Process: Design by FeatureFDD
Process: Design by Feature
1.^
Form a Features Team: the Chief Programmer brings together the owners ofthe classes that might be involved in the realization of the selected featuresthe classes that might be involved in the realization of the selected features.
2.^
Conduct a domain walkthrough (if at all necessary).
3
Study the referenced documents
(if at all existent)
3.^
Study the referenced documents
(if at all existent).
4.^
Develop Sequence Diagram(s), which show how objects should interact at run-time in order to implement each of the features.
5.^
Refine the Object Model (class diagrams) so that it supports the sequencediagrams produced in the previous task.
6
Write Class- and Method-Prologues for the elements of the model
6.^
Write Class
and Method Prologues for the elements of the model.
7.^
Design inspection is performed by the features team.
8.^
A Design Package is produced, consisting of: sequence diagrams, refinements
g^
g^
p^
,^
g^
q^
g^
made to the object model, prologues, and notes on the design alternatives,constraints, and assumptions.
16
Sharif University of Technology
Software Development Methodologies – Lecture 13
FDD Process: Build by FeatureFDD
Process: Build by Feature
1.^
Implement classes and methods according to the specifications given in theDesign Package. Each of the Class Owners implements the necessary items(including the unit-testing code).(including the unit testing code).
2.^
Conduct a code inspection, either before or after the unit-test, during whichthe features team examines the code to make sure of its integrity and
g^
y
conformance to coding standards.
3.^
Unit-test the code to ensure that all classes satisfy the functionalityrequired. Class Owners perform class-level unit-tests, as well as feature-level unit-tests prescribed by the Chief Programmer.
4.^
Promote to the build, if the implemented classes are successfully inspectedand unit-tested.
17
Sharif University of Technology
Software Development Methodologies – Lecture 13 FDD: Strengths and Weaknesses^
Strengths (Contd. 1) ^
Seamlessness observed throughout the process via
feature-
b^
d^
d li
ti iti
based modeling activities
Design-based development
Continuous validationF^
t d li
i^
th
it^
ti^
t^
t
Frequent deliveries once the iterations start
Complexity management at the
features level through layering
19
Sharif University of Technology
Software Development Methodologies – Lecture 13 FDD: Strengths and Weaknesses^
Strengths (Contd. 2) ^
Continuous integration
Modeling at the problem-domain-, system-, inter-object-, andintra-object levels
Group modeling used as a technique for putting all the peopleinvolved in the overall pictureIt
ti^
d li
i^
d^
t^
h^
th
It
erative modeling in order to enhance the accuracy, completeness and consistency of the models