SlideShare a Scribd company logo
1 of 48
Download to read offline
Agile Goa 2007

    Introduction of
eXtreme Programming


      Vikas Hazrati
      Oct 31, 2007
Agenda
What is XP?
History of Extreme Programming
XP Core Components
XP Values
XP Principles
The Whole XP Team
XP Flowcharts
FAQs
Questions

                 www.xebia.com
What is XP?
XP is a philosophy of software development
based on well laid out values, principles and
practices.


Goal of XP is outstanding software
development at lower cost, with fewer
defects, high productivity and much higher
return on investment.



                   www.xebia.com
What is XP?
Another methodology but why?

  • Social Change- Giving up defences
  • Based on Excellent programming techniques, clear
    communication and teamwork
  • Lightweight – only do whatever adds value to the
    customer
  • Addresses constraints in software development
  • Can work with teams of any size
  • Adapts to rapidly changing requirements


                     www.xebia.com
What is XP?
XP addresses risks at all levels of
development process

  • Schedule Slips
  • Defect Rate
  • Business misunderstood
  • Business changes
  • False feature list
  • Staff turnover


                   www.xebia.com
History of Extreme
          Programming
Early Influences
    Incremental, stakeholder-driven design process

    from Alexander
    Programming as learning from Papert, Kay


Kent Beck & Ward Cunningham
    Mid-80s – Pair programming at Tektronix


    80s, 90s – Smalltalk culture produces refactoring,

    continuous integration, constant testing, close
    customer involvement
    Generalized to other environments


    Early 90s – Core values developed within

    patterns community, Hillside Group

                      www.xebia.com
History of Extreme
       Programming
Scrum practices incorporated and
adapted as planning game
1999 – Extreme Programming Explained
1999 – Fowler publishes Refactoring
1999 – XP Immersion held, e-group
formed
2000 – more books, first conferences
Evolution continues through today


              www.xebia.com
Core Components


                                   Practices
      Values

                   Principles


Values bring purpose to practices.
Practices are evidence of values.
Principles are domain specific guidelines for
life.

                   www.xebia.com
The Five Core Values of
          XP

Communication.
Simplicity.
Feedback.
Courage.
Respect




                          9
Communication

Often problem that arise in SW project
can be tracked back to lack of
communication.
XP enforces the Communication Value by
employing many practice that could not
be carried without communicating (e.g.
pair programming, unit testing etc.).
XP employs a Coach whose job is that of
noticing when people are not
communicating and reintroduce them.
                                          10
Simplicity

''Do the simplest thing that could possibly
work'' (DTSTTCPW) principle (elsewhere
known as KISS).

An XP coach may say DTSTTCPW when he
sees an XP developer doing something that is
needlessly complicated.

YAGNI principle (''You ain’t gonna need it'')

Simplicity and Communication support each
other mutually.

                                                11
Feedback
Feedback works in XP at different time scales.

Programmers have feedback on a minutes
time scale on the status of the system thanks
to unit tests.

When customers write new stories the
programmers estimate those immediately to
give prompt feedback to the customer about
the quality of the stories.

The customer review the scheduler every 2-3
weeks and provide prompt feedback to the
developer.
                                             12
Courage

XP team should have the courage of throwing
code away.

XP team should have the courage of mainly
refactor the architecture of the system, if
architectural flaw are detected.

Courage with counterbalancing values is
dangerous. Doing something without regard
for consequences is not effective teamwork.



                                              13
Respect

Respect for team members.
Respect for the project.




                            14
Core Components



                     Practices
Values

         Practices




                                 15
XP Principles
Humanity- People, What do people need to
become good developers?


Economics- Every action should have business
value.

Mutual Benefit- Most important and most difficult
to adhere to. Extensive internal documentation.

Self Similarity- You can copy structure of one
solution to a new context. Theme, story, tests
                     www.xebia.com
XP Principles
Improvement- In software development “perfect”
is a verb not adjective.


Diversity- Teams need diversity.

Reflection- How and Why of working.

Flow- Steady flow of valuable software. RDITID

Opportunities- Problems are opportunities.
                     www.xebia.com
XP Principles
Redundancy- Do not remove redundancy that
serves a valid purpose.


Failure- Is failure a waste?

Quality- Cost of quality? Quality ~ Productivity

Baby Steps- Rapid small steps = leap.

Accepted Responsibility- Responsibility cannot be
assigned.
                      www.xebia.com
Core Components



                      Practices
Values

         Principles




                                  19
Practices


Primary                      Corollary




             www.xebia.com
Primary Practices
Sit Together
Whole Team
Informative workspace
Energized work
Pair Programming
Stories
Weekly Cycle
Quarterly Cycle
Slack
10 minute build
Continuous Integration
Test First Programming
Incremental Design

                     www.xebia.com
Sit Together / Whole Team




           www.xebia.com
Sit Together / Whole Team




           www.xebia.com
Informative Workspace




         www.xebia.com
Informative Workspace




         www.xebia.com
Informative Workspace




         www.xebia.com
Energized work
Work only as many hours as
productive
Ideally 40 hours a week
Programming productivity is seen to
be 4-5 hours a day




               www.xebia.com
Pair Programming




      www.xebia.com
Pair Programming




      www.xebia.com
Stories
Units of
customer
visible
functionality.
Should be on
the story wall
for everyone to
look at.

                  www.xebia.com
Stories
Stories v/s Use Cases
    A story is not a use case, a use case is not a story


    A use case defines functional requirements in total


    Set of use cases define breadth and depth of system

    behaviour, augmented with non-functional
    requirements
    A story points to a portion of breadth and depth


    Stories incrementally build up full scope


    Usually 2-3 days of work


    Further broken down into tasks





                         www.xebia.com
Weekly / Quarterly Cycles
Weekly Cycles- Start week by writing
automated tests and then the week
implementing them, mainly about stories and
tasks.
Quarterly Cycles- Plan for releases which
cover themes. Themes can be broken down
into stories for weekly cycles




                  www.xebia.com
More...
Slack
Ten Minute Build
Continuous Integration
Test First Programming
Incremental Design
 Do the simplest thing that
  can possibly work
 Refactor



                   www.xebia.com
Practices


Primary                      Corollary




             www.xebia.com
Corollary Practices
Real Customer Involvement- No customer
or proxy customer are not as effective
Incremental Deployment- Build little
pieces and deploy it!
Team Continuity- Do not shuffle the team
too often.
Shrinking Teams



                 www.xebia.com
Corollary Practices
Root Cause Analysis- 5 Why's
Shared Code- No ownership
Code and Tests- The only artifacts
Single code base- Avoid multiple streams
Daily Deployment
Negotiated Scope Contract- Ongoing
negotiation on precise scope.



                 www.xebia.com
The Whole XP Team

Emphasis on the “Whole Team”

Collaboration and collocation




             www.xebia.com
The Whole XP Team

             Programmers
                                   Users


 Testers
                                             Project
                                             Manager




Architects
                                            Product
                                            Manager
             Interaction     Stakeholders
              Designers


                           www.xebia.com
XP Project




             39
XP Project Iteration




                       40
XP Project Development




                         41
XP Project Coding




                    42
FAQs




Some Frequently asked questions
          about XP




                                  43
XP vs. Rational Unified
                        Process
                       XP                         RUP


Primary Communication Short Daily Face to         Client Status Meetings,
Medium                Face meetings, Pair         Design Meetings
                      Programming
Development            Code, Refine, Test         Design, Document,
Methodology                                       Code, Test

Focuses on             Delivering software        Following the process
                       quickly                    to develop good
                                                  software
Quality Focus          Eliminate Defects as       Eliminate defects on a
                       early as possible in the   scheduled basis with a
                       process using whole        separate team
                       team

                                                                       44
Scaling XP
XP seems to allow smaller teams to
accomplish an awful lot
XP seems to hit single-team challenges
around 12-16 developers
XP can scale by building recursive teams
Recommended to build small team first,
incrementally grow, and use first team to
seed recursive teams
XP has been used on teams of 40-50

                 www.xebia.com
Documentation

XP is a minimalist process
Many teams successful with index cards
and large Post-Its®
XP is not anti-documentation, but
encourages doing the least amount that is
really needed
Document when needed for distributed
sharing, historical needs, summarizing, etc.


                 www.xebia.com
Adopting XP
Find a suitable team and project
Two strategies:
  Adopt XP by-the-book first, then modify
  Refactor your process incrementally to
   XP
Be mindful of practice synergies
Manage the team culture and change
Allow sufficient time for feedback and
learning
An experienced coach can be valuable
                 www.xebia.com
Questions




  ?
   www.xebia.com

More Related Content

What's hot

Overview of Agile Methodology
Overview of Agile MethodologyOverview of Agile Methodology
Overview of Agile Methodology
Haresh Karkar
 

What's hot (20)

Extreme Programming ppt
Extreme Programming pptExtreme Programming ppt
Extreme Programming ppt
 
12 principles for Agile Development
12 principles for Agile Development 12 principles for Agile Development
12 principles for Agile Development
 
Agile Methodologies And Extreme Programming
Agile Methodologies And Extreme ProgrammingAgile Methodologies And Extreme Programming
Agile Methodologies And Extreme Programming
 
Agile methodology
Agile methodologyAgile methodology
Agile methodology
 
extreme Programming
extreme Programmingextreme Programming
extreme Programming
 
Introduction agile scrum methodology
Introduction agile scrum methodologyIntroduction agile scrum methodology
Introduction agile scrum methodology
 
Agile Methodology
Agile MethodologyAgile Methodology
Agile Methodology
 
Extreme programming (xp) | David Tzemach
Extreme programming (xp) | David TzemachExtreme programming (xp) | David Tzemach
Extreme programming (xp) | David Tzemach
 
Agile Methodology and Tools
Agile Methodology and ToolsAgile Methodology and Tools
Agile Methodology and Tools
 
Agile Development Methodology: Best Practices and Use Cases
Agile Development Methodology: Best Practices and Use CasesAgile Development Methodology: Best Practices and Use Cases
Agile Development Methodology: Best Practices and Use Cases
 
Agile Metrics
Agile MetricsAgile Metrics
Agile Metrics
 
Scrum In Ten Slides
Scrum In Ten SlidesScrum In Ten Slides
Scrum In Ten Slides
 
Agile sdlc
Agile sdlcAgile sdlc
Agile sdlc
 
Agile Methodology ppt
Agile Methodology pptAgile Methodology ppt
Agile Methodology ppt
 
Agile Methodology
Agile MethodologyAgile Methodology
Agile Methodology
 
Business Value of Agile Testing: Using TDD, CI, CD, & DevOps
Business Value of Agile Testing: Using TDD, CI, CD, & DevOpsBusiness Value of Agile Testing: Using TDD, CI, CD, & DevOps
Business Value of Agile Testing: Using TDD, CI, CD, & DevOps
 
Overview of Agile Methodology
Overview of Agile MethodologyOverview of Agile Methodology
Overview of Agile Methodology
 
Agile effort estimation
Agile effort estimation Agile effort estimation
Agile effort estimation
 
Agile Methodology in Software Development
Agile Methodology in Software DevelopmentAgile Methodology in Software Development
Agile Methodology in Software Development
 
Extreme Programming
Extreme ProgrammingExtreme Programming
Extreme Programming
 

Viewers also liked

Extreme programming
Extreme programmingExtreme programming
Extreme programming
Mr SMAK
 
Xp exterme-programming-model
Xp exterme-programming-modelXp exterme-programming-model
Xp exterme-programming-model
Ali MasudianPour
 
Introduction to Scrum.ppt
Introduction to Scrum.pptIntroduction to Scrum.ppt
Introduction to Scrum.ppt
Mohan Late
 
Extreme Programming practices for your team
Extreme Programming practices for your teamExtreme Programming practices for your team
Extreme Programming practices for your team
Pawel Lipinski
 
Prototyping in Web Software Development
Prototyping in Web Software DevelopmentPrototyping in Web Software Development
Prototyping in Web Software Development
Erkki Tapola
 
Dynamic system development method
Dynamic system development methodDynamic system development method
Dynamic system development method
ion_ion_ion
 

Viewers also liked (20)

Extreme programming
Extreme programmingExtreme programming
Extreme programming
 
Introduction To Extreme Programming
Introduction To Extreme ProgrammingIntroduction To Extreme Programming
Introduction To Extreme Programming
 
Xp exterme-programming-model
Xp exterme-programming-modelXp exterme-programming-model
Xp exterme-programming-model
 
XP In 10 slides
XP In 10 slidesXP In 10 slides
XP In 10 slides
 
Extreme Programming
Extreme ProgrammingExtreme Programming
Extreme Programming
 
Introduction to Scrum.ppt
Introduction to Scrum.pptIntroduction to Scrum.ppt
Introduction to Scrum.ppt
 
Scrum In 15 Minutes
Scrum In 15 MinutesScrum In 15 Minutes
Scrum In 15 Minutes
 
Xp(Xtreme Programming) presentation
Xp(Xtreme Programming) presentationXp(Xtreme Programming) presentation
Xp(Xtreme Programming) presentation
 
Extreme Programming practices for your team
Extreme Programming practices for your teamExtreme Programming practices for your team
Extreme Programming practices for your team
 
WeActuallyBuildStuff - Extreme Programming Live
WeActuallyBuildStuff - Extreme Programming LiveWeActuallyBuildStuff - Extreme Programming Live
WeActuallyBuildStuff - Extreme Programming Live
 
Vertical vs horizontal software architecture ruby conf india 2016
Vertical vs horizontal software architecture ruby conf india 2016Vertical vs horizontal software architecture ruby conf india 2016
Vertical vs horizontal software architecture ruby conf india 2016
 
Prototyping in Web Software Development
Prototyping in Web Software DevelopmentPrototyping in Web Software Development
Prototyping in Web Software Development
 
Dynamic system development method
Dynamic system development methodDynamic system development method
Dynamic system development method
 
Prototypemodel
PrototypemodelPrototypemodel
Prototypemodel
 
Zahid Asd
Zahid AsdZahid Asd
Zahid Asd
 
10 adaptive sd_15
10 adaptive sd_1510 adaptive sd_15
10 adaptive sd_15
 
Going extreme-with-extreme-programming
Going extreme-with-extreme-programmingGoing extreme-with-extreme-programming
Going extreme-with-extreme-programming
 
Extreme Programming (XP) for Dummies
Extreme Programming (XP) for DummiesExtreme Programming (XP) for Dummies
Extreme Programming (XP) for Dummies
 
Scrum
ScrumScrum
Scrum
 
Feature Driven Development
Feature Driven DevelopmentFeature Driven Development
Feature Driven Development
 

Similar to Introduction to Extreme Programming

Agile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin NakovAgile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin Nakov
Svetlin Nakov
 
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
Extreme  Programming    Talk Wise  Consulting   Www.TalkwiseconsultingExtreme  Programming    Talk Wise  Consulting   Www.Talkwiseconsulting
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
talkwiseone
 
Extreme programming talk wise consulting - www.talkwiseconsulting
Extreme programming   talk wise consulting - www.talkwiseconsultingExtreme programming   talk wise consulting - www.talkwiseconsulting
Extreme programming talk wise consulting - www.talkwiseconsulting
talkwiseone
 

Similar to Introduction to Extreme Programming (20)

xTreme Programming by Sejo Ćesić and Enis Zeherović
xTreme Programming by Sejo Ćesić and Enis ZeherovićxTreme Programming by Sejo Ćesić and Enis Zeherović
xTreme Programming by Sejo Ćesić and Enis Zeherović
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Agile Values, Principles and Practices
Agile Values, Principles and PracticesAgile Values, Principles and Practices
Agile Values, Principles and Practices
 
Agile Engineering Practices
Agile Engineering PracticesAgile Engineering Practices
Agile Engineering Practices
 
Agile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin NakovAgile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin Nakov
 
Extreme delivery - Lean Agile Scotland 2019 (Abridged)
Extreme delivery - Lean Agile Scotland 2019 (Abridged)Extreme delivery - Lean Agile Scotland 2019 (Abridged)
Extreme delivery - Lean Agile Scotland 2019 (Abridged)
 
Analysis of the interaction between practices for introducing XP effectively
Analysis of the interaction between practices for introducing XP effectivelyAnalysis of the interaction between practices for introducing XP effectively
Analysis of the interaction between practices for introducing XP effectively
 
Agile methods series (xp)
Agile methods series (xp)Agile methods series (xp)
Agile methods series (xp)
 
Periodic Table of Agile Principles and Practices
Periodic Table of Agile Principles and PracticesPeriodic Table of Agile Principles and Practices
Periodic Table of Agile Principles and Practices
 
Unit 9 and Unit 10.pptx
Unit 9 and Unit 10.pptxUnit 9 and Unit 10.pptx
Unit 9 and Unit 10.pptx
 
Extreme Programming 1st.pdf
Extreme Programming 1st.pdfExtreme Programming 1st.pdf
Extreme Programming 1st.pdf
 
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
Extreme  Programming    Talk Wise  Consulting   Www.TalkwiseconsultingExtreme  Programming    Talk Wise  Consulting   Www.Talkwiseconsulting
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
 
Extreme programming talk wise consulting - www.talkwiseconsulting
Extreme programming   talk wise consulting - www.talkwiseconsultingExtreme programming   talk wise consulting - www.talkwiseconsulting
Extreme programming talk wise consulting - www.talkwiseconsulting
 
Agile Methodology
Agile MethodologyAgile Methodology
Agile Methodology
 
Agile testing
Agile testingAgile testing
Agile testing
 
Waterfallacies V1 1
Waterfallacies V1 1Waterfallacies V1 1
Waterfallacies V1 1
 
XP vs Lean vs FDD
XP vs Lean vs FDDXP vs Lean vs FDD
XP vs Lean vs FDD
 
Agile Testing 20021015
Agile Testing 20021015Agile Testing 20021015
Agile Testing 20021015
 
Testing Sap: Modern Methodology
Testing Sap: Modern MethodologyTesting Sap: Modern Methodology
Testing Sap: Modern Methodology
 
XP, Scrum, Lean and the Lean Startup
XP, Scrum, Lean and the Lean StartupXP, Scrum, Lean and the Lean Startup
XP, Scrum, Lean and the Lean Startup
 

More from Naresh Jain

Organizational Resilience
Organizational ResilienceOrganizational Resilience
Organizational Resilience
Naresh Jain
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming Code
Naresh Jain
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
Naresh Jain
 

More from Naresh Jain (20)

Problem Solving Techniques For Evolutionary Design
Problem Solving Techniques For Evolutionary DesignProblem Solving Techniques For Evolutionary Design
Problem Solving Techniques For Evolutionary Design
 
Agile India 2019 Conference Welcome Note
Agile India 2019 Conference Welcome NoteAgile India 2019 Conference Welcome Note
Agile India 2019 Conference Welcome Note
 
Organizational Resilience
Organizational ResilienceOrganizational Resilience
Organizational Resilience
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming Code
 
Agile India 2018 Conference Summary
Agile India 2018 Conference SummaryAgile India 2018 Conference Summary
Agile India 2018 Conference Summary
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
 
Pilgrim's Progress to the Promised Land by Robert Virding
Pilgrim's Progress to the Promised Land by Robert VirdingPilgrim's Progress to the Promised Land by Robert Virding
Pilgrim's Progress to the Promised Land by Robert Virding
 
Concurrent languages are Functional by Francesco Cesarini
Concurrent languages are Functional by Francesco CesariniConcurrent languages are Functional by Francesco Cesarini
Concurrent languages are Functional by Francesco Cesarini
 
Erlang from behing the trenches by Francesco Cesarini
Erlang from behing the trenches by Francesco CesariniErlang from behing the trenches by Francesco Cesarini
Erlang from behing the trenches by Francesco Cesarini
 
Anatomy of an eCommerce Search Engine by Mayur Datar
Anatomy of an eCommerce Search Engine by Mayur DatarAnatomy of an eCommerce Search Engine by Mayur Datar
Anatomy of an eCommerce Search Engine by Mayur Datar
 
Setting up Continuous Delivery Culture for a Large Scale Mobile App
Setting up Continuous Delivery Culture for a Large Scale Mobile AppSetting up Continuous Delivery Culture for a Large Scale Mobile App
Setting up Continuous Delivery Culture for a Large Scale Mobile App
 
Towards FutureOps: Stable, Repeatable environments from Dev to Prod
Towards FutureOps: Stable, Repeatable environments from Dev to ProdTowards FutureOps: Stable, Repeatable environments from Dev to Prod
Towards FutureOps: Stable, Repeatable environments from Dev to Prod
 
Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas
 
No Silver Bullets in Functional Programming by Brian McKenna
No Silver Bullets in Functional Programming by Brian McKennaNo Silver Bullets in Functional Programming by Brian McKenna
No Silver Bullets in Functional Programming by Brian McKenna
 
Functional Programming Conference 2016
Functional Programming Conference 2016Functional Programming Conference 2016
Functional Programming Conference 2016
 
Agile India 2017 Conference
Agile India 2017 ConferenceAgile India 2017 Conference
Agile India 2017 Conference
 
The Eclipse Way
The Eclipse WayThe Eclipse Way
The Eclipse Way
 
Unleashing the Power of Automated Refactoring with JDT
Unleashing the Power of Automated Refactoring with JDTUnleashing the Power of Automated Refactoring with JDT
Unleashing the Power of Automated Refactoring with JDT
 

Recently uploaded

Recently uploaded (20)

Fixed exchange rate and flexible exchange rate.pptx
Fixed exchange rate and flexible exchange rate.pptxFixed exchange rate and flexible exchange rate.pptx
Fixed exchange rate and flexible exchange rate.pptx
 
Benefits & Risk Of Stock Loans
Benefits & Risk Of Stock LoansBenefits & Risk Of Stock Loans
Benefits & Risk Of Stock Loans
 
Dubai Call Girls Deira O525547819 Dubai Call Girls Bur Dubai Multiple
Dubai Call Girls Deira O525547819 Dubai Call Girls Bur Dubai MultipleDubai Call Girls Deira O525547819 Dubai Call Girls Bur Dubai Multiple
Dubai Call Girls Deira O525547819 Dubai Call Girls Bur Dubai Multiple
 
Bhubaneswar🌹Ravi Tailkes ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ...
Bhubaneswar🌹Ravi Tailkes  ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ...Bhubaneswar🌹Ravi Tailkes  ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ...
Bhubaneswar🌹Ravi Tailkes ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ...
 
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budgetCall Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
 
Toronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfToronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdf
 
Virar Best Sex Call Girls Number-📞📞9833754194-Poorbi Nalasopara Housewife Cal...
Virar Best Sex Call Girls Number-📞📞9833754194-Poorbi Nalasopara Housewife Cal...Virar Best Sex Call Girls Number-📞📞9833754194-Poorbi Nalasopara Housewife Cal...
Virar Best Sex Call Girls Number-📞📞9833754194-Poorbi Nalasopara Housewife Cal...
 
Vip Call Girls Rasulgada😉 Bhubaneswar 9777949614 Housewife Call Girls Servic...
Vip Call Girls Rasulgada😉  Bhubaneswar 9777949614 Housewife Call Girls Servic...Vip Call Girls Rasulgada😉  Bhubaneswar 9777949614 Housewife Call Girls Servic...
Vip Call Girls Rasulgada😉 Bhubaneswar 9777949614 Housewife Call Girls Servic...
 
Q1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdfQ1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdf
 
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
Female Escorts Service in Hyderabad Starting with 5000/- for Savita Escorts S...
 
In Sharjah ௵(+971)558539980 *_௵abortion pills now available.
In Sharjah ௵(+971)558539980 *_௵abortion pills now available.In Sharjah ௵(+971)558539980 *_௵abortion pills now available.
In Sharjah ௵(+971)558539980 *_௵abortion pills now available.
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunities
 
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
 
Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...
Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...
Certified Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil ba...
 
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & RequirementsExplore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdf
 
7 steps to achieve financial freedom.pdf
7 steps to achieve financial freedom.pdf7 steps to achieve financial freedom.pdf
7 steps to achieve financial freedom.pdf
 
logistics industry development power point ppt.pdf
logistics industry development power point ppt.pdflogistics industry development power point ppt.pdf
logistics industry development power point ppt.pdf
 
Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024
 
7 tips trading Deriv Accumulator Options
7 tips trading Deriv Accumulator Options7 tips trading Deriv Accumulator Options
7 tips trading Deriv Accumulator Options
 

Introduction to Extreme Programming

  • 1. Agile Goa 2007 Introduction of eXtreme Programming Vikas Hazrati Oct 31, 2007
  • 2. Agenda What is XP? History of Extreme Programming XP Core Components XP Values XP Principles The Whole XP Team XP Flowcharts FAQs Questions www.xebia.com
  • 3. What is XP? XP is a philosophy of software development based on well laid out values, principles and practices. Goal of XP is outstanding software development at lower cost, with fewer defects, high productivity and much higher return on investment. www.xebia.com
  • 4. What is XP? Another methodology but why? • Social Change- Giving up defences • Based on Excellent programming techniques, clear communication and teamwork • Lightweight – only do whatever adds value to the customer • Addresses constraints in software development • Can work with teams of any size • Adapts to rapidly changing requirements www.xebia.com
  • 5. What is XP? XP addresses risks at all levels of development process • Schedule Slips • Defect Rate • Business misunderstood • Business changes • False feature list • Staff turnover www.xebia.com
  • 6. History of Extreme Programming Early Influences Incremental, stakeholder-driven design process  from Alexander Programming as learning from Papert, Kay  Kent Beck & Ward Cunningham Mid-80s – Pair programming at Tektronix  80s, 90s – Smalltalk culture produces refactoring,  continuous integration, constant testing, close customer involvement Generalized to other environments  Early 90s – Core values developed within  patterns community, Hillside Group www.xebia.com
  • 7. History of Extreme Programming Scrum practices incorporated and adapted as planning game 1999 – Extreme Programming Explained 1999 – Fowler publishes Refactoring 1999 – XP Immersion held, e-group formed 2000 – more books, first conferences Evolution continues through today www.xebia.com
  • 8. Core Components Practices Values Principles Values bring purpose to practices. Practices are evidence of values. Principles are domain specific guidelines for life. www.xebia.com
  • 9. The Five Core Values of XP Communication. Simplicity. Feedback. Courage. Respect 9
  • 10. Communication Often problem that arise in SW project can be tracked back to lack of communication. XP enforces the Communication Value by employing many practice that could not be carried without communicating (e.g. pair programming, unit testing etc.). XP employs a Coach whose job is that of noticing when people are not communicating and reintroduce them. 10
  • 11. Simplicity ''Do the simplest thing that could possibly work'' (DTSTTCPW) principle (elsewhere known as KISS). An XP coach may say DTSTTCPW when he sees an XP developer doing something that is needlessly complicated. YAGNI principle (''You ain’t gonna need it'') Simplicity and Communication support each other mutually. 11
  • 12. Feedback Feedback works in XP at different time scales. Programmers have feedback on a minutes time scale on the status of the system thanks to unit tests. When customers write new stories the programmers estimate those immediately to give prompt feedback to the customer about the quality of the stories. The customer review the scheduler every 2-3 weeks and provide prompt feedback to the developer. 12
  • 13. Courage XP team should have the courage of throwing code away. XP team should have the courage of mainly refactor the architecture of the system, if architectural flaw are detected. Courage with counterbalancing values is dangerous. Doing something without regard for consequences is not effective teamwork. 13
  • 14. Respect Respect for team members. Respect for the project. 14
  • 15. Core Components Practices Values Practices 15
  • 16. XP Principles Humanity- People, What do people need to become good developers? Economics- Every action should have business value. Mutual Benefit- Most important and most difficult to adhere to. Extensive internal documentation. Self Similarity- You can copy structure of one solution to a new context. Theme, story, tests www.xebia.com
  • 17. XP Principles Improvement- In software development “perfect” is a verb not adjective. Diversity- Teams need diversity. Reflection- How and Why of working. Flow- Steady flow of valuable software. RDITID Opportunities- Problems are opportunities. www.xebia.com
  • 18. XP Principles Redundancy- Do not remove redundancy that serves a valid purpose. Failure- Is failure a waste? Quality- Cost of quality? Quality ~ Productivity Baby Steps- Rapid small steps = leap. Accepted Responsibility- Responsibility cannot be assigned. www.xebia.com
  • 19. Core Components Practices Values Principles 19
  • 20. Practices Primary Corollary www.xebia.com
  • 21. Primary Practices Sit Together Whole Team Informative workspace Energized work Pair Programming Stories Weekly Cycle Quarterly Cycle Slack 10 minute build Continuous Integration Test First Programming Incremental Design www.xebia.com
  • 22. Sit Together / Whole Team www.xebia.com
  • 23. Sit Together / Whole Team www.xebia.com
  • 24. Informative Workspace www.xebia.com
  • 25. Informative Workspace www.xebia.com
  • 26. Informative Workspace www.xebia.com
  • 27. Energized work Work only as many hours as productive Ideally 40 hours a week Programming productivity is seen to be 4-5 hours a day www.xebia.com
  • 28. Pair Programming www.xebia.com
  • 29. Pair Programming www.xebia.com
  • 30. Stories Units of customer visible functionality. Should be on the story wall for everyone to look at. www.xebia.com
  • 31. Stories Stories v/s Use Cases A story is not a use case, a use case is not a story  A use case defines functional requirements in total  Set of use cases define breadth and depth of system  behaviour, augmented with non-functional requirements A story points to a portion of breadth and depth  Stories incrementally build up full scope  Usually 2-3 days of work  Further broken down into tasks  www.xebia.com
  • 32. Weekly / Quarterly Cycles Weekly Cycles- Start week by writing automated tests and then the week implementing them, mainly about stories and tasks. Quarterly Cycles- Plan for releases which cover themes. Themes can be broken down into stories for weekly cycles www.xebia.com
  • 33. More... Slack Ten Minute Build Continuous Integration Test First Programming Incremental Design Do the simplest thing that can possibly work Refactor www.xebia.com
  • 34. Practices Primary Corollary www.xebia.com
  • 35. Corollary Practices Real Customer Involvement- No customer or proxy customer are not as effective Incremental Deployment- Build little pieces and deploy it! Team Continuity- Do not shuffle the team too often. Shrinking Teams www.xebia.com
  • 36. Corollary Practices Root Cause Analysis- 5 Why's Shared Code- No ownership Code and Tests- The only artifacts Single code base- Avoid multiple streams Daily Deployment Negotiated Scope Contract- Ongoing negotiation on precise scope. www.xebia.com
  • 37. The Whole XP Team Emphasis on the “Whole Team” Collaboration and collocation www.xebia.com
  • 38. The Whole XP Team Programmers Users Testers Project Manager Architects Product Manager Interaction Stakeholders Designers www.xebia.com
  • 43. FAQs Some Frequently asked questions about XP 43
  • 44. XP vs. Rational Unified Process XP RUP Primary Communication Short Daily Face to Client Status Meetings, Medium Face meetings, Pair Design Meetings Programming Development Code, Refine, Test Design, Document, Methodology Code, Test Focuses on Delivering software Following the process quickly to develop good software Quality Focus Eliminate Defects as Eliminate defects on a early as possible in the scheduled basis with a process using whole separate team team 44
  • 45. Scaling XP XP seems to allow smaller teams to accomplish an awful lot XP seems to hit single-team challenges around 12-16 developers XP can scale by building recursive teams Recommended to build small team first, incrementally grow, and use first team to seed recursive teams XP has been used on teams of 40-50 www.xebia.com
  • 46. Documentation XP is a minimalist process Many teams successful with index cards and large Post-Its® XP is not anti-documentation, but encourages doing the least amount that is really needed Document when needed for distributed sharing, historical needs, summarizing, etc. www.xebia.com
  • 47. Adopting XP Find a suitable team and project Two strategies:  Adopt XP by-the-book first, then modify  Refactor your process incrementally to XP Be mindful of practice synergies Manage the team culture and change Allow sufficient time for feedback and learning An experienced coach can be valuable www.xebia.com
  • 48. Questions ? www.xebia.com