Agile Development Vocabulary
The Manifesto for Agile Software Development
Foundational Philosophy: Agile software development is centered on uncovering superior ways of developing software through hands-on practice and assisting others in the process.
Core Value Drivers (Primary Values vs. Traditional Process Values):
Individuals and interactions are valued over processes and tools.
Working software is valued over comprehensive documentation.
Customer collaboration is valued over contract negotiation.
Responding to change is valued over following a plan.
Value Qualification: While there is acknowledged value in the items on the right (processes, tools, documentation, contracts, and rigid plans), the items on the left are valued significantly more.
Authorship: Formulated by Kent Beck and colleagues.
Agility Concepts and the Cost of Change
Definition of Agility:
An effective, rapid, and adaptive response to change.
Effective communication among all team members and project stakeholders.
Directly drawing the customer onto the development team.
Organizing a team structure such that the team remains in complete control of the work performed.
Yielding rapid, incremental delivery of fully functional software.
Agility vs. Cost of Change:
Conventional Software Processes: The cost of change increases non-linearly (exponentially) as the development schedule progresses into late stages.
Agile Processes: The cost curve is flattened dramatically, keeping the financial and operational impact of change relatively low throughout the development schedule progress.
Idealized Agile Process Cost: A hypothetical near-flat horizontal line where late-stage changes incur minimally more cost than early-stage changes.
Agile Process Characteristics
Customer Scenario-Driven: The process is driven directly by customer descriptions of functional requirements and operational scenarios.
Transient Planning: Recognizes that long-term plans are inherently short-lived and require continuous adaptation.
Construction-Centric: Develops software iteratively with a primary emphasis on direct construction activities.
Incremental Delivery: Delivers multiple discrete software increments over time.
Adaptability: Dynamically adapts execution strategies whenever changes occur.
The Twelve Principles of Agility
Principle 1: The highest priority is to satisfy the customer through early and continuous delivery of valuable software.
Principle 2: Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage.
Principle 3: Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.
Principle 4: Business people and software developers must work together daily throughout the lifecycle of the project.
Principle 5: Build projects around motivated individuals. Provide them with the required environment and support, and trust them to get the job done.
Principle 6: The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.
Principle 7: Working software is the primary measure of progress.
Principle 8: Agile processes promote sustainable development. Sponsors, developers, and users should be able to maintain a constant pace indefinitely.
Principle 9: Continuous attention to technical excellence and good design enhances overall agility.
Principle 10: Simplicity — defined as the art of maximizing the amount of work not done — is essential.
Principle 11: The best architectures, requirements, and designs emerge from self-organizing teams.
Principle 12: At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.
Human Factors and Team Traits in Agile
Process Dynamics: The process must mold to the needs of the people and team, rather than forcing the people to adapt to a rigid process.
Essential Individual and Team Traits:
Competence: Technical skill and domain knowledge.
Common Focus: Shared goals across all team members.
Collaboration: Active mutual participation in task execution.
Decision-Making Ability: Autonomy to make project decisions.
Fuzzy Problem-Solving Ability: Capacity to handle ambiguous, ill-defined requirements.
Mutual Trust and Respect: Mutual reliance among team members.
Self-Organization: Autonomy in assigning and structuring internal team workload.
Extreme Programming (XP)
Creator: Proposed originally by Kent Beck; stands as the most widely used agile process.
XP Planning Phase:
Begins with the creation of "user stories" by the customer.
The agile team assesses each user story and assigns an estimated cost.
Stories are grouped together to form a deliverable software increment.
A formal commitment is established regarding the delivery date.
After the release of the first increment, project velocity (the rate at which user stories are implemented) is computed to define subsequent delivery dates for remaining increments.
XP Design Phase:
Adheres strictly to the Keep It Simple (KIS) principle.
Encourages the use of Class-Responsibility-Collaborator (CRC) cards.
For highly complex or difficult design problems, recommends creating spike solutions (targeted design prototypes).
Encourages continuous refactoring (iterative refinement of internal program design without changing external behavior).
XP Coding Phase:
Mandates the construction of an automated unit test for a user story before actual program coding commences.
Encourages pair programming, where two developers work together at a single workstation.
XP Testing Phase:
All unit tests are executed automatically and daily.
Acceptance tests are specified directly by the customer and executed to evaluate customer-visible system functionality.
XP Process Lifecycle Sequence:
.
Requirements Engineering: Use Cases vs. User Stories
Example 1: Railway Ticket Booking Application
Actor: Passenger
Goal: Train ticket booked
Sequential Use Case Format:
Passenger opens a railway ticket booking application.
Enters destination details.
Checks suitable train timings.
Selects the suitable train.
Enters personal details.
Selects payment option.
Credit card payment is completed.
Downloads the train ticket.
Corresponding User Story Format:
The passenger opened a train ticket booking application so that he could start booking a train ticket.
Passenger checked suitable train timings so that he can book an appropriate train.
Passenger selected a credit card payment option so that he can make payment with a credit card.
Passenger downloaded the train ticket so that he can print the ticket copy.
Passenger printed the train ticket so that he can travel in the train with the ticket.
Example 2: Automated Deposit cum Withdrawal Machine (ADWM)
Title: A/C holder depositing cash in ADWM
Actor: Account Holder
Use Case Steps:
Account holder visits ADWM machine.
Account holder selects cash deposit option on screen.
Adaptive Software Development (ASD)
Creator: Originally proposed by Jim Highsmith.
Distinguishing Features:
Driven by clear mission planning.
Focuses heavily on component-based development.
Utilizes time-boxing techniques.
Incorporates explicit and continuous consideration of risks.
Emphasizes collaboration for requirements gathering.
Emphasizes continuous learning throughout the software development life cycle.
Phases of the ASD Adaptive Lifecycle:
Speculation (Adaptive Cycle Planning): Leverages mission statements, project constraints, basic requirements, and time-boxed release planning.
Collaboration (Requirements Gathering): Uses Joint Application Development (JAD) sessions and mini-specs.
Learning (Component Testing and Feedback): Features components implemented and tested, evaluated via focus groups, formal technical reviews, and post-mortems.
Output: Software increment release with adjustments made for subsequent development cycles.
Dynamic Systems Development Method (DSDM)
Governing Body: Promoted by the DSDM Consortium ().
Nine Guiding Principles:
Active user involvement is imperative.
DSDM teams must be empowered to make authoritative decisions.
The primary focus is on frequent delivery of products.
Fitness for business purpose is the essential criterion for acceptance of deliverables.
Iterative and incremental development is necessary to converge on an accurate business solution.
All changes made during development are reversible.
Requirements are baselined at a high level.
Testing is fully integrated throughout the development life-cycle.
A collaborative and cooperative approach between all stakeholders is essential.
DSDM Lifecycle Flow:
Feasibility Study Business Study.
Functional Model Iteration: Identify functional prototype Create functional prototype Review functional prototype.
Design and Build Iteration: Identify design prototypes Create design prototype Review design prototype.
Implementation: Agree plan User approval & guidelines Train users Implement business aspects Review business aspects.
Scrum Methodology and Workflow
Creators: Originally proposed by Jeff Schwaber and Mike Beedle.
Historical Origin: The term "scrum" was first applied to product development in a 1986 paper titled The New New Product Development Game by Hirotaka Takeuchi and Ikujiro Nonaka.
Distinguishing Concept: Agile is an overarching project management philosophy; Scrum is a specific operational framework/methodology used to execute projects.
Distinguishing Features:
Development work is partitioned into discrete packets.
Testing and documentation are ongoing and concurrent with product construction.
Work occurs in fixed iterations termed sprints derived from a prioritized backlog.
Meetings are strictly time-boxed, short, and often conducted standing up.
Live product demos are delivered to customers at the end of every sprint time-box.
Key Artifacts and Roles:
Product Owner: Inputs requirements gathered from customers and team managers into a centralized list.
Product Backlog: A prioritized master list of product features desired by the customer.
Sprint Planning Meeting: Up to in duration. The team reviews the product backlog and commits to what can be delivered by the end of the sprint.
Sprint Backlog: The subset of backlog items expanded into specific operational tasks assigned to the team for the current sprint cycle.
Sprint Duration: Ranges from (or up to / ). No changes in deliverables or duration are allowed once a sprint begins.
Daily Scrum / Daily Standup Meeting:
Duration: Exactly every .
Three Core Questions:
What did you do since the last Scrum meeting?
Do you have any obstacles?
What will you do before the next meeting?
Sprint Closeout:
Sprint Review Meeting: Functional product additions are demonstrated to stakeholders.
Sprint Retrospective: Process reflection and performance adjustments.
Deliverable: Potentially Shippable Product Increment.
Crystal Process Framework
Creators: Proposed by Alistair Cockburn and Jim Highsmith.
Distinguishing Features:
Comprises a family of flexible process models tailored to specific problem characteristics and project critically.
Prioritizes direct face-to-face communication over rigid formal artifacts.
Mandates the use of reflection workshops at fixed intervals to evaluate and tune the working habits of the team.
Feature Driven Development (FDD)
Creators: Originally proposed by Peter Coad and colleagues.
Definition of Feature: A client-valued function that can be implemented in or less.
Standard Feature Template:
FDD Process Execution Sequence:
Develop an Overall Model: Establishes an initial object model (focuses on shape rather than detailed content).
Build a Features List: Groups features into comprehensive feature sets and subject areas.
Plan By Feature: Establishes a development plan, assigning ownership to Class Owners and Feature Set Owners.
Design By Feature: Creates design packages and sequence diagrams, adding detailed content to the object model.
Build By Feature: Completes unit implementation and validation, yielding a fully functional client-valued feature.
Design & Construction: Design and coding activities are combined directly within feature-based iterations.
Agile Modeling Principles
Creator: Originally proposed by Scott Ambler.
Core Principles:
Model with a purpose: Know why a specific model is being created before building it.
Use multiple models: Employ diverse modeling tools and diagram types to represent different system aspects.
Travel light: Retain only the minimum set of permanent artifacts required.
Content is more important than representation: Focus on the correctness and utility of information rather than superficial formatting.
Know the models and tools used: Understand the strengths, weaknesses, and mechanisms of selected modeling abstractions.
Adapt locally: Customize modeling practices to fit the precise contextual needs of the specific team and project.