The Software Development Life Cycle (SDLC) in software engineering is a methodology that defines the logical steps for developing a custom software product.
This methodology is used to structure, plan and control the software development process. In simple terms, we can define SDLC as a methodology that a developer can use to standardise the process of software development.
A number of SDLC models are available, choosing the right one is no easy task. In this article we'll try to highlight the main advantages and disadvantages of some commonly used SDLCs.
This is one of the simplest, classic life-cycle models, also known as the 'linear-sequential' life cycle model. In a waterfall model, each phase must be completed before moving onto the next. A review process is scheduled at the end of each phase to check that the project is on the right track. The steps are as follows:
Advantages of the waterfall model
1. Simple to understand and use.
2. Each phase is independent of other phases and is processed and completed separately.
3. Suitable for smaller projects, and for projects where the requirements are clearly outlined.
Disadvantages of the waterfall model
1. No output or working software is produced until late in the life cycle.
2. High degree of uncertainty and risks.
3. Not a good choice for big or ongoing projects.
The Iterative model can be thought of as a “multi-waterfall” cycle. Cycles are divided into smaller and easily managed iterations. Each iteration passes through a series of phases, so after each cycle you will get working software.
Advantages of the iterative model
1. Produces working software early during the lifecycle.
2. More flexible as scope and requirement changes can be implemented at low cost.
3. Testing and debugging is easier, as the iterations are small.
4. Low risks factors as the risks can be identified and resolved during each iteration.
Disadvantages of the iterative model
1. This model has phases that are very rigid and do not overlap.
2. Not all the requirements are gathered before starting the development; this could lead to problems related to system architecture at later iterations.
The spiral model is similar to the iterative model, but places more emphasis on risk analysis. The steps involved in this model can be generalised as follows:
System requirements are defined in as much detail as possible by involving various users, so as identify the various aspects of the system.
A preliminary design of the system is created. This is the most crucial step in the spiral model, as it helps in developing cost-effective strategies for working on a project.
Using the preliminary design, a prototype for the new system is developed. This is generally a scaled down system, which represents an approximate characteristics of the final output.
Consecutive prototypes are then evolved through a fourfold procedure
o Strengths, weaknesses and risks of the previous prototype are evaluated
o Requirements for the new prototype are defined
o Planning and design of the new prototype begins
o Developing and testing the new prototype are carried out
Advantages of the spiral model
1. Good for large and critical projects
2. Working software is produced early during the lifecycle.
3. Large amount of risk analysis.
Disadvantages of the spiral model
1. Involves higher cost.
2. Not suitable for smaller projects.
3. Project success depends on the risk analysis phase - hence, it requires highly specific expertise in risk analysis.
The prototype model is used to overcome the limitations of waterfall model. In this model, instead of freezing the requirements before coding or design, a prototype is built to clearly understand the requirements. This prototype is built based on the current requirements. Through examining this prototype, the client gets a better understanding of the features of the final product. The processes involved in the prototyping approach are shown in the figure below.
Advantages of the prototype model
1. Benefits from user input.
2. As a working model of the system is provided, users get a better understanding of the system that is being developed.
3. Errors and risks can be detected at a much earlier stage, as the system is developed using prototypes.
Disadvantages of the prototype
1. Increases complexity of the overall system.
2. Involves exploratory methodology and therefore involves higher risk.
3. Involves implementing and then repairing the way a system is built, so errors are an inherent part of the development process.