SlideShare a Scribd company logo
1 of 27
1
Chapter 3
 Agile Development
Introduction to Software Engineering
2
The Manifesto for
Agile Software Development
“We are uncovering better ways of developing
software by doing it and helping others do it.
Through this work we have come to 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.”
3
What is “Agility”?
 Effective (rapid and adaptive) response to change (team members, new
technology, requirements)
 Effective communication in structure and attitudes among all team
members, technological and business people, software engineers and
managers。
 Drawing the customer into the team. Eliminate “us and them” attitude.
Planning in an uncertain world has its limits and plan must be flexible.
 Organizing a team so that it is in control of the work performed
 Eliminate all but the most essential work products and keep them lean.
 Emphasize an incremental delivery strategy as opposed to intermediate
products that gets working software to the customer as rapidly as feasible.
4
What is “Agility”?
Yielding …
 Rapid, incremental delivery of software
 The development guidelines stress delivery over analysis and
design although these activates are not discouraged, and
active and continuous communication between developers and
customers.
5
Why and What Steps are“Agility” important?
 Why? The modern business environment is fast-paced and ever-changing. It
represents a reasonable alternative to conventional software engineering for
certain classes of software projects. It has been demonstrated to deliver
successful systems quickly.
 What? May be termed as “software engineering lite” The basic activities-
communication, planning, modeling, construction and deployment remain.
But they morph into a minimal task set that push the team toward
construction and delivery sooner.
 The only really important work product is an operational “ software
increment” that is delivered.
6
Agility and the Cost of Change
 Conventional wisdom is that the cost of change increases nonlinearly as a
project progresses. It is relatively easy to accommodate a change when a team
is gathering requirements early in a project. If there are any changes, the costs
of doing this work are minimal. But if the middle of validation testing, a
stakeholder is requesting a major functional change. Then the change requires
a modification to the architectural design, construction of new components,
changes to other existing components, new testing and so on. Costs escalate
quickly.
 A well-designed agile process may “flatten” the cost of change curve by
coupling incremental delivery with agile practices such as continuous unit
testing and pair programming. Thus team can accommodate changes late in
the software project without dramatic cost and time impact.
7
Agility and the Cost of Change
8
An Agile Process
 Is driven by customer descriptions of what is required (scenarios). Some
assumptions:
 Recognizes that plans are short-lived (some requirements will persist, some will change.
Customer priorities will change)
 Develops software iteratively with a heavy emphasis on construction activities
(design and construction are interleaved, hard to say how much design is necessary before
construction. Design models are proven as they are created. )
 Analysis, design, construction and testing are not predictable.
 Thus has to Adapt as changes occur due to unpredictability
 Delivers multiple ‘software increments’, deliver an operational prototype
or portion of an OS to collect customer feedback for adaption.
9
Agility Principles - I
1. Our highest priority is to satisfy the customer through early and continuous
delivery of valuable software.
2. Welcome changing requirements, even late in development. Agile
processes harness change for the customer's competitive advantage.
3. Deliver working software frequently, from a couple of weeks to a couple of
months, with a preference to the shorter timescale.
4. Business people and developers must work together daily throughout the
project.
5. Build projects around motivated individuals. Give them the environment and
support they need, and trust them to get the job done.
6. The most efficient and effective method of conveying information to and
within a development team is face–to–face conversation.
10
Agility Principles - II
7. Working software is the primary measure of progress.
8. Agile processes promote sustainable development. The sponsors,
developers, and users should be able to maintain a constant pace
indefinitely.
9. Continuous attention to technical excellence and good design
enhances agility.
10. Simplicity – the art of maximizing the amount of work not done – is
essential.
11. The best architectures, requirements, and designs emerge from
self–organizing teams.
12. At regular intervals, the team reflects on how to become more
effective, then tunes and adjusts its behavior accordingly.
11
Human Factors
 the process molds to the needs of the people and team, not the other way
around
 key traits must exist among the people on an agile team and the team itself:
 Competence. ( talent, skills, knowledge)
 Common focus. ( deliver a working software increment )
 Collaboration. ( peers and stakeholders)
 Decision-making ability. ( freedom to control its own destiny)
 Fuzzy problem-solving ability.(ambiguity and constant changes, today
problem may not be tomorrow’s problem)
 Mutual trust and respect.
 Self-organization. ( themselves for the work done, process for its local
environment, the work schedule)
12
Extreme Programming (XP)
 The most widely used agile process, originally proposed by Kent Beck in 2004. It
uses an object-oriented approach.
 XP Planning
 Begins with the listening, leads to creation of “user stories” that describes required output,
features, and functionality. Customer assigns a value(i.e., a priority) to each story.
 Agile team assesses each story and assigns a cost (development weeks. If more than 3 weeks,
customer asked to split into smaller stories)
 Working together, stories are grouped for a deliverable increment next release.
 A commitment (stories to be included, delivery date and other project matters) is made.
Three ways: 1. Either all stories will be implemented in a few weeks, 2. high priority stories first, or 3.
the riskiest stories will be implemented first.
 After the first increment “project velocity”, namely number of stories implemented during
the first release is used to help define subsequent delivery dates for other increments.
Customers can add stories, delete existing stories, change values of an existing story, split
stories as development work proceeds.
13
Extreme Programming (XP)
 XP Design ( occurs both before and after coding as refactoring is encouraged)
 Follows the KIS principle (keep it simple) Nothing more nothing less than the story.
 Encourage the use of CRC (class-responsibility-collaborator) cards in an object-oriented
context. The only design work product of XP. They identify and organize the classes
that are relevant to the current software increment. (see Chapter 8)
 For difficult design problems, suggests the creation of “spike solutions”—a design
prototype for that portion is implemented and evaluated.
 Encourages “refactoring”—an iterative refinement of the internal program design. Does
not alter the external behavior yet improve the internal structure. Minimize chances of
bugs. More efficient, easy to read.
 XP Coding
 Recommends the construction of a unit test for a story before coding commences. So
implementer can focus on what must be implemented to pass the test.
 Encourages “pair programming”. Two people work together at one workstation. Real
time problem solving, real time review for quality assurance. Take slightly different roles.
 XP Testing
 All unit tests are executed daily and ideally should be automated. Regression tests are
conducted to test current and previous components.
 “Acceptance tests” are defined by the customer and executed to assess customer
visible functionality
14
Extreme Programming (XP)
unit t est
cont inuous int egrat ion
accept ance t est ing
pair
programming
Release
user st ories
values
accept ance t est crit eria
it erat ion plan
simple design
CRC cards
spike solut ions
prot ot ypes
refact oring
software increment
project velocity computed
The XP Debate
 Requirements volatility: customer is an active member of XP team, changes to
requirements are requested informally and frequently.
 Conflicting customer needs: different customers' needs need to be assimilated.
Different vision or beyond their authority.
 Requirements are expressed informally: Use stories and acceptance tests are
the only explicit manifestation of requirements. Formal models may avoid
inconsistencies and errors before the system is built. Proponents said
changing nature makes such models obsolete as soon as they are developed.
 Lack of formal design: XP deemphasizes the need for architectural design.
Complex systems need overall structure to exhibit quality and maintainability.
Proponents said incremental nature limits complexity as simplicity is a core
value.
15
16
Adaptive Software Development (ASD)
 Originally proposed by Jim Highsmith (2000)focusing on human
collaboration and team self-organization as a technique to build
complex software and system.
 ASD — distinguishing features
 Mission-driven planning
 Component-based focus
 Uses “time-boxing” (See Chapter 24)
 Explicit consideration of risks
 Emphasizes collaboration for requirements gathering
 Emphasizes “learning” throughout the process
Three Phases of ASD
 1. Speculation: project is initiated and adaptive cycle planning is
conducted. Adaptive cycle planning uses project initiation
information- the customer’s mission statement, project constraints
(e.g. delivery date), and basic requirements to define the set of
release cycles (increments) that will be required for the project.
Based on the information obtained at the completion of the first
cycle, the plan is reviewed and adjusted so that planned work
better fits the reality.
17
18
Three Phases of ASD
 2. Collaborations are used to multiply their talent and creative output beyond
absolute number (1+1>2). It encompasses communication and teamwork, but it
also emphasizes individualism, because individual creativity plays an important
role in collaborative thinking.
 It is a matter of trust. 1) criticize without animosity, 2) assist without resentments,
3) work as hard as or harder than they do. 4) have the skill set to contribute to
the work at hand, 5) communicate problems or concerns in a way that leas to
effective action.
 3. Learning: As members of ASD team begin to develop the components, the
emphasis is on “learning”. Highsmith argues that software developers often
overestimate their own understanding of the technology, the process, and the
project and that learning will help them to improve their level of real
understanding. Three ways: focus groups, technical reviews and project
postmortems.
19
Adaptive Software Development
adapt ive cycle planning
uses mission st at ement
project const raint s
basic requirement s
t ime-boxed release plan
Requirement s gat hering
JAD
mini-specs
component s implement ed/ t est ed
focus groups for feedback
formal t echnical reviews
post mort ems
software increment
adjustments for subsequent cycles
Release
20
Dynamic Systems Development Method
 It is an agile software development approach that provides a
framework for building and maintaining systems which meet tight time
constraints through the use of incremental prototyping in a controlled
project environment.
 Promoted by the DSDM Consortium
 DSDM—distinguishing features
 Similar in most respects to XP and/or ASD
 Nine guiding principles
• Active user involvement is imperative.
• DSDM teams must be empowered to make decisions.
• The 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 during development are reversible.
• Requirements are baselined at a high level
• Testing is integrated throughout the life-cycle.
21
Dynamic Systems Development Method
DSDM Life Cycle (with permission of the DSDM consortium)
22
Scrum
 A software development method Originally proposed by Schwaber
and Beedle (an activity occurs during a rugby match) in early 1990.
 Scrum—distinguishing features
 Development work is partitioned into “packets”
 Testing and documentation are on-going as the product is constructed
 Work units occurs in “sprints” and is derived from a “backlog” of existing
changing prioritized requirements
 Changes are not introduced in sprints (short term but stable) but in
backlog.
 Meetings are very short (15 minutes daily) and sometimes conducted
without chairs ( what did you do since last meeting? What obstacles are
you encountering? What do you plan to accomplish by next meeting?)
 “demos” are delivered to the customer with the time-box allocated. May
not contain all functionalities. So customers can evaluate and give
feedbacks.
23
Scrum
Scrum Process Flow (used with permission)
24
Crystal
 Proposed by Cockburn and Highsmith
 Crystal—distinguishing features
 Actually a family of process models that allow
“maneuverability” based on problem characteristics
 Face-to-face communication is emphasized
 Suggests the use of “reflection workshops” to
review the work habits of the team
25
Feature Driven Development
 Originally proposed by Peter Coad et al as a object-oriented
software engineering process model.
 FDD—distinguishing features
 Emphasis is on defining “features” which can be organized
hierarchically.
• a feature “is a client-valued function that can be implemented in two weeks
or less.”
 Uses a feature template
• <action> the <result> <by | for | of | to> a(n) <object>
• E.g. Add the product to shopping cart.
• Display the technical-specifications of the product.
• Store the shipping-information for the customer.
 A features list is created and “plan by feature” is conducted
 Design and construction merge in FDD
26
Feature Driven Development
Reprinted with permission of Peter Coad
27
Agile Modeling
 Originally proposed by Scott Ambler
 Suggests a set of agile modeling principles
 Model with a purpose
 Use multiple models
 Travel light
 Content is more important than representation
 Know the models and the tools you use to create them
 Adapt locally

More Related Content

Similar to SE Lecture 3.ppt

XP vs Lean vs FDD
XP vs Lean vs FDDXP vs Lean vs FDD
XP vs Lean vs FDDSuman Guha
 
Software Engineering (An Agile View of Process)
Software Engineering (An Agile View of Process)Software Engineering (An Agile View of Process)
Software Engineering (An Agile View of Process)ShudipPal
 
ISTQB Agile Extension
ISTQB Agile ExtensionISTQB Agile Extension
ISTQB Agile ExtensionDavis Thomas
 
Agile Process models
Agile Process modelsAgile Process models
Agile Process modelsStudent
 
Project Requriement Management Vs Agile software development
Project Requriement Management Vs  Agile software developmentProject Requriement Management Vs  Agile software development
Project Requriement Management Vs Agile software developmentbizpresenter
 
Agile intro resources
Agile intro resourcesAgile intro resources
Agile intro resourcesAnwar Sadat
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
Extreme Programming (XP) as A Popular Agile methodology.
Extreme Programming (XP) as A Popular Agile methodology.Extreme Programming (XP) as A Popular Agile methodology.
Extreme Programming (XP) as A Popular Agile methodology.Ali Shaikh
 
Chap 3 - Agile - XP.ppt
Chap 3 - Agile - XP.pptChap 3 - Agile - XP.ppt
Chap 3 - Agile - XP.pptDurga Prasad
 
Extreme programming in Agile Development
Extreme programming in Agile DevelopmentExtreme programming in Agile Development
Extreme programming in Agile DevelopmentNidhi Singh
 
Agile software development
Agile software developmentAgile software development
Agile software developmentpradeeppatelpmp
 
Agile Software Development Methodologies
Agile Software Development MethodologiesAgile Software Development Methodologies
Agile Software Development MethodologiesPradeep Patel, PMP®
 

Similar to SE Lecture 3.ppt (20)

XP vs Lean vs FDD
XP vs Lean vs FDDXP vs Lean vs FDD
XP vs Lean vs FDD
 
4. ch 3-agile process
4. ch 3-agile process4. ch 3-agile process
4. ch 3-agile process
 
Agile Software Development
Agile Software DevelopmentAgile Software Development
Agile Software Development
 
Software Engineering (An Agile View of Process)
Software Engineering (An Agile View of Process)Software Engineering (An Agile View of Process)
Software Engineering (An Agile View of Process)
 
ISTQB Agile Extension
ISTQB Agile ExtensionISTQB Agile Extension
ISTQB Agile Extension
 
Agile Process models
Agile Process modelsAgile Process models
Agile Process models
 
Agiel sw development
Agiel sw developmentAgiel sw development
Agiel sw development
 
Project Requriement Management Vs Agile software development
Project Requriement Management Vs  Agile software developmentProject Requriement Management Vs  Agile software development
Project Requriement Management Vs Agile software development
 
Lect7
Lect7Lect7
Lect7
 
Lect7
Lect7Lect7
Lect7
 
Agile intro resources
Agile intro resourcesAgile intro resources
Agile intro resources
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Agile Methodologies & Key Principles
Agile Methodologies & Key Principles Agile Methodologies & Key Principles
Agile Methodologies & Key Principles
 
A littlebook about agile
A littlebook about agileA littlebook about agile
A littlebook about agile
 
Extreme Programming (XP) as A Popular Agile methodology.
Extreme Programming (XP) as A Popular Agile methodology.Extreme Programming (XP) as A Popular Agile methodology.
Extreme Programming (XP) as A Popular Agile methodology.
 
Chap 3 - Agile - XP.ppt
Chap 3 - Agile - XP.pptChap 3 - Agile - XP.ppt
Chap 3 - Agile - XP.ppt
 
Ch04
Ch04Ch04
Ch04
 
Extreme programming in Agile Development
Extreme programming in Agile DevelopmentExtreme programming in Agile Development
Extreme programming in Agile Development
 
Agile software development
Agile software developmentAgile software development
Agile software development
 
Agile Software Development Methodologies
Agile Software Development MethodologiesAgile Software Development Methodologies
Agile Software Development Methodologies
 

More from ssusere16bd9

OSLec 4& 5(Processesinoperatingsystem).ppt
OSLec 4& 5(Processesinoperatingsystem).pptOSLec 4& 5(Processesinoperatingsystem).ppt
OSLec 4& 5(Processesinoperatingsystem).pptssusere16bd9
 
OSLec14&15(Deadlocksinopratingsystem).pptx
OSLec14&15(Deadlocksinopratingsystem).pptxOSLec14&15(Deadlocksinopratingsystem).pptx
OSLec14&15(Deadlocksinopratingsystem).pptxssusere16bd9
 
Agents and environment.pptx
Agents and environment.pptxAgents and environment.pptx
Agents and environment.pptxssusere16bd9
 
Data Communication-1.ppt
Data Communication-1.pptData Communication-1.ppt
Data Communication-1.pptssusere16bd9
 
COMPUTER ARCHITECTURE-2.pptx
COMPUTER ARCHITECTURE-2.pptxCOMPUTER ARCHITECTURE-2.pptx
COMPUTER ARCHITECTURE-2.pptxssusere16bd9
 
jyatesproject4-111025223823-phpapp02.pptx
jyatesproject4-111025223823-phpapp02.pptxjyatesproject4-111025223823-phpapp02.pptx
jyatesproject4-111025223823-phpapp02.pptxssusere16bd9
 
What is SRS & REP.pptx
What is SRS & REP.pptxWhat is SRS & REP.pptx
What is SRS & REP.pptxssusere16bd9
 
business communication.pptx
business communication.pptxbusiness communication.pptx
business communication.pptxssusere16bd9
 
xml and xhtml.pptx
xml and xhtml.pptxxml and xhtml.pptx
xml and xhtml.pptxssusere16bd9
 
cloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptxcloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptxssusere16bd9
 
SE PRESENTATION (1).pptx
SE PRESENTATION (1).pptxSE PRESENTATION (1).pptx
SE PRESENTATION (1).pptxssusere16bd9
 
What is SRS & REP.pptx
What is SRS & REP.pptxWhat is SRS & REP.pptx
What is SRS & REP.pptxssusere16bd9
 
How social Norms is Understood as Deviant Behavior-rauf.pptx
How social Norms is Understood as Deviant Behavior-rauf.pptxHow social Norms is Understood as Deviant Behavior-rauf.pptx
How social Norms is Understood as Deviant Behavior-rauf.pptxssusere16bd9
 

More from ssusere16bd9 (20)

OSLec 4& 5(Processesinoperatingsystem).ppt
OSLec 4& 5(Processesinoperatingsystem).pptOSLec 4& 5(Processesinoperatingsystem).ppt
OSLec 4& 5(Processesinoperatingsystem).ppt
 
OSLec14&15(Deadlocksinopratingsystem).pptx
OSLec14&15(Deadlocksinopratingsystem).pptxOSLec14&15(Deadlocksinopratingsystem).pptx
OSLec14&15(Deadlocksinopratingsystem).pptx
 
Agents and environment.pptx
Agents and environment.pptxAgents and environment.pptx
Agents and environment.pptx
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
 
Data Communication-1.ppt
Data Communication-1.pptData Communication-1.ppt
Data Communication-1.ppt
 
COMPUTER ARCHITECTURE-2.pptx
COMPUTER ARCHITECTURE-2.pptxCOMPUTER ARCHITECTURE-2.pptx
COMPUTER ARCHITECTURE-2.pptx
 
jyatesproject4-111025223823-phpapp02.pptx
jyatesproject4-111025223823-phpapp02.pptxjyatesproject4-111025223823-phpapp02.pptx
jyatesproject4-111025223823-phpapp02.pptx
 
What is SRS & REP.pptx
What is SRS & REP.pptxWhat is SRS & REP.pptx
What is SRS & REP.pptx
 
semantic web.pptx
semantic web.pptxsemantic web.pptx
semantic web.pptx
 
business communication.pptx
business communication.pptxbusiness communication.pptx
business communication.pptx
 
xml and xhtml.pptx
xml and xhtml.pptxxml and xhtml.pptx
xml and xhtml.pptx
 
cloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptxcloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptx
 
presentation.pptx
presentation.pptxpresentation.pptx
presentation.pptx
 
SE PRESENTATION (1).pptx
SE PRESENTATION (1).pptxSE PRESENTATION (1).pptx
SE PRESENTATION (1).pptx
 
CBSE.pptx
CBSE.pptxCBSE.pptx
CBSE.pptx
 
What is SRS & REP.pptx
What is SRS & REP.pptxWhat is SRS & REP.pptx
What is SRS & REP.pptx
 
How social Norms is Understood as Deviant Behavior-rauf.pptx
How social Norms is Understood as Deviant Behavior-rauf.pptxHow social Norms is Understood as Deviant Behavior-rauf.pptx
How social Norms is Understood as Deviant Behavior-rauf.pptx
 
SE Lecture 1.ppt
SE Lecture 1.pptSE Lecture 1.ppt
SE Lecture 1.ppt
 
SE Lecture 2.ppt
SE Lecture 2.pptSE Lecture 2.ppt
SE Lecture 2.ppt
 
SE Lecture 1.ppt
SE Lecture 1.pptSE Lecture 1.ppt
SE Lecture 1.ppt
 

Recently uploaded

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 

Recently uploaded (20)

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 

SE Lecture 3.ppt

  • 1. 1 Chapter 3  Agile Development Introduction to Software Engineering
  • 2. 2 The Manifesto for Agile Software Development “We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to 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.”
  • 3. 3 What is “Agility”?  Effective (rapid and adaptive) response to change (team members, new technology, requirements)  Effective communication in structure and attitudes among all team members, technological and business people, software engineers and managers。  Drawing the customer into the team. Eliminate “us and them” attitude. Planning in an uncertain world has its limits and plan must be flexible.  Organizing a team so that it is in control of the work performed  Eliminate all but the most essential work products and keep them lean.  Emphasize an incremental delivery strategy as opposed to intermediate products that gets working software to the customer as rapidly as feasible.
  • 4. 4 What is “Agility”? Yielding …  Rapid, incremental delivery of software  The development guidelines stress delivery over analysis and design although these activates are not discouraged, and active and continuous communication between developers and customers.
  • 5. 5 Why and What Steps are“Agility” important?  Why? The modern business environment is fast-paced and ever-changing. It represents a reasonable alternative to conventional software engineering for certain classes of software projects. It has been demonstrated to deliver successful systems quickly.  What? May be termed as “software engineering lite” The basic activities- communication, planning, modeling, construction and deployment remain. But they morph into a minimal task set that push the team toward construction and delivery sooner.  The only really important work product is an operational “ software increment” that is delivered.
  • 6. 6 Agility and the Cost of Change  Conventional wisdom is that the cost of change increases nonlinearly as a project progresses. It is relatively easy to accommodate a change when a team is gathering requirements early in a project. If there are any changes, the costs of doing this work are minimal. But if the middle of validation testing, a stakeholder is requesting a major functional change. Then the change requires a modification to the architectural design, construction of new components, changes to other existing components, new testing and so on. Costs escalate quickly.  A well-designed agile process may “flatten” the cost of change curve by coupling incremental delivery with agile practices such as continuous unit testing and pair programming. Thus team can accommodate changes late in the software project without dramatic cost and time impact.
  • 7. 7 Agility and the Cost of Change
  • 8. 8 An Agile Process  Is driven by customer descriptions of what is required (scenarios). Some assumptions:  Recognizes that plans are short-lived (some requirements will persist, some will change. Customer priorities will change)  Develops software iteratively with a heavy emphasis on construction activities (design and construction are interleaved, hard to say how much design is necessary before construction. Design models are proven as they are created. )  Analysis, design, construction and testing are not predictable.  Thus has to Adapt as changes occur due to unpredictability  Delivers multiple ‘software increments’, deliver an operational prototype or portion of an OS to collect customer feedback for adaption.
  • 9. 9 Agility Principles - I 1. Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. 2. Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage. 3. Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale. 4. Business people and developers must work together daily throughout the project. 5. Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done. 6. The most efficient and effective method of conveying information to and within a development team is face–to–face conversation.
  • 10. 10 Agility Principles - II 7. Working software is the primary measure of progress. 8. Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely. 9. Continuous attention to technical excellence and good design enhances agility. 10. Simplicity – the art of maximizing the amount of work not done – is essential. 11. The best architectures, requirements, and designs emerge from self–organizing teams. 12. At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.
  • 11. 11 Human Factors  the process molds to the needs of the people and team, not the other way around  key traits must exist among the people on an agile team and the team itself:  Competence. ( talent, skills, knowledge)  Common focus. ( deliver a working software increment )  Collaboration. ( peers and stakeholders)  Decision-making ability. ( freedom to control its own destiny)  Fuzzy problem-solving ability.(ambiguity and constant changes, today problem may not be tomorrow’s problem)  Mutual trust and respect.  Self-organization. ( themselves for the work done, process for its local environment, the work schedule)
  • 12. 12 Extreme Programming (XP)  The most widely used agile process, originally proposed by Kent Beck in 2004. It uses an object-oriented approach.  XP Planning  Begins with the listening, leads to creation of “user stories” that describes required output, features, and functionality. Customer assigns a value(i.e., a priority) to each story.  Agile team assesses each story and assigns a cost (development weeks. If more than 3 weeks, customer asked to split into smaller stories)  Working together, stories are grouped for a deliverable increment next release.  A commitment (stories to be included, delivery date and other project matters) is made. Three ways: 1. Either all stories will be implemented in a few weeks, 2. high priority stories first, or 3. the riskiest stories will be implemented first.  After the first increment “project velocity”, namely number of stories implemented during the first release is used to help define subsequent delivery dates for other increments. Customers can add stories, delete existing stories, change values of an existing story, split stories as development work proceeds.
  • 13. 13 Extreme Programming (XP)  XP Design ( occurs both before and after coding as refactoring is encouraged)  Follows the KIS principle (keep it simple) Nothing more nothing less than the story.  Encourage the use of CRC (class-responsibility-collaborator) cards in an object-oriented context. The only design work product of XP. They identify and organize the classes that are relevant to the current software increment. (see Chapter 8)  For difficult design problems, suggests the creation of “spike solutions”—a design prototype for that portion is implemented and evaluated.  Encourages “refactoring”—an iterative refinement of the internal program design. Does not alter the external behavior yet improve the internal structure. Minimize chances of bugs. More efficient, easy to read.  XP Coding  Recommends the construction of a unit test for a story before coding commences. So implementer can focus on what must be implemented to pass the test.  Encourages “pair programming”. Two people work together at one workstation. Real time problem solving, real time review for quality assurance. Take slightly different roles.  XP Testing  All unit tests are executed daily and ideally should be automated. Regression tests are conducted to test current and previous components.  “Acceptance tests” are defined by the customer and executed to assess customer visible functionality
  • 14. 14 Extreme Programming (XP) unit t est cont inuous int egrat ion accept ance t est ing pair programming Release user st ories values accept ance t est crit eria it erat ion plan simple design CRC cards spike solut ions prot ot ypes refact oring software increment project velocity computed
  • 15. The XP Debate  Requirements volatility: customer is an active member of XP team, changes to requirements are requested informally and frequently.  Conflicting customer needs: different customers' needs need to be assimilated. Different vision or beyond their authority.  Requirements are expressed informally: Use stories and acceptance tests are the only explicit manifestation of requirements. Formal models may avoid inconsistencies and errors before the system is built. Proponents said changing nature makes such models obsolete as soon as they are developed.  Lack of formal design: XP deemphasizes the need for architectural design. Complex systems need overall structure to exhibit quality and maintainability. Proponents said incremental nature limits complexity as simplicity is a core value. 15
  • 16. 16 Adaptive Software Development (ASD)  Originally proposed by Jim Highsmith (2000)focusing on human collaboration and team self-organization as a technique to build complex software and system.  ASD — distinguishing features  Mission-driven planning  Component-based focus  Uses “time-boxing” (See Chapter 24)  Explicit consideration of risks  Emphasizes collaboration for requirements gathering  Emphasizes “learning” throughout the process
  • 17. Three Phases of ASD  1. Speculation: project is initiated and adaptive cycle planning is conducted. Adaptive cycle planning uses project initiation information- the customer’s mission statement, project constraints (e.g. delivery date), and basic requirements to define the set of release cycles (increments) that will be required for the project. Based on the information obtained at the completion of the first cycle, the plan is reviewed and adjusted so that planned work better fits the reality. 17
  • 18. 18 Three Phases of ASD  2. Collaborations are used to multiply their talent and creative output beyond absolute number (1+1>2). It encompasses communication and teamwork, but it also emphasizes individualism, because individual creativity plays an important role in collaborative thinking.  It is a matter of trust. 1) criticize without animosity, 2) assist without resentments, 3) work as hard as or harder than they do. 4) have the skill set to contribute to the work at hand, 5) communicate problems or concerns in a way that leas to effective action.  3. Learning: As members of ASD team begin to develop the components, the emphasis is on “learning”. Highsmith argues that software developers often overestimate their own understanding of the technology, the process, and the project and that learning will help them to improve their level of real understanding. Three ways: focus groups, technical reviews and project postmortems.
  • 19. 19 Adaptive Software Development adapt ive cycle planning uses mission st at ement project const raint s basic requirement s t ime-boxed release plan Requirement s gat hering JAD mini-specs component s implement ed/ t est ed focus groups for feedback formal t echnical reviews post mort ems software increment adjustments for subsequent cycles Release
  • 20. 20 Dynamic Systems Development Method  It is an agile software development approach that provides a framework for building and maintaining systems which meet tight time constraints through the use of incremental prototyping in a controlled project environment.  Promoted by the DSDM Consortium  DSDM—distinguishing features  Similar in most respects to XP and/or ASD  Nine guiding principles • Active user involvement is imperative. • DSDM teams must be empowered to make decisions. • The 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 during development are reversible. • Requirements are baselined at a high level • Testing is integrated throughout the life-cycle.
  • 21. 21 Dynamic Systems Development Method DSDM Life Cycle (with permission of the DSDM consortium)
  • 22. 22 Scrum  A software development method Originally proposed by Schwaber and Beedle (an activity occurs during a rugby match) in early 1990.  Scrum—distinguishing features  Development work is partitioned into “packets”  Testing and documentation are on-going as the product is constructed  Work units occurs in “sprints” and is derived from a “backlog” of existing changing prioritized requirements  Changes are not introduced in sprints (short term but stable) but in backlog.  Meetings are very short (15 minutes daily) and sometimes conducted without chairs ( what did you do since last meeting? What obstacles are you encountering? What do you plan to accomplish by next meeting?)  “demos” are delivered to the customer with the time-box allocated. May not contain all functionalities. So customers can evaluate and give feedbacks.
  • 23. 23 Scrum Scrum Process Flow (used with permission)
  • 24. 24 Crystal  Proposed by Cockburn and Highsmith  Crystal—distinguishing features  Actually a family of process models that allow “maneuverability” based on problem characteristics  Face-to-face communication is emphasized  Suggests the use of “reflection workshops” to review the work habits of the team
  • 25. 25 Feature Driven Development  Originally proposed by Peter Coad et al as a object-oriented software engineering process model.  FDD—distinguishing features  Emphasis is on defining “features” which can be organized hierarchically. • a feature “is a client-valued function that can be implemented in two weeks or less.”  Uses a feature template • <action> the <result> <by | for | of | to> a(n) <object> • E.g. Add the product to shopping cart. • Display the technical-specifications of the product. • Store the shipping-information for the customer.  A features list is created and “plan by feature” is conducted  Design and construction merge in FDD
  • 26. 26 Feature Driven Development Reprinted with permission of Peter Coad
  • 27. 27 Agile Modeling  Originally proposed by Scott Ambler  Suggests a set of agile modeling principles  Model with a purpose  Use multiple models  Travel light  Content is more important than representation  Know the models and the tools you use to create them  Adapt locally