Great Software Development Tutorial
Great Software Development Tutorial
Audience
Adaptive Software Development is written for project teams that have been struggling
with high-speed, high-change projects and are looking for ways to improve performance
and to moderate burnout, especially as the projects they undertake get larger and the
teams become more distributed.
Prerequisites
Before you start proceeding with this tutorial, we are assuming that you are already aware
about the basics of Software Development Life Cycle. If you are not well aware of these
concepts, then we will suggest you to go through our short tutorials on SDLC.
Table of Contents
About the Tutorial ............................................................................................................................................ i
Audience ........................................................................................................................................................... i
Prerequisites ..................................................................................................................................................... i
Copyright & Disclaimer ..................................................................................................................................... i
Table of Contents ............................................................................................................................................ ii
1.
2.
3.
4.
5.
6.
7.
8.
9.
iii
1. ASD Introduction
What is Agile?
In literary terms, the word agile means someone who can move quickly and easily or
someone who can think and act quickly and clearly. In business, agile is used for
describing ways of planning and doing work wherein it is understood that making changes
as needed is an important part of the job. Business agility means that a company is always
in a position to take account of the market changes.
In software development, the term agile is adapted to mean the ability to respond to
changes changes from Requirements, Technology and People.
Agile Manifesto
The Agile Manifesto was published by a team of software developers in 2001, highlighting
the importance of the development team, accommodating changing requirements and
customer involvement.
The Agile Manifesto is:
We are uncovering better ways of developing software by doing it and helping others do
it. Through this work, we have come to value
That is, while there is value in the items on the right, we value the items on the left more.
Characteristics of Agility
Following are the characteristics of Agility
Agility in Agile Software Development focuses on the culture of the whole team
with multi-discipline, cross-functional teams that are empowered and selforganizing.
Frequent and continuous deliveries ensure quick feedback that in in turn enable the
team align to the requirements.
Agile Methodologies
Early implementations of Agile methods include Rational Unified Process, Scrum, Crystal
Clear, Extreme Programming, Adaptive Software Development, Feature Driven
Development, and Dynamic Systems Development Method (DSDM). These are now
collectively referred to as the Agile methodologies, after the Agile manifesto was published
in 2001.
In this tutorial, we will learn the Agile Methodology Adaptive Software Development.
A Software Development Life Cycle (SDLC) model is a framework that describes the
activities performed at each stage of a software development project.
In a Software Development Life Cycle, the activities are performed in five phases
Testing: Functional testing of the built software is done in this phase. This also
includes the testing of non-functional requirements.
and
Prescriptive: The SDLC models that will provide you ways of performing the
activities in a prescribed manner as defined by the framework.
Adaptive: The SDLC models that will give you flexibility in performing the
activities, with certain rules that need to be followed. The agile methods mostly
follow this approach, with each one having its rules. However, following an adaptive
or agile approach does not mean that the software is developed without following
any discipline. This would lead to a chaos.
You need to understand that we cannot say that a specific SDLC model is good or bad.
Each of them has its own strengths and weaknesses and thus are suitable in certain
contexts.
When you choose an SDLC model for your project, you need to understand
For example, if the software development is predictable, you can use a Prescriptive
approach. On the other hand, if the software development is unpredictable, i.e.
requirements are not entirely known, or the development team does not have prior
3
exposure to the current domain or technology, etc. then Adaptive approach is the best
choice.
In the following sections, you will understand the most prevalent SDLC models that are
evolved during the execution of software development projects across the industry. You
will also get to know the strengths and weaknesses of each of them and in what contexts
they are suitable.
The Waterfall model is a classic SDLC model that is widely known, understood and
commonly used. It was introduced by Royce in 1970 and is still being followed as a
common approach for software development in various organizations across the industry.
In Waterfall model, each lifecycle phase can start only after the earlier lifecycle phase is
complete. Thus, it is a linear model with no feedback loops.
Does not reflect iterative nature of exploratory development that is more common.
Software is delivered only at the end of the project. Due to this o Delays discovery of serious defects.
o Possibility of delivery of obsolete requirements.
Significant management overhead, which can be costly for small teams and
projects.
Testing starts only after the development is complete and the testers are not
involved in any of the earlier phases.
The expertize of the cross-functional teams is not shared as each phase is executed
in silos.
Communication channels are well established within the organization and with the
customer as well.
Thus, the product evolves through the Prototype -> Feedback -> Refined Prototype Cycles
and hence the name Evolutionary Prototyping. When the user is satisfied with the
functionality, and working of the product, the prototype code is brought up to the required
standards for the final product delivery.
Customers / end users can visualize the system requirements as they are gathered
looking at the prototype.
The customer can possibly ask for the delivery of the prototype as the final, not
giving the opportunity for the developers to execute the final step i.e.
standardization of the end-product.
Project can continue forever (with continuous scope creep) and the management
may not appreciate it.
Each release is a product increment, so that the customer will have a working
product at hand all the time.
Customer can provide feedback to each product increment, thus avoiding surprises
at the end of development.
Requires early definition of a complete and fully functional system to allow the
definition of increments.
Well-defined module interfaces are required, as some are developed long before
others are developed.
Most of the requirements are known up-front but are expected to evolve over time.
10
User Description phase - In the User Description phase, automated tools are
used to capture information from users.
Cut Over phase - In the Cut over phase, installation of the system, user
acceptance testing and user training are performed.
Reduced cycle time and improved productivity with fewer team members would
mean lower costs.
Customers involvement throughout the complete cycle minimizes the risk of not
achieving customer satisfaction and business value.
11
12
Spiral model adds Risk Analysis and RAD prototyping to the Waterfall model. Each cycle
involves the same sequence of steps as the Waterfall model.
Study alternatives relative to the objectives and constraints that are determined.
Identify risks such as lack of experience, new technology, tight schedules, etc.
13
Resolve the identified risks evaluating their impact on the project, identifying the
needed mitigation and contingency plans and implementing them. Risks always
need to be monitored.
Create a design
Review design
Develop code
Inspect code
Test product
Users can view the system early because of the rapid prototyping tools.
Time spent in planning, resetting objectives, doing risk analysis and prototyping
may be an overhead.
Time spent for evaluating risks can be too large for small or low-risk projects.
14
Product-line is new.
15
Agile Methods are based on the Agile manifesto and are adaptive in nature. Agile methods
ensure
Team collaboration.
Customer collaboration.
Response to changes.
Several Agile methods came into existence, promoting iterative and incremental
development with time-boxed iterations. Though the Agile methods are adaptive, rules of
the specific method cannot be by-passed and hence requires disciplined implementation.
Self-organizing teams.
16
Design needs to be kept simple and maintainable, thus requiring effective design
skills.
Application is time-critical.
The scope is limited and less formal (scaling agile methods to larger projects is
underway, with certain extensions to some of the agile methods).
17
8. ASD Evolution
The earlier SDLC models are more oriented to the practices of stability, predictability and
decreasing returns. The industry, such as the Internet Platforms has been moving to
increase return environments, unpredictable, nonlinear, and fast approaches.
Adaptive Software Development (ASD) has evolved to address these issues. It focuses on
emergence as the most important factor from the managements perspective, to enhance
the ability to manage product development.
In Jim Highsmiths words, Adaptive Software Development framework is based on years
of experience with traditional Software Development methodologies, consulting on,
practicing, and writing about Rapid Application Development (RAD) techniques and
working with high-technology software companies on managing their product development
practices.
Waterfall model is found to be characterized by linearity and predictability, with meagre
feedback. It can be viewed as a sequence of Plan -> Build -> Implement.
The Evolutionary Lifecycle models such as the Spiral model moved the Deterministic
approach to the Adaptive one, with Plan -> Build -> Revise Cycles.
18
Learn: Learn aims both, the developers and the customers, to use the results of
each development cycle to learn the direction of the next.
19
9. ASD Concepts
Different Strategies
Different Understanding
To address the issues of this second world, Jig Highsmith offered a framework, Adaptive
Software Development that is different from the Deterministic Software Development.
The Adaptive Software Development focuses on addressing the complex systems
20
In this chapter, you will understand the conceptual perspective of Adaptive Software
Development.
Emergence
Complexity
Emergence
In complex software product-development projects, the outcomes are inherently
unpredictable. However, successful products emerge from such environments all the time.
This can happen by Emergence, as illustrated in the Complex Adaptive Systems (CAS)
theory. It can be understood by a simple example, flocking behavior of birds.
When you observe a flock of birds, you notice that
There are no rules of behavior for the group. The only rules are about the behavior
of individual birds.
However, there exists an emergent behavior, the flocking of birds. When errant
birds rush to catch up, the flock splits around obstacles and reforms on the other
side.
This shows the requirement of the most difficult mental model changes in Adaptive
Development From ways of managing and organizing that individual freedom to the
notion that a creative new order emerges unpredictably from spontaneous selforganization.
21
In addition to the development, emergence is the most important concept from the
management perspective also.
Complexity
In the Software Development context, Complexity is about
Quality
In a complex environment, the age-old practice of "Do it right the first time" does not work
as you cannot predict what is right at the beginning. You need to have an aim to produce
the right value. However, in complex environment, the combinations and permutations of
value components like scope (features, performance, defect levels), schedule, and
resources is so vast that there can never be an optimum value. Hence, the focus is to shift
to deliver the best value in the competitive market.
RAD Practices
RAD Practices generally involve a combination of the following
Evolutionary Lifecycle
The RAD projects have an inherent adaptive, emergent flavor. Many IT organizations are
against RAD. However, Microsoft and others have produced incredibly large and complex
software using techniques comparable to RAD because it raises questions about their
fundamental world view.
RAD practices and Microsoft process are both examples of Adaptive Development in action.
Giving them a label (i.e., Adaptive Development) and realizing that there is a growing
body of scientific knowledge (i.e., CAS theory) explains why they work. This should provide
a basis for more extensive use of these practices.
22
10.
Adaptive Software Development has evolved from RAD practices. The team aspects also
were added to these practices. Companies from New Zealand to Canada, for a wide range
of project and product types, have used adaptive Software Development.
Jim Highsmith published Adaptive Software Development in 2000.
Adaptive Software Development practices provide ability to accommodate change and are
adaptable in turbulent environments with products evolving with little planning and
learning.
Speculate
Collaborate
Learn
These three phases reflect the dynamic nature of Adaptive Software Development. The
Adaptive Development explicitly replaces Determinism with Emergence. It goes beyond a
mere change in lifecycle to a deeper change in management style. Adaptive Software
Development has a dynamic Speculate-Collaborate-Learn Lifecycle.
The Adaptive Software Development Lifecycle focuses on results, not tasks, and the results
are identified as application features.
23
Speculate
The term plan is too deterministic and indicates a reasonably high degree of certainty
about the desired result. The implicit and explicit goal of conformance to plan, restricts
the manager's ability to steer the project in innovative directions.
In Adaptive Software Development, the term plan is replaced by the term speculate. While
speculating, the team does not abandon planning, but it acknowledges the reality of
uncertainty in complex problems. Speculate encourages exploration and experimentation.
Iterations with short cycles are encouraged.
Collaborate
Complex applications are not built, they evolve. Complex applications require that a large
volume of information be collected, analyzed, and applied to the problem. Turbulent
environments have high rates of information flow. Hence, complex applications require
that a large volume of information be collected, analyzed, and applied to the problem. This
results in diverse Knowledge requirements that can only be handled by team collaboration.
Collaborate would require the ability to work jointly to produce results, share knowledge
or make decisions.
In the context of project management, Collaboration portrays a balance between
managing with traditional management techniques and creating and maintaining the
collaborative environment needed for emergence.
Learn
The Learn part of the Lifecycle is vital for the success of the project. Team has to enhance
their knowledge constantly, using practices such as
Technical Reviews
Project Retrospectives
Reviews should be done after each iteration. Both, the developers and customers examine
their assumptions and use the results of each development cycle to learn the direction of
the next. The team learns
More fundamental changes in underlying assumptions about how the products are
being developed
The iterations need to be short, so that the team can learn from small rather than large
mistakes.
24
25
11.
Mission focused
Feature based
Iterative
Time-boxed
Risk driven
Change tolerant
In this chapter, you will understand these six characteristics of Adaptive Software
Development.
Mission-focused
For many projects, the overall mission that guides the team is well articulated, though the
requirements may be uncertain at the beginning of the project. Mission statements act as
guides that encourage exploration in the beginning but have a narrow focus over the
course of a project. A mission provides boundaries rather than a fixed destination. Mission
statements and the discussions that result in those statements provide direction and
criteria for making critical project tradeoff decisions.
Without a clear mission and a constant mission refinement practice, iterative lifecycles
become oscillating lifecycles, swinging back and forth with no progress in the development.
Feature-based
The Adaptive Software Development Lifecycle is based on application features and not on
tasks. Features are the functionality that are developed during an iteration based on the
customers priorities.
Features can evolve over several iterations when the customers provide feedback.
The application features that provide direct results to the customer after implementation
are primary. A customer-oriented document such as a user manual is also considered as
a feature. The other documents such as the data model, even if defined as deliverables
are always secondary.
Iterative
The Adaptive Software Development Lifecycle is iterative and focuses on frequent releases
in order to obtain feedback, assimilate the resulting learning and setting the right direction
for further development.
Time-boxed
In Adaptive Software Development Lifecycle, the iterations are time-boxed. However, one
should remember that time-boxing in Adaptive Software Development is not about time
26
deadlines. It should not be used to make the team work for long hours challenging a
collaborative environment or for compromising on the quality of the deliverables.
In Adaptive Software Development, time-boxing is considered as a direction for focusing
and forcing hard tradeoff decisions as and when required. In an uncertain environment, in
which change rates are high, there needs to be a periodic forcing function such as a timebox to get the work finished.
Risk-driven
In Adaptive Software Development, the iterations are driven by identifying and evaluating
the critical risks.
Change-tolerant
Adaptive Software Development is change-tolerant, viewing change as the ability to
incorporate competitive advantage, but not as a problem for development.
27
12.
ASD Practices
Continuous learning
Change orientation
Re-evaluation
Adaptive SDLC
Adaptive Software Development combines RAD with Software Engineering Best Practices,
such as
Project initiation.
Quality review.
28
As illustrated above, Adaptive Software Development practices are spread across the three
phases as follows
Project Initiation
The functioning of the delivery team and the practices team members are
utilizing
Initiation
Planning
Speculate has five practices that can be executed repetitively during the initiation and
planning phase. They are
Project initiation
29
Project Initiation
Project Initiation involves
Understanding constraints
The project initiation data should be gathered in a preliminary JAD session, considering
speed as the major aspect. Initiation can be completed in a concentrated two to five day
effort for a small to medium sized projects, or two to three weeks effort for larger projects.
During the JAD sessions, requirements are gathered in enough detail to identify features
and establish an overview of the object, data, or other architectural model.
Choose the time, based on what works for you. Once you decide on the number of
iterations and the lengths of each of the iterations, assign a schedule to each of the
iterations.
Testing should be an ongoing, integral part of the feature development. It should not be
delayed until the end of the project.
Assign Features
Developers and customers should together assign features to each iteration. The most
important criteria for this feature assignment is that every iteration must deliver a visible
set of features with considerable functionality to the customer.
During the assignment of features to the iterations
Development team should come up with the feature estimates, risks, and
dependencies and provide them to the customer.
Thus iteration planning is feature-based and done as a team with developers and
customers. Experience has shown that this type of planning provides better understanding
of the project than a task-based planning by the project manager. Further, feature-based
planning reflects the uniqueness of each project.
Collaboration is an act of shared creation that encompasses the development team, the
customers and the managers. Shared creation is fostered by trust and respect.
Teams should collaborate on
Technical problems
Business requirements
Following are the practices relevant to the Collaborate phase in Adaptive Software
Development
31
Broad-based knowledge
Find mistakes
Reduce rework by finding small problems before they become large ones
At the end of each development iteration, there are four general categories of things to
learn
32
application itself. The customers provide feedback on the working software resulting from
an iteration.
As the plans in the Adaptive Software Development projects are speculative, more than
the question 2 above, question 3 is important. That is, the project team and the customers
need to continuously ask themselves, "What have we learned so far, and does it change
our perspective on where we need to go?"
33
13.
Adaptive Management
Adaptive management has proven successful in the environments where the resource
managers worked together with stakeholders and scientists as a team, with the following
goals
The principle behind adaptive management is that many resource management activities
are experiments as their outcomes cannot be reliably predicted beforehand. These
experiments are then used as learning opportunities for the improvements in the future.
Adaptive management is intended to increase the ability to respond timely in the face of
new information and in a setting of varied stakeholder objectives and preferences. It
encourages stakeholders to bound disputes and discuss them in an orderly fashion while
the environmental uncertainties are being investigated and better understood.
Adaptive management helps the stakeholders, the managers and other decision makers
recognize the limits of knowledge and the need to act on imperfect information.
34
Adaptive management helps to change the decisions made by making it clear that
A range of competing, alternative system models of ecosystem and related responses (e.g.
demographic changes; recreational uses), rather than a single model, is then
developed. Management options are chosen based on the evaluations of these alternative
models.
35
Leadership-Collaboration Management
Adaptive management is what is best suited for Adaptive Software Development. The
approach requires resource managers, i.e. the managers who can work with people, allow
human-interventions, and create an amicable environment.
In software development, the leaders often take up these responsibilities. We need leaders
more than the commanders. The leaders are collaborators and work alongside with the
team. Collaborative-Leadership is the most sought after practice in Adaptive development.
The leaders have the following qualities
Provide direction.
Create environments where talented people can be innovative, creative, and make
effective decisions.
Understand that occasionally they need to command, but that is not their
predominant style.
36