SDLC & Agile

How software gets built — the software development life cycle, waterfall and its trade-offs, the Agile manifesto, Scrum roles, events and artefacts, Kanban and flow metrics, Extreme Programming practices, DevOps culture, and choosing a process that fits.

Beginner 6 min readLesson 1 of 9

Writing code is one part of building software. Teams also need to decide what to build, in what order, how to coordinate, and how to learn whether it worked. The software development life cycle (SDLC) names the activities; process models like Waterfall, Scrum and Kanban organise them.

The SDLC activities

ActivityQuestionsOutputs
PlanningWhy build this? What's the value, cost, risk?Goals, scope, roadmap
RequirementsWhat must it do, for whom, how well?User stories, specs, acceptance criteria (Requirements)
DesignHow will it work?Architecture, data models, API contracts, design docs (Documentation)
ImplementationBuild it wellCode, reviews (Code review)
TestingDoes it work and keep working?Automated tests, QA (Testing)
DeploymentGet it to users safelyReleases, CI/CD (CI/CD)
Maintenance and operationsKeep it running and evolvingMonitoring, fixes, improvements (Monitoring and SRE)

Every process does all of these. The difference is how long each cycle is and how much is decided up front.

Waterfall

Phases happen sequentially, each finishing (and being signed off) before the next starts: requirements → design → implementation → testing → deployment.

StrengthsWeaknesses
Clear milestones, documentation and contractsRequirements are frozen when understanding is lowest
Fits fixed-scope, well-understood, regulated work (some aerospace, medical, construction-like projects)Testing happens late — integration surprises appear when changes are most expensive
Easy to estimate and budget on paperUsers see working software only at the end; feedback comes too late

Ironically, Winston Royce's 1970 paper often cited as defining waterfall actually warned that the purely sequential approach "is risky and invites failure" and recommended iteration.

The cost of change rises the later a defect or misunderstanding is discovered. Iterative processes attack this by shortening the loop between deciding and learning.

Iterative and incremental development

Build the system in small slices, each a working increment, and use feedback from each slice to steer the next. The spiral model (risk-driven iterations), the Rational Unified Process and all Agile methods are variations.

The Agile manifesto (2001)

We value individuals and interactions over processes and tools, working software over comprehensive documentation, customer collaboration over contract negotiation, responding to change over following a plan. That is, while there is value in the items on the right, we value the items on the left more.

Key principles: deliver working software frequently; welcome changing requirements; business people and developers work together daily; sustainable pace; technical excellence; simplicity — "maximising the amount of work not done"; regular reflection and adjustment.

Agile is a set of values, not a specific ceremony list — "doing Agile" (rituals) is different from "being agile" (short feedback loops and adapting).

Scrum

The most widely used Agile framework. Work happens in fixed-length sprints (1–4 weeks, commonly 2), each producing a usable increment.

ElementDetail
Product ownerOwns the product backlog; maximises value; decides priorities
Scrum masterCoaches the process, removes impediments, protects the team
DevelopersCross-functional team (typically 3–9) that builds the increment
Product backlogOrdered list of everything that might be built
Sprint backlogItems selected for this sprint plus the plan to deliver them
IncrementWorking product meeting the Definition of Done
  1. Sprint planning: choose a sprint goal and the backlog items to achieve it.
  2. Daily scrum (15 minutes): inspect progress toward the goal; surface blockers.
  3. Development throughout the sprint, with backlog refinement to prepare upcoming items.
  4. Sprint review: demo the increment to stakeholders; adapt the backlog based on feedback.
  5. Retrospective: inspect how the team works; pick concrete improvements.

Common anti-patterns: daily scrums as status reports to a manager; velocity used as a performance target (it then inflates); sprints that end with "90% done" work; skipping retrospectives; a product owner who is unavailable.

Kanban

A flow-based method from lean manufacturing (Toyota). No fixed iterations — work items move across a board continuously.

| Backlog | Ready (5) | In progress (3) | Review (2) | Done |
|   …     |   A  B    |   C  D  E       |   F        |  …   |

Core practices:

  • Visualise the workflow on a board.
  • Limit work in progress (WIP) per column: stop starting, start finishing. WIP limits expose bottlenecks (a full review column means reviewers are the constraint).
  • Manage flow: measure and improve it.
  • Make policies explicit; improve collaboratively.
Flow metricMeaning
Lead timeRequest → delivered (what customers feel)
Cycle timeWork started → delivered
ThroughputItems finished per week
WIPItems in progress

Little's law ties them together: average cycle time = average WIP ÷ average throughput. To deliver faster without working harder, reduce WIP.

ScrumKanban
CadenceFixed sprintsContinuous flow
RolesPrescribed (PO, SM, developers)None required
Change mid-cycleDiscouraged within a sprintAny time
Key metricVelocity, sprint goalCycle time, throughput
FitsProduct development with planning rhythmOps, support, maintenance, unpredictable inflow; mature teams

Many teams use a hybrid ("Scrumban").

Extreme Programming (XP)

XP focuses on engineering practices that make frequent change safe — many now standard everywhere:

  • Test-driven development and automated tests (Testing).
  • Continuous integration: integrate many times a day (CI/CD).
  • Pair programming (and its successor, mob/ensemble programming).
  • Refactoring continuously; simple design (YAGNI — you aren't gonna need it) (Clean code).
  • Small releases, collective code ownership, sustainable pace, an on-site customer.

Process frameworks without these practices tend to deliver poorly at speed; Agile ceremonies don't make bad code easy to change.

DevOps and continuous delivery

DevOps extends agility past "code complete" to production: developers and operations share responsibility for delivery and reliability, automate the path to production, and measure outcomes with DORA metrics — deployment frequency, lead time for changes, change failure rate, and time to restore (CI/CD). "You build it, you run it."

Choosing a process

SituationLeaning
Uncertain requirements, new product, fast feedback availableScrum or Kanban with XP practices
Interrupt-driven work (support, platform, SRE)Kanban
Fixed regulatory scope, safety-critical, hardware dependenciesMore up-front design and documentation; iterate within phases
Very small team or startupLightweight Kanban, continuous delivery, minimal ceremony
Many teams on one productScaling approaches (LeSS, SAFe, Spotify-style squads) — add coordination carefully

The best process is the lightest one that keeps the team aligned, delivering, and learning — and the team should keep adapting it in retrospectives.

Key takeaways
  • The SDLC: plan, require, design, implement, test, deploy, operate — every process does all of them.
  • Waterfall runs phases sequentially: predictable on paper, but late feedback makes change expensive.
  • Agile values working software, collaboration and responding to change through short feedback loops.
  • Scrum: product owner, scrum master, developers; sprints with planning, daily scrum, review and retrospective.
  • Kanban: visualise work, limit WIP, manage flow; Little's law links WIP, cycle time and throughput.
  • XP's engineering practices (TDD, CI, refactoring, pairing) make frequent change safe; DevOps extends ownership into production.