Sitemap
Abhishek Rai

Abhishek Rai

SDLC

12 min readAug 15, 2024

--

About of SDLC

The Software Development Life Cycle (SDLC) is a process/approach that guides/help the creation of software. It involves a series of steps that help teams plan, design, build, test, and deploy software. The goal is to make sure the software meets the needs of customer & users, works well, and is delivered on time and within budget.

The Software Development Life Cycle (SDLC) is a systematic process used for designing, developing, building, testing, and deploying software. It ensures that the software meets the required specifications and quality standards while being delivered on time and within budget.

Did you know?

  • SDLC: Software Development Life Cycle.
  • SRS: System Requirements Specification
  • SDS: System Design Specification
  • DDS: Design Document Specification
  • HLD: High-Level Design
  • LLD: Low-Level Design
  • CR: Change Request
  • UML : Unified Modeling Language Diagram / Flow chart -> draw.io
  • Design & Prototype / Wireframe Tools : Figma, Zeplin, Overflow
  • Project Management Tools: JIRA, Zoho, Monday
  • Document Management Tools: Confluence
  • JIRA : Backlogs, Backlogs Refinement, Sprint, Sprint Planning, Sprint Review, Sprint Retrospective, EPIC, User Story, Task, Issue)
  • Scrum & Kanban : Product Owner, Scrum Master, Scrum Teams, Stack Holder, Daily standup
  • DevOps / CI/CD : Jenkin, TeamCity, SonarQube, Lint, Jekko’s, J4Logs
  • Testing : Unit(JUnit), Instrumentation, UI Testing(Appium & Selenium)

Life cycle of SDLC: Software Development Life Cycle / Phases

Image Credit Go to -> Datarob.com

1. Planning:

  • Objective: This is the initial phase where project goals, scope, and objectives are defined. Feasibility studies are conducted to understand the technical, operational, and financial aspects of the project.

Activities:

  • Project Charter Creation: This document outlines the project’s objectives, scope, stakeholders, and high-level requirements.
  • Feasibility Study: A detailed analysis to assess whether the project is technically, financially, and operationally viable.
  • Risk Assessment: Identifying potential risks (technical, financial, legal, etc.) and planning mitigation strategies.
  • Resource Planning: Identifying the required resources (people, technology, tools) and creating a project timeline.

2. Requirements Analysis:

  • Objective: To gather, document, and validate the requirements needed for the software to meet stakeholder expectations. These requirements outline what the software needs to accomplish and its features. This phase includes functional, non-functional, and technical requirements.

Activities:

  • Requirements Gathering: Involves conducting interviews, workshops, and surveys with stakeholders to understand their needs.
  • Requirement Specification: Documenting the functional and non-functional requirements in a Software Requirements Specification (SRS) document.
  • Requirements Validation: Reviewing the requirements with stakeholders to ensure they are complete, clear, and aligned with business goals.
  • Use Case Development: Creating use cases and user stories to represent the functional requirements.

3. Design:

  • Objective: To create a blueprint for the software system that meets the requirements specified in the previous phase and Based on the requirements, the system’s architecture and design are created. This phase includes designing the user interface, database structure, system architecture, and data models. The design serves as a blueprint for the actual development.

Activities:

  • System Design: Defining the overall architecture of the system, including modules, components, and their interactions.
  • Database Design: Designing the data models and database structure, including tables, relationships, and constraints.
  • User Interface Design: Creating mockups, wireframes, or prototypes of the user interface to visualize the user experience.
  • Technical Design: Specifying the technologies, frameworks, and programming languages to be used in the development process.

4. Implementation (or Coding):

  • Objective: Developers write the code based on the design documents. This phase involves transforming the design into a functional software product. It includes coding the software, integrating various modules, and ensuring that the software meets the design specifications.

Activities:

  • Coding: Developers write code for the different modules and components based on the design documents.
  • Code Reviews: Regular reviews of the code by peers or leads to ensure adherence to coding standards and best practices.
  • Version Control: Managing code versions using tools like Git to track changes and facilitate collaboration among developers.
  • Integration: Combining individual modules into a complete system, ensuring they work together as intended.

5. Testing:

  • Objective: Once the software is developed, it undergoes various levels of testing (e.g., unit testing, integration testing, system testing, and acceptance testing) to identify and fix any bugs or issues. The goal is to ensure that the software functions correctly and meets the specified requirements.

Activities:

  • Unit Testing: Testing individual components or modules for correctness.
  • Integration Testing: Ensuring that combined modules or components work together as expected.
  • System Testing: Testing the entire system to validate its compliance with the requirements.
  • User Acceptance Testing (UAT): Conducted by end-users to ensure the software meets their expectations.
  • Bug Tracking and Fixing: Identifying, logging, and resolving defects found during testing.

6. Deployment:

  • Objective: After testing is completed and the software is deemed stable, it is deployed to the production environment where it becomes available for use. This phase may involve installation, configuration, and user training.

Activities:

  • Release Management: Planning the release of the software, including versioning and distribution.
  • Installation and Configuration: Installing the software in the production environment and configuring it as needed.
  • User Training: Providing training sessions or documentation to help users understand how to use the software.
  • Go-Live: The official launch of the software for use by end-users.

7. Maintenance:

  • Objective: After deployment, the software enters the maintenance phase, where it is monitored for issues, updated to fix bugs, and enhanced with new features as needed. Maintenance ensures the software continues to meet user needs and performs well over time.

Activities:

  • Bug Fixing: Addressing any issues or defects that arise after deployment.
  • Performance Monitoring: Continuously monitoring the software’s performance and addressing any bottlenecks or inefficiencies.
  • Enhancements: Adding new features or improving existing ones based on user feedback or changing business needs.
  • Security Updates: Applying patches and updates to address security vulnerabilities.

Common SDLC Models:

Waterfall Model:

Description :

  • The Waterfall Model is a traditional and linear approach to software development. It’s one of the earliest SDLC models and is often used when project requirements are well-defined and unlikely to change
  • A linear and sequential approach where each phase must be completed before moving to the next. It’s best suited for projects with well-defined requirements.

Image Credit Got to -> Instagantt.com

Where to Use the Waterfall Model:

  • Well-Defined Requirements: When the project requirements are clear, fixed, and well-documented from the beginning.
  • Small to Medium Projects: Ideal for smaller projects where changes are minimal, and the scope is well understood.
  • Regulated Industries: In industries like healthcare, defense, or aerospace, where strict documentation and process control are required.
  • Simple Projects: When the technology is well-understood and the project is straightforward without the need for iterative feedback.

Pros of the Waterfall Model:

  • Clear Structure: Each phase has clear objectives, making the process easy to understand and manage.
  • Well-Documented: Extensive documentation is produced at each phase, which is useful for future maintenance and knowledge transfer.
  • Easy to Manage: The linear approach allows for easy tracking of project progress, with clear milestones and deadlines.
  • Phased Approach: Since one phase is completed before the next begins, it ensures that there are no overlapping activities, reducing complexity.
  • Quality Control: Testing is done after development, which ensures that the product is fully tested before it is released.

Cons of the Waterfall Model:

  • Inflexibility: Once a phase is completed, it’s challenging to go back and make changes. This rigidity makes it less suitable for projects where requirements may evolve or change.
  • Late Testing: Testing only occurs at the end, which means that issues may not be discovered until late in the process, potentially leading to higher costs and delays.
  • High Risk: If any error or misunderstanding occurs in the requirements or design phase, it can lead to significant issues later in the project.
  • Limited Customer Feedback: Customers see the final product only at the end, so there’s a risk that the final product may not fully meet their expectations.
  • Long Development Time: The sequential nature can lead to longer development times, especially for large projects.

Agile Model:

Description:

  • The Agile Model is an iterative and incremental approach to software development that emphasizes flexibility, customer collaboration, and rapid delivery of small, workable pieces of the product. It’s a popular alternative to the traditional Waterfall model, especially in environments where requirements are expected to change frequently.
  • An iterative and incremental approach that focuses on flexibility and customer collaboration. Development is done in small, manageable increments called “sprints.”
Press enter or click to view image in full size

Image Credit Go to -> krasamo.com

Where to Use the Agile Model:

  • Projects with Evolving Requirements: Agile is ideal when requirements are not fully known at the start or are likely to change during the development process.
  • Complex and Long-Term Projects: When the project is complex, and breaking it down into manageable increments can help in better handling complexity.
  • Customer-Centric Projects: Projects where continuous customer feedback is crucial, such as in product development where user experience and needs evolve over time.
  • Fast-Paced Development: When the goal is to release a Minimum Viable Product (MVP) quickly and then iteratively enhance it based on feedback.
  • Innovative or Experimental Projects: Agile is suitable for projects involving new technologies or innovative ideas where exploration and adaptability are key.y

Agile Methods

Scrum: Agile Scrum is a very popular framework to enable teams to work together, and which is based on the Agile methodology. It enables the development, delivery and maintenance of complicated and simple projects. This enables the teams to think about how to work best, experiment and learn from their experience before making changes. In Agile methodology, Agile Scrum teams consist of people with different roles: there is a Product Owners, a Scrum master and the Scrum team. Read more on Agile Scrum trainings and certifications

Get Abhishek Rai’s stories in your inbox

Join Medium for free to get updates from this writer.

Kanban (Scrum Board): Agile team uses the Kanban methodology and digital boards to improve and scale projects by implementing visualization and tracking tools for work-in-progress (WIP), administration of tasks, and workflows to maximize efficiency. Teams define workflow states and cycles and work iteratively adjusting WIP limits and flow.

Pros of the Agile Model:

  • Flexibility: Agile allows for changes in requirements even late in the development process, making it highly adaptable to changing business needs.
  • Customer Collaboration: Frequent interactions with the customer ensure that the product being developed aligns closely with user needs and expectations.
  • Early and Continuous Delivery: Working software is delivered in short cycles (sprints), providing value to the customer early and regularly.
  • Risk Management: By delivering in small increments, risks are identified and mitigated early, reducing the chance of project failure.
  • Improved Quality: Continuous integration and testing throughout the development process lead to higher quality products.
  • Motivated Teams: Agile promotes a collaborative and self-organizing team environment, which often results in higher team motivation and productivity.

Cons of the Agile Model:

  • Less Predictability: Due to the iterative nature of Agile, it can be challenging to predict timelines, budgets, and resources accurately at the start.
  • Scope Creep: Since Agile allows for changes in requirements, there is a risk of scope creep if changes are not well-managed.
  • Documentation May Be Lacking: Agile focuses on working software over comprehensive documentation, which can be an issue in regulated industries or for future maintenance.
  • Requires Active User Involvement: Agile requires continuous customer or stakeholder involvement, which might be difficult to maintain in some projects.
  • Potential for Fragmentation: Continuous delivery of features might lead to a fragmented product if not managed properly, with some parts being overdeveloped while others lag behind.
  • Not Ideal for All Teams: Agile requires a cultural shift and may not work well in organizations with rigid structures or teams not accustomed to a fast-paced, collaborative environment.

Iterative Model:

Description:

  • Emphasizes repetition, where the software is developed and refined through multiple iterations, with each iteration improving on the previous one.
  • The Iterative Model is a software development approach that emphasizes repetition, where the software is developed in cycles or iterations. Each iteration produces a working version of the software, which is improved upon in subsequent iterations. This model allows for gradual refinement based on feedback and changing requirements.
Press enter or click to view image in full size

Image Credit Go To -> Inflectra.com

Where to Use the Iterative Model:

  • Large and Complex Projects: Ideal for projects where the full scope isn’t clear at the beginning, but a basic version can be developed and improved over time.
  • Projects with Changing Requirements: When requirements are expected to evolve as the project progresses, the Iterative Model allows for easy incorporation of changes.
  • New Technology or Research-Oriented Projects: For projects involving new technologies or requiring research, this model allows developers to learn and adapt as they progress.
  • High-Risk Projects: Projects with high technical risks can benefit from the Iterative Model, as it allows for early detection and resolution of issues in each iteration.
  • User Feedback-Driven Projects: When frequent user feedback is necessary to guide the development process, this model allows for adjustments based on that feedback.

Pros of the Iterative Model:

  • Flexibility: Allows for changes in requirements and design as the project evolves, making it adaptable to new information and user feedback.
  • Risk Management: Each iteration involves testing and evaluation, enabling early detection and mitigation of risks, reducing the chance of failure.
  • Continuous Improvement: With each iteration, the product is refined, and new features are added, leading to a more polished and user-aligned final product.
  • Early Product Delivery: Even though the product is not complete, a basic working version is available early, allowing for early feedback and usability testing.
  • Reduced Project Risk: By breaking the project into smaller, manageable iterations, the risk of total project failure is minimized, as issues can be addressed incrementally.

Cons of the Iterative Model:

  • Complex Management: Managing multiple iterations requires careful planning and coordination, which can be complex and resource-intensive.
  • Potential for Scope Creep: Continuous iterations may lead to scope creep if the project is not well-managed, as new features and changes keep being added.
  • Increased Resources and Costs: Repeated cycles of development, testing, and review can increase the time and cost compared to a linear approach like Waterfall.
  • Requires User Involvement: Continuous feedback from users is crucial for the Iterative Model to be successful, which may not always be feasible.
  • Difficulty in Measuring Progress: Because the project is developed incrementally, it can be challenging to measure overall progress and predict final completion timelines.

Spiral Model:

Description:

  • Combines iterative development with a risk-driven approach, emphasizing risk analysis and mitigation in each cycle.
  • The Spiral Model is a risk-driven software development approach that combines elements of both iterative and waterfall models. It emphasizes repeated cycles (or “spirals”) of planning, risk assessment, prototyping, and refinement, with a focus on identifying and mitigating risks early in the development process.

Image Credit Go To -> Bdtask.com

Where to Use the Spiral Model:

  • High-Risk Projects: Ideal for projects with significant risks (technical, financial, or managerial) that need to be addressed early and continuously.
  • Large and Complex Projects: Suitable for large-scale, complex projects where uncertainties and potential risks are high, and a phased approach is necessary to manage them.
  • Projects with Unclear Requirements: When the requirements are not fully understood at the beginning, the Spiral Model allows for iterative refinement and evolution of the requirements as the project progresses.
  • Mission-Critical Projects: In industries like defense, aerospace, and healthcare, where failures can have severe consequences, the Spiral Model helps manage and reduce risks effectively.
  • Projects Requiring Frequent Prototyping: When the project requires frequent prototyping to validate requirements, design, or functionality, the Spiral Model’s emphasis on prototyping is beneficial.

Pros of the Spiral Model:

  • Effective Risk Management: The model’s focus on risk assessment and mitigation in each iteration helps identify and address risks early, reducing the likelihood of project failure.
  • Flexibility: The iterative nature allows for changes in requirements and design throughout the development process, making it adaptable to evolving project needs.
  • Customer Involvement: Regular customer feedback is integrated into the development process, ensuring that the final product aligns with user needs and expectations.
  • Early Prototyping: Prototyping in each iteration allows for early detection of potential issues, providing a clearer understanding of the project’s direction and feasibility.
  • Incremental Development: The project is developed in manageable increments, allowing for phased delivery and continuous improvement of the product.

Cons of the Spiral Model:

  • Complexity: The Spiral Model can be complex to manage, requiring skilled project managers and rigorous documentation at each phase.
  • Costly and Time-Consuming: The repeated cycles of risk assessment, prototyping, and refinement can increase the overall cost and duration of the project compared to simpler models.
  • Requires Expertise: The success of the Spiral Model depends on accurate risk assessment and management, which requires experienced teams and project managers.
  • Not Suitable for Small Projects: For small or low-risk projects, the overhead of the Spiral Model may be unnecessary and could lead to inefficiencies.
  • Risk of Scope Creep: As the model allows for ongoing refinement, there’s a potential risk of scope creep if changes are not carefully managed and controlled

V-Model (Verification and Validation Model):

  • Description: An extension of the Waterfall model, where each development phase is associated with a corresponding testing phase, forming a “V” shape.
  • Advantages: Clear focus on testing and quality, easy to manage.
  • Disadvantages: Rigid structure with little flexibility for changes.

DevOps:

  • Description: Integrates development and operations teams to improve collaboration, automate processes, and deliver software continuously. It emphasizes continuous integration, continuous delivery (CI/CD), and monitoring.
  • Advantages: Faster delivery, better collaboration, and more reliable releases.
  • Disadvantages: Requires cultural change and investment in automation tools.

--

--