Waterfall
Model
The
Waterfall Model was the first Process Model to be introduced. It is also
referred to as a linear-sequential life cycle model. It is very
simple to understand and use. In a waterfall model, each phase must be
completed before the next phase can begin and there is no overlapping in the
phases.
The
Waterfall model is the earliest SDLC approach that was used for software
development.
The
waterfall Model illustrates the software development process in a linear
sequential flow. This means that any phase in the development process begins
only if the previous phase is complete. In this waterfall model, the phases do
not overlap.
Waterfall
Model - Design
Waterfall
approach was first SDLC Model to be used widely in Software Engineering to
ensure success of the project. In "The Waterfall" approach, the whole
process of software development is divided into separate phases. In this
Waterfall model, typically, the outcome of one phase acts as the input for the
next phase sequentially.
The
following illustration is a representation of the different phases of the
Waterfall Model.
The
sequential phases in Waterfall model are −
- Requirement
Gathering and analysis −
All possible requirements of the system to be developed are captured in
this phase and documented in a requirement specification document.
- System
Design −
The requirement specifications from first phase are studied in this phase
and the system design is prepared. This system design helps in specifying
hardware and system requirements and helps in defining the overall system
architecture.
- Implementation − With inputs from the
system design, the system is first developed in small programs called
units, which are integrated in the next phase. Each unit is developed and
tested for its functionality, which is referred to as Unit Testing.
- Integration
and Testing −
All the units developed in the implementation phase are integrated into a
system after testing of each unit. Post integration the entire system is
tested for any faults and failures.
- Deployment
of system −
Once the functional and non-functional testing is done; the product is
deployed in the customer environment or released into the market.
- Maintenance − There are some issues
which come up in the client environment. To fix those issues, patches are
released. Also to enhance the product some better versions are released.
Maintenance is done to deliver these changes in the customer environment.
All
these phases are cascaded to each other in which progress is seen as flowing
steadily downwards (like a waterfall) through the phases. The next phase is
started only after the defined set of goals are achieved for previous phase and
it is signed off, so the name "Waterfall Model". In this model,
phases do not overlap.
Waterfall
Model - Application
Every
software developed is different and requires a suitable SDLC approach to be
followed based on the internal and external factors. Some situations where the
use of Waterfall model is most appropriate are −
- Requirements
are very well documented, clear and fixed.
- Product
definition is stable.
- Technology
is understood and is not dynamic.
- There
are no ambiguous requirements.
- Ample
resources with required expertise are available to support the product.
- The
project is short.
Waterfall
Model - Advantages
The
advantages of waterfall development are that it allows for departmentalization
and control. A schedule can be set with deadlines for each stage of development
and a product can proceed through the development process model phases one by
one.
Development
moves from concept, through design, implementation, testing, installation,
troubleshooting, and ends up at operation and maintenance. Each phase of
development proceeds in strict order.
Some
of the major advantages of the Waterfall Model are as follows −
- Simple
and easy to understand and use
- Easy
to manage due to the rigidity of the model. Each phase has specific
deliverables and a review process.
- Phases
are processed and completed one at a time.
- Works
well for smaller projects where requirements are very well understood.
- Clearly
defined stages.
- Well
understood milestones.
- Easy
to arrange tasks.
- Process
and results are well documented.
Waterfall
Model - Disadvantages
The
disadvantage of waterfall development is that it does not allow much reflection
or revision. Once an application is in the testing stage, it is very difficult
to go back and change something that was not well-documented or thought upon in
the concept stage.
The
major disadvantages of the Waterfall Model are as follows −
- No
working software is produced until late during the life cycle.
- High
amounts of risk and uncertainty.
- Not
a good model for complex and object-oriented projects.
- Poor
model for long and ongoing projects.
- Not
suitable for the projects where requirements are at a moderate to high
risk of changing. So, risk and uncertainty is high with this process
model.
- It
is difficult to measure progress within stages.
- Cannot
accommodate changing requirements.
- Adjusting
scope during the life cycle can end a project.
- Integration
is done as a "big-bang. at the very end, which doesn't allow
identifying any technological or business bottleneck or challenges early.
Prototype
Model
The
Software Prototyping refers to building software application prototypes which
displays the functionality of the product under development, but may not
actually hold the exact logic of the original software.
Software
prototyping is becoming very popular as a software development model, as it
enables to understand customer requirements at an early stage of development.
It helps get valuable feedback from the customer and helps software designers
and developers understand about what exactly is expected from the product under
development.
What
is Software Prototyping?
Prototype
is a working model of software with some limited functionality. The prototype
does not always hold the exact logic used in the actual software application
and is an extra effort to be considered under effort estimation.
Prototyping
is used to allow the users evaluate developer proposals and try them out before
implementation. It also helps understand the requirements which are user
specific and may not have been considered by the developer during product
design.
Following
is a stepwise approach explained to design a software prototype.
Basic
Requirement Identification
This
step involves understanding the very basics product requirements especially in
terms of user interface. The more intricate details of the internal design and
external aspects like performance and security can be ignored at this stage.
Developing
the initial Prototype
The
initial Prototype is developed in this stage, where the very basic requirements
are showcased and user interfaces are provided. These features may not exactly
work in the same manner internally in the actual software developed. While, the
workarounds are used to give the same look and feel to the customer in the
prototype developed.
Review
of the Prototype
The
prototype developed is then presented to the customer and the other important
stakeholders in the project. The feedback is collected in an organized manner
and used for further enhancements in the product under development.
Revise
and Enhance the Prototype
The
feedback and the review comments are discussed during this stage and some
negotiations happen with the customer based on factors like time and budget
constraints and technical feasibility of the actual implementation. The changes
accepted are again incorporated in the new Prototype developed and the cycle
repeats until the customer expectations are met.
Prototypes
can have horizontal or vertical dimensions. A Horizontal prototype displays the
user interface for the product and gives a broader view of the entire system,
without concentrating on internal functions. A Vertical prototype on the other
side is a detailed elaboration of a specific function or a sub system in the
product.
The
purpose of both horizontal and vertical prototype is different. Horizontal
prototypes are used to get more information on the user interface level and the
business requirements. It can even be presented in the sales demos to get
business in the market. Vertical prototypes are technical in nature and are
used to get details of the exact functioning of the sub systems. For example,
database requirements, interaction and data processing loads in a given sub
system.
Software
Prototyping - Types
There
are different types of software prototypes used in the industry. Following are
the major software prototyping types used widely −
Throwaway/Rapid
Prototyping
Throwaway
prototyping is also called as rapid or close ended prototyping. This type of
prototyping uses very little efforts with minimum requirement analysis to build
a prototype. Once the actual requirements are understood, the prototype is
discarded and the actual system is developed with a much clear understanding of
user requirements.
Evolutionary
Prototyping
Evolutionary
prototyping also called as breadboard prototyping is based on building actual
functional prototypes with minimal functionality in the beginning. The
prototype developed forms the heart of the future prototypes on top of which
the entire system is built. By using evolutionary prototyping, the
well-understood requirements are included in the prototype and the requirements
are added as and when they are understood.
Incremental
Prototyping
Incremental
prototyping refers to building multiple functional prototypes of the various
sub-systems and then integrating all the available prototypes to form a
complete system.
Extreme
Prototyping
Extreme
prototyping is used in the web development domain. It consists of three
sequential phases. First, a basic prototype with all the existing pages is
presented in the HTML format. Then the data processing is simulated using a
prototype services layer. Finally, the services are implemented and integrated
to the final prototype. This process is called Extreme Prototyping used to draw
attention to the second phase of the process, where a fully functional UI is
developed with very little regard to the actual services.
Software
Prototyping - Application
Software
Prototyping is most useful in development of systems having high level of user
interactions such as online systems. Systems which need users to fill out forms
or go through various screens before data is processed can use prototyping very
effectively to give the exact look and feel even before the actual software is
developed.
Software
that involves too much of data processing and most of the functionality is
internal with very little user interface does not usually benefit from
prototyping. Prototype development could be an extra overhead in such projects
and may need lot of extra efforts.
Software
Prototyping - Pros and Cons
Software
prototyping is used in typical cases and the decision should be taken very
carefully so that the efforts spent in building the prototype add considerable
value to the final software developed. The model has its own pros and cons
discussed as follows.
The
advantages of the Prototyping Model are as follows −
- Increased
user involvement in the product even before its implementation.
- Since
a working model of the system is displayed, the users get a better
understanding of the system being developed.
- Reduces
time and cost as the defects can be detected much earlier.
- Quicker
user feedback is available leading to better solutions.
- Missing
functionality can be identified easily.
- Confusing
or difficult functions can be identified.
The
Disadvantages of the Prototyping Model are as follows −
- Risk
of insufficient requirement analysis owing to too much dependency on the
prototype.
- Users
may get confused in the prototypes and actual systems.
- Practically,
this methodology may increase the complexity of the system as scope of the
system may expand beyond original plans.
- Developers
may try to reuse the existing prototypes to build the actual system, even
when it is not technically feasible.
- The
effort invested in building prototypes may be too much if it is not
monitored properly.
No comments:
Post a Comment