Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
22 views82 pages

Day02 1 Software Process

The document discusses different software process models including waterfall, incremental development, and reuse-oriented processes. It provides details on the phases and activities involved in each model. The waterfall model involves separate sequential phases from requirements to maintenance. Incremental development interleaves specification, development and validation in increments. Reuse-oriented processes focus on integrating existing components. Both benefits and limitations are described for each model.

Uploaded by

Khánh Gia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views82 pages

Day02 1 Software Process

The document discusses different software process models including waterfall, incremental development, and reuse-oriented processes. It provides details on the phases and activities involved in each model. The waterfall model involves separate sequential phases from requirements to maintenance. Incremental development interleaves specification, development and validation in increments. Reuse-oriented processes focus on integrating existing components. Both benefits and limitations are described for each model.

Uploaded by

Khánh Gia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 82

Chapter 2 – Software Processes

Lecture 1

25/09/2019 Software Processes 1


Topics covered

✧ Software process models


✧ Process activities
✧ Coping with change
✧ The Rational Unified Process
▪ An example of a modern software process.

25/09/2019 Software Processes 2


The software process

✧ Còn gọi là Vòng đời phần mềm (Software Development


life-cycle) là thời kỳ tính từ khi phần mềm được sinh ra
cho đến khi chết đi (từ lúc hình thành đáp ứng yêu cầu,
vận hành, bảo dưỡng cho đến khi loại bỏ)
✧„

25/09/2019 Software Processes 3


The software process

✧ A structured set of activities required to develop a


software system.
✧ Many different software processes but all involve:
▪ Specification – defining what the system should do;
▪ Design and implementation – defining the organization of the
system and implementing the system;
▪ Validation – checking that it does what the customer wants;
▪ Evolution – changing the system in response to changing
customer needs.
✧ A software process model is an abstract
representation of a process. It presents a description of a
process from some particular perspective[opinion].
25/09/2019 Software Processes 4
Software process descriptions

✧ When we describe and discuss processes, we usually


talk about the activities in these processes such as
specifying a data model, designing a user interface, etc.
and the ordering of these activities.
✧ Process descriptions may also include:
▪ Products, which are the outcomes of a process activity;
▪ Roles, which reflect the responsibilities of the people involved in
the process;
▪ Pre- and post-conditions, which are statements that are true
before and after a process activity has been enacted [ban-hành] or a
product produced.

25/09/2019 Software Processes 5


Plan-driven and agile[fast] processes

✧ Plan-driven processes are processes where all of the


process activities are planned in advance and progress
is measured against this plan.
✧ In agile processes, planning is incremental[gia-tăng] and it is
easier to change the process to reflect changing
customer requirements.
✧ In practice, most practical processes include elements of
both plan-driven and agile approaches.
✧ There are no right or wrong software processes.

25/09/2019 Software Processes 6


Software process models

✧ The waterfall model


▪ Plan-driven model. Separate and distinct phases of specification
and development.
✧ Incremental development
▪ Specification, development and validation are interleaved [xen-kẽ].
May be plan-driven or agile.
✧ Reuse-oriented software engineering
▪ The system is assembled[lắp-ráp] from existing components. May
be plan-driven or agile.
✧ In practice, most large systems are developed using a
process that incorporates elements from all of these
models.
25/09/2019 Software Processes 7
The waterfall model

25/09/2019 Software Processes 8


The waterfall model

25/09/2019 Software Processes 9


Waterfall model phases

✧ There are separate identified phases in the waterfall


model:
▪ Requirements analysis and definition
▪ System and software design
▪ Implementation and unit testing
▪ Integration and system testing
▪ Operation and maintenance
✧ The main drawback of the waterfall model is the difficulty
of accommodating[thích-ứng] change after the process is
underway[tiến-hành]. In principle, a phase has to be
complete before moving onto the next phase.

25/09/2019 Software Processes 10


Waterfall model problems

✧ Inflexible[ko l/hoat] partitioning of the project into distinct


stages makes it difficult to respond to changing customer
requirements.
▪ Therefore, this model is only appropriate when the requirements
are well-understood and changes will be fairly limited during the
design process.
▪ Few business systems have stable requirements.
✧ The waterfall model is mostly used for large systems
engineering projects where a system is developed at
several sites.
▪ In those circumstances[trường-hợp], the plan-driven nature of the
waterfall model helps coordinate[control] the work.

25/09/2019 Software Processes 11


Waterfall model problems

✧ Ưu điểm.
▪ Là một kiểu mô hình đơn giản, dễ áp dụng, quy trình tuần tự
theo từng bước một.
Dễ quản lý vì có tính cố định theo từng bước.
Các giai đoạn được xử lý rõ ràng và hoàn thành tại cùng thời
điểm.

25/09/2019 Software Processes 12


Waterfall model problems

✧ Nhược điểm.
▪ Độ linh động không cao, khi một công đoạn đang trong quá trình
thực hiện, mà phát hiện ra sai sót, thì sẽ phải dừng lại toàn bộ,
và trở về giai đoạn đầu tiên, để update lại tài liệu, và thực hiện
lại từ công đoạn đó.
▪ Không có sản phẩm nguyên mẫu ngay từ ban đầu, không đáp
ứng được nhu cầu dịch vụ, vừa bán vừa phát triển.
▪ Sự rủi ro cao và độ chắc chắn kém.
▪ Không thích hợp cho những dự án có độ phức tạp cao, dự án
dài hơi, dự án hướng đối tượng (vì đối tượng liên tục thay đổi
tính chất theo thời gian).

25/09/2019 Software Processes 13


Waterfall model problems

✧ Khi nào áp dụng Waterfall


▪ Áp dụng Waterfall khi nắm được rõ yêu cầu của dự án một cách
tốt nhất, yêu cầu là rõ ràng và có tính ổn định cao.
▪ Nắm vững được công nghệ phát triển.
▪ Không có những yêu cầu không rõ ràng.
▪ Tài nguyên phát triển phong phú và chuyên môn kỹ thuật cao.

25/09/2019 Software Processes 14


Discussion (10’)

✧ Thực hiện các giai đoạn trong mô hình thác nước cho
phần mềm quản lý cửa hàng điện thoại di động hoặc sv
tự đề xuất.
✧ Các nhóm viết đặc tả tối thiểu 1 nghiệp vụ , thiết kế một
giao diện xử lý 1 nghiệp vụ, đưa ra một số test case cho
nghiệp vụ đó.

25/09/2019 Software Processes 15


Incremental[tangtruongnhanh] development

25/09/2019 Software Processes 16


Incremental[tangtruongnhanh] development

25/09/2019 Software Processes 17


Incremental development benefits

✧ The cost of accommodating[thich ung] changing customer


requirements is reduced.
▪ The amount of analysis and documentation that has to be
redone is much less than is required with the waterfall model.
✧ It is easier to get customer feedback on the development
work that has been done.
▪ Customers can comment on demonstrations of the software and
see how much has been implemented.
✧ More rapid delivery and deployment of useful software to
the customer is possible.
▪ Customers are able to use and gain value from the software
earlier than is possible with a waterfall process.
25/09/2019 Software Processes 18
Incremental development problems

✧ System structure tends to degrade[suy-giảm] as new


increments are added.
▪ Unless time and money is spent on refactoring to improve the
software, regular change tends to corrupt its structure.
Incorporating further software changes becomes increasingly
difficult and costly.

25/09/2019 Software Processes 19


Incremental development problems

✧ Ưu điểm.
▪ Có thể sớm tạo ra nguyên mẫu của sản phẩm trong vòng đời
phát triển của nó.
▪ Độ linh hoạt cao hơn và khi thay đổi yêu cầu dự án thì chi phí sẽ
ít hơn nhiều, vì những thay đổi thuộc về module nào thì module
đó sẽ thay đổi mà các module khác không hề bị ảnh hưởng.
▪ Việc phân chia thành các module cũng sẽ làm cho việc test nhẹ
nhàng hơn, những module đơn giản thì test cũng đơn giản, sớm
kết thúc.
▪ Giảm chi phí cho lần đầu giao sản phẩm.
▪ Dễ dàng quản lý các rủi ro có thể phát sinh.

25/09/2019 Software Processes 20


Incremental development problems

✧ Nhược điểm.
▪ Cần phải có những khả năng thiết kế tốt và phương pháp tốt, để
có thể hiểu rõ được yêu cầu và biết cách phân chi nó ra như thế
nào cho hợp lý.
▪ Chi phí để phát triển theo phương pháp này là rất cao, cao hơn
hẳn waterfall.

25/09/2019 Software Processes 21


Incremental development problems

✧ Khi nào thì áp dụng mô hình này.


▪ Khi sớm cần có một nguyên mẫu phần mềm để quáng bá, giới
thiệu hoặc thử nghiệm.
▪ Sử dụng mô hình này khi một công nghệ mới được áp dụng.
▪ Tài nguyên và kỹ năng chuyên môn luôn sẵn sàng.
▪ Khi có một tính năng hay các mục tiêu thì có nguy cơ lỗi cao.

25/09/2019 Software Processes 22


Reuse-oriented software engineering (

✧ Based on systematic reuse where systems are


integrated from existing components or COTS
(Commercial-off-the-shelf) systems.
✧ Process stages
▪ Component analysis;
▪ Requirements modification;
▪ System design with reuse;
▪ Development and integration.
✧ Reuse is now the standard approach for building many
types of business system

25/09/2019 Software Processes 23


Reuse-oriented software engineering

25/09/2019 Software Processes 24


Types of software component

✧ Web services that are developed according to service


standards and which are available for remote
invocation[call].
✧ Collections of objects that are developed as a package
to be integrated with a component framework such
as .NET or J2EE.
✧ Stand-alone software systems (COTS) that are
configured for use in a particular environment.
✧ Example code for re-use (10’)

25/09/2019 Software Processes 25


Others (self study)

✧ V Software model
✧ Rapid application development: RAD

25/09/2019 Software Processes 26


V Software model

25/09/2019 Software Processes 27


V Software model

✧ Giống như mô hình thác nước


✧ Mỗi giai đoạn cũng cũng phải được hoàn thành đầy đủ
trước khi bắt đầu giai đoạn mới.
✧ Điểm khác biệt so với waterfall đó là việc test được
thực hiện song song với từng giai đoạn
trong quá trình phát triển.

25/09/2019 Software Processes 28


V Software model

✧ Ưu điểm.
▪ Đơn giản dễ sử dụng.
▪ Có hoạt động, kế hoạch cụ thể cho quá trình test.
▪ Tiết kiệm được thời gian, và có cơ hội thành công cao hơn
waterfall.
▪ Chủ động trong việc phát hiện bug, sớm tìm ra bug ngay từ
những bước đầu.

25/09/2019 Software Processes 29


V Software model

✧ Nhược điểm.
▪ Độ linh hoạt ít và còn tồn tại sự cứng nhắc. Nó thể hiện ở chỗ
cứ sau mỗi step thì lại phải có một - công đoạn test, nếu yêu cầu
dự án không quá phức tạp và dễ hiệu, thì việc thực hiện nhiều
công đoạn test như vậy là tốn thời gian.
▪ Giống với waterfall, sản phẩm của dự án chỉ được xuất hiện khi
tất cả các bước được hoàn thành xong, không có nguyên mẫu
ngay từ ban đầu. Không đáp ứng được yêu cầu dịch vụ vừa
phát triển, song song với vừa bán sản phẩm.
▪ Nếu có sự thay đổi về kỹ thuật ở nửa chừng, thì sẽ phải quay lại
các bước đầu tiên, thực hiện lại, update lại tài liệu.

25/09/2019 Software Processes 30


V Software model

✧ Áp dụng cho những dự án như thế nào.


▪ Dự án có kích thước nhỏ, và trung bình, các yêu cầu dự án là rõ
ràng, cố định.
▪ Khi team phát triển có đội ngũ kỹ thuật tốt, có nguồn tài nguyên
phong phú, sẵn có để đảm bảo được yêu cầu, đọc nhanh, test
nhanh và coding nhanh.
▪ Nếu khách hàng có sự tự tin cao trong yêu cầu thiết kế (nghĩa là
ít thay đổi, ít dao động) thì V model là lựa chọn cần thiết.

25/09/2019 Software Processes 31


RAD model

25/09/2019 Software Processes 32


RAD model

✧ Một loại mô hình đặc biệt khác của mô hình Incremental


✧ Điểm khác biệt cơ bản giữa RAD và Incremental đó là:
▪ RAD thực hiện song song các thành phần con được chia ra,
nghĩa là các team hoạt động độc lập và cùng bắt đầu tại một
thời điểm, còn với mô hình gia tăng điều này không nhất thiết là
phải như vậy.
▪ Việc phát triển được đóng hộp về mặt thời gian và khi giao sản
phẩm thì các thành phần được lắp ráp lại thành một nguyên
mẫu duy nhất.

25/09/2019 Software Processes 33


RAD model

✧ Một loại mô hình đặc biệt khác của mô hình Incremental


✧ Điểm khác biệt cơ bản giữa RAD và Incremental đó là:
▪ RAD thực hiện song song các thành phần con được chia ra,
nghĩa là các team hoạt động độc lập và cùng bắt đầu tại một
thời điểm, còn với mô hình gia tăng điều này không nhất thiết là
phải như vậy.
▪ Việc phát triển được đóng hộp về mặt thời gian và khi giao sản
phẩm thì các thành phần được lắp ráp lại thành một nguyên
mẫu duy nhất.

25/09/2019 Software Processes 34


RAD model

✧ Step 1. Business modeling.


Xác định các luồng thông tin giữa các chức năng khác
nhau của công việc.
✧ Step 2. Data modeling.
Các thông tin thu thập được từ công đoạn 1 sẽ được sử
dụng để định nghĩa ra các đối tượng dữ liệu mà nó cần
thiết cho công việc.
✧ Step 3. Process modeling.
Sau khi đã định nghĩa ra các đối tượng dữ liệu thì chúng
được chuyển đổi để trở thành các dòng thông tin công
việc, tiến đến một vài đối tượng công việc riêng.

25/09/2019 Software Processes 35


RAD model

✧ Step 4. Application generation.


Đây là công đoạn coding giống như trong các quy trình
khác, khi dữ liệu và tiến trình thực hiện đã được vạch ra
thì công đoạn này là sử dụng các công cụ lập trình, phần
trình biên dịch, và các ngôn ngữ lập trình để tiến hành
code lên các chức năng phần mềm.
✧ Step 5. Testing và Turnover.
Là công đoạn test sản phẩm được tạo, sau khi việc
coding đã hoàn thành, và cuối cùng đưa vào thử nghiệm
trong thực tế, giao bán sản phẩm, tính toán doanh thu.

25/09/2019 Software Processes 36


RAD model

✧ Ưu điểm.
▪ Giảm được thời gian phát triển.
▪ Tăng khả năng sử dụng lại của thành phẩm.
Sớm đưa ra được những đánh giá, nhận xét để dễ dàng điều
chỉnh.
▪ Tạo ra những khuyến khích sự phản hồi từ phía khách hàng.
✧ Nhược điểm.
▪ Mô hình này là một mô hình đặc biệt, nên nó chỉ được sử dụng
khi có một sự cần thiết để tạo ra các hệ thống mà có thể module
hóa 2 hoặc trong 3 tháng.
▪ Chỉ được sử dụng khi vấn đề thiết kế cho mô hình là sẵn có,
bên cạnh đó là ngân sách phải có nhiều để có thể xây dựng
được nhiều team cùng phát triển song song.
✧ 3. Khi nào áp dụng RAD.
25/09/2019 Software Processes 37
RAD model

✧ Khi nào áp dụng RAD.


Áp dụng RAD khi dự án cần thực hiện trong thời gian
ngắn chỉ từ 2 hoặc 3 tháng.
▪ Khi yêu cầu dự án rõ ràng, dễ dàng trong việc phân chia thành
các project nhỏ, đồng thời có đủ nguồn lực để phân chia thành
nhiều team, thực hiện song song cùng một lúc.
▪ Khi nguồn tài nguồn dồi dào cả về công cụ, phần mềm hỗ trợ,
tài liệu và con người.

25/09/2019 Software Processes 38


Topics covered

✧ Software process models


✧ Process activities
✧ Coping with change
✧ The Rational Unified Process
▪ An example of a modern software process.

25/09/2019 Software Processes 39


Process activities (self study)

✧ Real software processes are inter-leaved (đan xen)


sequences of technical, collaborative and managerial
activities with the overall goal of specifying, designing,
implementing and testing a software system.
✧ The four basic process activities of specification,
development, validation and evolution are organized
differently in different development processes. In the
waterfall model, they are organized in sequence,
whereas in incremental development they are inter-
leaved.

25/09/2019 Software Processes 40


Software specification

✧ The process of establishing what services are required


and the constraints on the system’s operation and
development.
✧ Requirements engineering process
▪ Feasibility[tính-khả-thi] study
• Is it technically and financially feasible to build the system?
▪ Requirements elicitation[discovery] and analysis
• What do the system stakeholders[related members] require or expect from the
system?
▪ Requirements specification
• Defining the requirements in detail
▪ Requirements validation
• Checking the validity of the requirements
25/09/2019 Software Processes 41
The requirements engineering process

25/09/2019 Software Processes 42


Software design and implementation

✧ The process of converting the system specification into


an executable system.
✧ Software design
▪ Design a software structure that realises the specification;
✧ Implementation
▪ Translate this structure into an executable program;
✧ The activities of design and implementation are closely
related and may be inter-leaved.

25/09/2019 Software Processes 43


A general model of the design process

25/09/2019 Software Processes 44


Design activities

✧ Architectural design, where you identify the overall


structure of the system, the principal components
(sometimes called sub-systems or modules), their
relationships and how they are distributed.
✧ Interface design, where you define the interfaces
between system components.
✧ Component design, where you take each system
component and design how it will operate.
✧ Database design, where you design the system data
structures and how these are to be represented in a
database.
25/09/2019 Software Processes 45
Software validation

✧ Verification[xác-minh] and validation[xác-thực] (V & V) is intended


to show that a system conforms[tuân-thủ] to its specification
and meets the requirements of the system customer.
✧ Involves checking and review processes and system
testing.
✧ System testing involves executing the system with test
cases that are derived from the specification of the real
data to be processed by the system.
✧ Testing is the most commonly used V & V activity.

25/09/2019 Software Processes 46


Stages of testing

25/09/2019 Software Processes 47


Testing stages

✧ Development or component testing


▪ Individual components are tested independently;
▪ Components may be functions or objects or coherent groupings
of these entities.
✧ System testing
▪ Testing of the system as a whole. Testing of emergent properties
is particularly important.
✧ Acceptance testing
▪ Testing with customer data to check that the system meets the
customer’s needs.

25/09/2019 Software Processes 48


Testing phases in a plan-driven software
process

25/09/2019 Software Processes 49


Software evolution

✧ Software is inherently[nature] flexible and can change.


✧ As requirements change through changing business
circumstances[trường-hợp], the software that supports the
business must also evolve[phát-triển] and change.

25/09/2019 Software Processes 50


System evolution

25/09/2019 Software Processes 51


Key points

✧ Software processes are the activities involved in


producing a software system. Software process models
are abstract representations of these processes.
✧ General process models describe the organization of
software processes. Examples of these general models
include the ‘waterfall’ model, incremental development,
and reuse-oriented development.

25/09/2019 Software Processes 52


Key points

✧ Requirements engineering is the process of developing a


software specification.
✧ Design and implementation processes are concerned
with transforming a requirements specification into an
executable software system.
✧ Software validation is the process of checking that the
system conforms to its specification and that it meets the
real needs of the users of the system.
✧ Software evolution takes place when you change
existing software systems to meet new requirements.
The software must evolve to remain useful.
25/09/2019 Software Processes 53
Topics covered

✧ Software process models


✧ Process activities
✧ Coping with change
✧ The Rational Unified Process
▪ An example of a modern software process.

25/09/2019 Software Processes 54


Coping with change [self study]

✧ Change is inevitable[khó-tránh-khỏi] in all large software


projects.
▪ Business changes lead to new and changed system
requirements
▪ New technologies open up new possibilities for improving
implementations
▪ Changing platforms require application changes
✧ Change leads to rework so the costs of change include
both rework (e.g. re-analysing requirements) as well as
the costs of implementing new functionality

25/09/2019 Software Processes 55


Reducing the costs of rework

✧ Change avoidance, where the software process includes


activities that can anticipate[dự đoán] possible changes
before significant rework is required.
▪ For example, a prototype system may be developed to show
some key features of the system to customers.
✧ Change tolerance[khả-năng-chịu-đựng, chấpnhan], where the process
is designed so that changes can be accommodated at
relatively low cost.
▪ This normally involves some form of incremental development.
Proposed changes may be implemented in increments that have
not yet been developed. If this is impossible, then only a single
increment (a small part of the system) may have be altered to
incorporate the change.
25/09/2019 Software Processes 56
Software prototyping

✧ A prototype is an initial version of a system used to


demonstrate concepts and try out design options.
✧ A prototype can be used in:
▪ The requirements engineering process to help with requirements
elicitation[suyluan, thuthap] and validation;
▪ In design processes to explore options and develop a UI design;
▪ In the testing process to run back-to-back tests.

25/09/2019 Software Processes 57


Benefits of prototyping

✧ Improved system usability.


✧ A closer match to users’ real needs.
✧ Improved design quality.
✧ Improved maintainability.
✧ Reduced development effort.

25/09/2019 Software Processes 58


The process of prototype development

25/09/2019 Software Processes 59


Prototype development

✧ May be based on rapid prototyping languages or tools


✧ May involve leaving out[exclude] functionality
▪ Prototype should focus on areas of the product that are not well-
understood;
▪ Error checking and recovery may not be included in the
prototype;
▪ Focus on functional rather than non-functional requirements
such as reliability and security

25/09/2019 Software Processes 60


Throw-away prototypes

✧ Prototypes should be discarded[exclude] after


development as they are not a good basis for a
production system:
▪ It may be impossible to tune[điều-chỉnh] the system to meet non-
functional requirements;
▪ Prototypes are normally undocumented[0tailieuhoa];
▪ The prototype structure is usually degraded[xuống-cấp]
through[because] rapid change;
▪ The prototype probably will not meet normal organisational
quality standards.

25/09/2019 Software Processes 61


Incremental delivery

✧ Rather than deliver the system as a single delivery, the


development and delivery is broken down into
increments[small part] with each increment delivering
part of the required functionality.
✧ User requirements are prioritised[uutien] and the highest
priority requirements are included in early increments.
✧ Once the development of an increment is started, the
requirements are frozen though requirements for later
increments can continue to evolve.

25/09/2019 Software Processes 62


Incremental development and delivery

✧ Incremental development
▪ Develop the system in increments and evaluate each increment
before proceeding to the development of the next increment;
▪ Normal approach used in agile methods;
▪ Evaluation done by user/customer proxy.
✧ Incremental delivery
▪ Deploy an increment for use by end-users;
▪ More realistic evaluation about practical use of software;
▪ Difficult to implement for replacement systems as increments
have less functionality than the system being replaced.

25/09/2019 Software Processes 63


Incremental delivery

25/09/2019 Software Processes 64


Incremental delivery advantages

✧ Customer value can be delivered with each increment so


system functionality is available earlier.
✧ Early increments act as a prototype to help elicit
[indicate] requirements for later increments.
✧ Lower risk of overall project failure.
✧ The highest priority system services tend to receive the
most testing.

25/09/2019 Software Processes 65


Incremental delivery problems

✧ Most systems require a set of basic facilities[thành-phần] that


are used by different parts of the system.
▪ As requirements are not defined in detail until an increment is to
be implemented, it can be hard to identify common facilities that
are needed by all increments.
✧ The essence of iterative processes is that the
specification is developed in conjunction with the
software.
▪ However, this conflicts with the procurement model of many
organizations, where the complete system specification is part of
the system development contract.

25/09/2019 Software Processes 66


Discussion (15’)

✧ Xây dựng prototype 1 cho nghiệp vụ đăng ký ghi danh ở


trung tâm ngoại ngữ.
▪ CSDL + giao diện + mô tả ngắn gọn nghiệp vụ
✧ Prototype 2 khi khách hàng yêu cầu thay đổi nghiệp vụ
trên: học viên cũ, giảm học phí mùa xuân, hè, ….
✧ Có thể chọn nghiệp vụ khác

25/09/2019 Software Processes 67


Boehm’s spiral[xoắn óc] model

✧ Process is represented as a spiral rather than as a


sequence of activities with backtracking.
✧ Each loop in the spiral represents a phase in the
process.
✧ No fixed phases such as specification or design - loops
in the spiral are chosen depending on what is required.
✧ Risks are explicitly assessed and resolved throughout
the process.

25/09/2019 Software Processes 68


Boehm’s spiral model of the software process

25/09/2019 Software Processes 69


Boehm’s spiral model of the software process

25/09/2019 Software Processes 70


Spiral model sectors

✧ Objective[goal] setting
▪ Specific objectives for the phase are identified.
✧ Risk assessment and reduction
▪ Risks are assessed and activities put in place to reduce the key
risks.
✧ Development and validation
▪ A development model for the system is chosen which can be
any of the generic models.
✧ Planning
▪ The project is reviewed and the next phase of the spiral is
planned.

25/09/2019 Software Processes 71


Spiral model usage

✧ Spiral model has been very influential in helping people


think about iteration in software processes and
introducing the risk-driven approach to development.
✧ In practice, however, the model is rarely used as
published for practical software development.

25/09/2019 Software Processes 72


Topics covered

✧ Software process models


✧ Process activities
✧ Coping with change
✧ The Rational Unified Process
▪ An example of a modern software process.

25/09/2019 Software Processes 73


The Rational Unified Process

✧ A modern generic process derived[có-nguồn-gốc] from the


work on the UML and associated process.
✧ Brings together aspects of the 3 generic process models
discussed previously.
✧ Normally described from 3 perspectives[khiacanh]
▪ A dynamic perspective that shows phases over time;
▪ A static perspective that shows process activities;
▪ A practive perspective that suggests good practice.

25/09/2019 Software Processes 74


Phases in the Rational Unified Process

25/09/2019 Software Processes 75


RUP phases

✧ Inception[khoi dong]
▪ Establish the business case for the system.
✧ Elaboration[phat trien]
▪ Develop an understanding of the problem domain and the
system architecture.
✧ Construction[xay dung]
▪ System design, programming and testing.
✧ Transition[chuyen tiep]
▪ Deploy the system in its operating environment.

25/09/2019 Software Processes 76


RUP iteration

✧ In-phase iteration
▪ Each phase is iterative with results developed incrementally.
✧ Cross-phase iteration
▪ As shown by the loop in the RUP model, the whole set of phases
may be enacted[có-hiệu-lực] incrementally.

25/09/2019 Software Processes 77


Static workflows in the Rational Unified Process
(Self study)

Workflow Description

Business The business processes are modelled using


modelling business use cases.
Requirements Actors who interact with the system are identified
and use cases are developed to model the
system requirements.
Analysis and A design model is created and documented
design using architectural models, component models,
object models and sequence models.
Implementation The components in the system are implemented
and structured into implementation sub-systems.
Automatic code generation from design models
helps accelerate this process.
25/09/2019 Software Processes 78
Static workflows in the Rational Unified Process

Workflow Description

Testing Testing is an iterative process that is carried out in


conjunction with implementation. System testing follows the
completion of the implementation.
Deployment A product release is created, distributed to users and
installed in their workplace.

Configuration and This supporting workflow managed changes to the system


change (see Chapter 25).
management
Project This supporting workflow manages the system development
management (see Chapters 22 and 23).

Environment This workflow is concerned with making appropriate


software tools available to the software development team.
25/09/2019 Software Processes 79
RUP good practice

✧ Develop software iteratively


▪ Plan increments based on customer priorities and deliver
highest priority increments first.
✧ Manage requirements
▪ Explicitly document customer requirements and keep track of
changes to these requirements.
✧ Use component-based architectures
▪ Organize the system architecture as a set of reusable
components.

25/09/2019 Software Processes 80


RUP good practice

✧ Visually model software


▪ Use graphical UML models to present static and dynamic views
of the software.
✧ Verify software quality
▪ Ensure that the software meet’s organizational quality standards.
✧ Control changes to software
▪ Manage software changes using a change management system
and configuration management tools.

25/09/2019 Software Processes 81


Key points

✧ Processes should include activities to cope with change.


This may involve a prototyping phase that helps avoid
poor decisions[thay doi ko can thiet] on requirements
and design.
✧ Processes may be structured for iterative development
and delivery so that changes may be made without
disrupting[phá-rối] the system as a whole.
✧ The Rational Unified Process is a modern generic
process model that is organized into phases (inception,
elaboration, construction and transition) but separates
activities (requirements, analysis and design, etc.) from
these phases.
25/09/2019 Software Processes 82

You might also like