XP Framework
XP Framework
Topic: XP Framework
• Communication
• Simplicity
• Feedback
• Respect &
• Courage
Principles of Extreme Programming
XP is based on following 5 principles:
• Rapid feedback
• Assumed simplicity
• Incremental changes
• Quality work
Extreme Programming Practices
Extreme programming has been described as having 12 practices,
grouped into four areas:
Fine-scale feedback
• Pair programming
• Planning game
• Test-driven development
• Whole team
Programmer welfare
• Sustainable pace
Extreme Programming Practices
Continuous process
• Continuous integration
• Refactoring or design improvement
• Small releases
Shared understanding
• Coding standards
• Collective code ownership
• Simple design
XP Practices: Fine Scale Feedback
Pair programming
This practice requires two programmers to work jointly on the same code. While
the first developer focuses on writing, the other one reviews code, suggests
improvements, and fixes mistakes along the way.
Planning game
This is a meeting that occurs at the beginning of an iteration cycle. The
development team and the customer get together to discuss and approve a product’s
features.
Test-driven development
XP teams practice test-driven development technique (TTD) that entails writing an
automated unit test before the code itself.
Whole team/On-site Customer
In XP, the end customer should fully participate in development.
XP Practices: Programmer Welfare /
Working Conditions
Sustainable Pace / Programmer’s work conditions
Small Releases
This practice suggests releasing the first version quickly and further developing the
product by making small and incremental updates.
XP Practices: Shared Understanding
Coding Standards
A team must have common sets of coding practices, using the same formats and
styles for code writing.
Collective Code Ownership
This practice declares a whole team’s responsibility for the design of a system.
Each team member can review and update code.
Simple Design
The best design for software is the simplest one that works. If any complexity is
found, it should be removed.
Extreme Programming Framework
When to use XP
XP framework can be applied in following cases:
• Risky projects,
• Small teams,
• Automated testing,