SlideShare ist ein Scribd-Unternehmen logo
1 von 30
General Idea of Iterative
 Models- Spiral Model

         CS 641
   13 September 2001
      Presented by
Matt Heusser & Tabrez Sait
What is “Process”?
Waterfall Model – Revisited




• Disadvantages of Waterfall Model
   – 1. Real projects are rarely so straightforward and sequential
   – 2. It is generally not possible to completely define (and
     freeze) all the requirements at the start of the project
   – 3. Problem is discovered in testing?
   – 4. Freight-Train Effect, or Late, or Over-Budget
What is “Wicked Problem”
• Problems we can’t really understand
  until we’ve developed a solution.

• “That is not what I want ... but now I
  know what I do want!”
The Mythical Man Month-
       Dr. Frederick Brooks
•   In software projects, what
    will take one person ten
    months can not be solved by
    ten people in one month.

•   Throwing people onto a late
    project will just make it later

•   Because of Wicked
    Problems, “Plan to the throw
    one away”
Rapid Prototyping
•   Put together a team of “Smart
    Guys” from multiple disciplines

•   Develop the GUI on Paper

•   Code the GUI in a fast language
    (Make it look like it’s working)
                                       <=Requirements=>
                                           **<=Prototype=>**
•   Show it to the USERS (A Picture
    is worth a 1,000 words)                     <=Design=>
                                                     <=Code=>

•   Get Feedback                                          <=Test=>
                                                                <=Deploy=>
Case Study- RAD
              Grand Community Calendar Project

– Project Manager, Developer, Community
  Members write user requirements
– Coder writes sample HTML
– Shows the web page; heads bob, some
  changes to navigation
– DBA, Coder, Project Manager determine the
  architecture (Design)
– Coding & Review
– Shifting Requirements priced project out-of-
  budget
Problems With Prototyping
•   No “Current” Documents


•   Functional Spec is Prototype +
    Feedback


•   Prototype is not “baseline”
    functionality


•   Same problems with Functional
    Spec as waterfall!
Prototyping Part II:
       The Rigged Demo
• Re-Visit and improve
  the prototype to serve     Listen To
  as a “baseline”            Customer

• Turns prototype into a
  “rigged demo”                          Build/Revise
                                           Mockup
                     Customer Test
• Show that to the
                     Drives Mockup
  customer
At the Demo Dialogue
• Customer:“This looks great, and it looks like you’re about
  done. When can we have it?”
• Developer: “Uh, it’s only a prototype – we plan to throw it
  away and start over.”
• Customer: “No – this is exactly what we need, and we need
  it now! We’ll take 50 prototypes!”
–   The Sales Guy begins to see $$
    signs.
–   Under Rigged Demo scenarios,
    there is either a lot of wasted effort,
    or prototypes that were never
    intended to ship end up shoved into
    production.
Case Studies
    Multi-Stage Prototyping
•    Telecommunication
      – The prototype made the sale!
      – Was pushed into production
      – From user requirements to “Ship”ing in 4 month
      – Errors, Bugs, High Turn-Over
      – Had to support bug fixes plus “incremental” change
•    Visual Product Explorer
      – Prototype created for internal consumption
      – Feedback Cycle
      – Modified for trade demo
      – Next step: How do we write the spec?
      – Product is the spec; shove it into production!
Iterative Models
                       What’s an Iteration?




•   Iterative Design: Code as much as you can questions surface, then start
    over.
•   Every model we’ll talk about below is a variation on the Iterative Model.
Spiral Model
Determine                      Evaluate
objectives,                    alternatives,
alternatives,                  identify and
constraints                    resolve risks




Plan next                      Develop verify
phases                         next level
                               product
Risk Assessment
• Spiral Model – risk driven rather
  than document driven
• The "risk" inherent in an activity is
  a measure of the uncertainty of the
  outcome of that activity
• High-risk activities cause schedule
  and cost overruns
• Risk is related to the amount and
  quality of available information.
  The less information, the higher
  the risk
• What happened with Denver
  Airport Luggage System?
Spiral Model
        Strength and Weaknesses
• Strengths
  –    Introduces risk management
  –    Prototyping controls costs
  –    Evolutionary development
  –    Release builds for beta testing
  –    Marketing advantage

• Weaknesses
   –   Lack of risk management experience
   –   Lack of milestones
   –   Management is dubious of spiral process
   –   Change in Management
   –   Prototype Vs Production
Win Win Spiral Model


• Win-Win Spiral Process Model is a model of a
  process based on Theory W, which is a
  management theory and approach "based on
  making winners of all of the system's key
  stakeholders as a necessary and sufficient
  condition for project success."
WinWin Spiral Model
••Identify Nextproduct & process definitions
    ••Validate commitment holders process
 Identify Stake holders win conditions
     Evaluate Product of Process and
     Reconcile Level Stake
      Define next level & product Alternatives
      Review, Win conditions
Win Win Spiral Cont
• Identifying the system's stakeholders and their
  win conditions and
• reconciling win conditions through negotiation to
  arrive at a mutually satisfactory set of objectives,
  constraints, and alternatives for the next level.
• Evaluate Product and Process Alternatives.
  Resolve Risks
• Define next level of product and process -
  including partitions
• Validate Product and Process Definitions
• Review, commitment
WinWin Spiral-
    Anchor Points

• Life Cycle Objective(LCO)
  – What should the system accomplish?
• Life Cycle Architecture(LCA)
  – What is the structure of the system?
• Initial Operational Capability(IOC)
  – The first released version
Contents of
 LCO and
   LCA
milestones
Key Elements of IOC Milestone
• Software preparation
  – Including both operational and support software with
    appropriate commentary and documentation
  – data preparation or conversion
  – the necessary licenses and rights
• Site preparation
  – including facilities, equipment, supplies and vendor
    support
• User, Operator and Maintenance preparation
  – including selection
  – team building
  – training
Win Win Spiral - Case Study

 • Extending USC Integrated Library System to access
   multimedia
   – Flexibility and Discipline let the projects teams adapt to
     challenges while staying on schedule
   – Use of risk management helped team focus on CSF for their
     projects
   – One cycle for each milestone
   – Communication and trust between stakeholders, shared vision
   – Don’t finish negotiations before prototyping
   – Client acceptance
Another Extreme
               CleanRoom Methodologies
•   From Hardware Cleanrooms
•   An incremental process that encourages continuous improvement;
•   Technical reviews that prevent defects and significantly reduce
    costs
•   Design and coding practices that make it easy to adapt as
    requirements change

•   Testing techniques that focus on
    measuring quality;
•   Solution-oriented teams that encourage
    cooperation, reduce the dependence on
    "gurus," and promote flexibility
•   Documentation structures that reveal
    the big picture and help team members
    maintain intellectual control.
Clean Room Continued




•  REAL Peer Review Mathematical proof of correctness
  (Challenges associated with it?)
• Functional Specifications as Box Diagrams (State, Black, Clear)
Yet Another Extreme: Hacking
• Hacking:
   – Code ‘n Fix
   – More Common than you thought
• Makes Sense for:
   –   Low-Risk, Small Project
   –   We know exactly what we want (not “Wicked”)
   –   Use once, then throw away
   –   Bugs can be tolerated/fixed
• Problem:
   – “Why not just re-use Hack X here with change Y …”
   – Hack Code is hard to maintain, but appealing from a
     management perspective.
• Case Study:
   – I’m guessing … just about every project you ever did as an
     undergraduate. 
Summary
              Summary



• Waterfall
   – good for budgeting, but doesn’t analyze risk or have a
     good way to manage errors found later in the process.
• Iterative
   – Models attempt to solve this by coding “as far as
     possible”, gathering feedback, and coding again..
   – Prototyping “Plan to throw one away”, then re-build it
     “right.”
   – Incremental (“Staged”) Delivery Builds the software
     by a series of waterfalls
Summary




• Spiral:
   – Addresses Risk at every stage & let the
     stakeholders determine the outcome.
• Win/Win
   – Seeks ways to provide customer feedback through
     anchor points, manages risk for management, and
     provides win conditions for developers.
• Cleanroom / Hacking
   – Are alternative models that work for large projects
     that must work right the first time, and small
     projects with little risk.
Resources
•   Generally Interesting Theories for REAL-WORLD Development:
•   Wicked Problems/State of Coding:
    – http://www.unidata.ucar.edu/staff/caron/collab/wicked.html
    – http://www.chc-3.com/pub/beautifulsoftware.htm         
•   Mythical Man Month
    – (
      http://www.amazon.com/exec/obidos/ASIN/0201835959/ref=bxgy_sr_text_a
      )
•   Code Complete
    – (
      http://www.amazon.com/exec/obidos/ASIN/1556154844/ref=bxgy_sr_text_a
      )
•   Joel Spolsky on Real-World Software Development
    – http://www.joelonsoftware.com
•   Software Engineering, A Practitioner’s Approach
    – http://www.mhhe.com/engcs/compsci/pressman/
Resources (2)
•   Spiral Model
     – Using the WinWin Spiral Model: A case study, Boehm Barry, July
       1998, Computer
•   Spiral Development workshop
     – www.sei.cmu.edu/cbs/spiral2000/february2000/BoehmSR.html
•   Anchoring the Software Process, Boehm Barry
     – http://www.csis.gvsu.edu/~ferguson/classes/cs641/papers/ASP.pdf
•   Denver Airport Project
     – http://www.time.com/time/magazine/archive/1994/940516/940516.tr
       ansportation.html
•   Cleanroom Model
     – http://www.cleansoft.com/cleansoft_mgrguide.html
     – http://www.sei.cmu.edu/pub/documents/96.reports/pdf/tr022.96.pdf
•   Hacking
     – http://www.plethora.net/~seebs/faqs/hacker.html
Homework
• Objective Question
   – One major difference between
     the Waterfall and iterative
     models is that the iterative
     models address risk. How do
     they do that?
• Subjective Question
   – Which of these models is the
     best for the Customer? The
     Seller? Why?

Weitere ähnliche Inhalte

Was ist angesagt?

Software engineering: design for reuse
Software engineering: design for reuseSoftware engineering: design for reuse
Software engineering: design for reuse
Marco Brambilla
 
Software quality
Software qualitySoftware quality
Software quality
jagadeesan
 

Was ist angesagt? (20)

Evolutionary process models se.ppt
Evolutionary process models se.pptEvolutionary process models se.ppt
Evolutionary process models se.ppt
 
An introduction to software engineering
An introduction to software engineeringAn introduction to software engineering
An introduction to software engineering
 
Unit 2
Unit 2Unit 2
Unit 2
 
Agile Methodology - Software Engineering
Agile Methodology - Software EngineeringAgile Methodology - Software Engineering
Agile Methodology - Software Engineering
 
Software Design and Modularity
Software Design and ModularitySoftware Design and Modularity
Software Design and Modularity
 
Unified process Model
Unified process ModelUnified process Model
Unified process Model
 
Agile Process models
Agile Process modelsAgile Process models
Agile Process models
 
Capability Maturity Model Integration (CMMI)
Capability Maturity Model Integration (CMMI)Capability Maturity Model Integration (CMMI)
Capability Maturity Model Integration (CMMI)
 
Software design
Software designSoftware design
Software design
 
Unified Process
Unified ProcessUnified Process
Unified Process
 
Requirements prioritization
Requirements prioritizationRequirements prioritization
Requirements prioritization
 
Staffing level estimation
Staffing level estimation Staffing level estimation
Staffing level estimation
 
software project management Artifact set(spm)
software project management Artifact set(spm)software project management Artifact set(spm)
software project management Artifact set(spm)
 
Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
 
Software engineering: design for reuse
Software engineering: design for reuseSoftware engineering: design for reuse
Software engineering: design for reuse
 
Software design principles
Software design principlesSoftware design principles
Software design principles
 
Lect4 software economics
Lect4 software economicsLect4 software economics
Lect4 software economics
 
Software quality
Software qualitySoftware quality
Software quality
 
Design Pattern in Software Engineering
Design Pattern in Software EngineeringDesign Pattern in Software Engineering
Design Pattern in Software Engineering
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metrics
 

Andere mochten auch

The spiral model
The  spiral  modelThe  spiral  model
The spiral model
phatcom10
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
koolkampus
 
Software Engg. process models
Software Engg. process modelsSoftware Engg. process models
Software Engg. process models
Tauseef Ahmad
 

Andere mochten auch (20)

Spiral model presentation
Spiral model presentationSpiral model presentation
Spiral model presentation
 
Spiral model explanation
Spiral model  explanationSpiral model  explanation
Spiral model explanation
 
Spiral model
Spiral modelSpiral model
Spiral model
 
Spiral model of SDLC
Spiral model of SDLCSpiral model of SDLC
Spiral model of SDLC
 
The spiral model
The  spiral  modelThe  spiral  model
The spiral model
 
Spiral model
Spiral modelSpiral model
Spiral model
 
Spiral model : System analysis and design
Spiral model : System analysis and designSpiral model : System analysis and design
Spiral model : System analysis and design
 
Unit 1 introduction tosoftengg_mba tech ii year
Unit 1  introduction tosoftengg_mba tech ii yearUnit 1  introduction tosoftengg_mba tech ii year
Unit 1 introduction tosoftengg_mba tech ii year
 
Evolutionary Software Process Module in Easy Terminology by Taha Shahid
Evolutionary Software Process Module in Easy Terminology by Taha ShahidEvolutionary Software Process Module in Easy Terminology by Taha Shahid
Evolutionary Software Process Module in Easy Terminology by Taha Shahid
 
Spiral Model - Software Development Life Cycle (SDLC)
Spiral Model - Software Development Life Cycle (SDLC)Spiral Model - Software Development Life Cycle (SDLC)
Spiral Model - Software Development Life Cycle (SDLC)
 
Spiral model by yameen 3001
Spiral model by yameen 3001Spiral model by yameen 3001
Spiral model by yameen 3001
 
Spiral Model in Software Engineering with Case Study
Spiral Model in Software Engineering with Case StudySpiral Model in Software Engineering with Case Study
Spiral Model in Software Engineering with Case Study
 
Spiral Model
Spiral ModelSpiral Model
Spiral Model
 
Spiral model
Spiral modelSpiral model
Spiral model
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
 
Introduction of USB 3.1
Introduction of USB 3.1 Introduction of USB 3.1
Introduction of USB 3.1
 
Spiral Model
Spiral ModelSpiral Model
Spiral Model
 
Software Engg. process models
Software Engg. process modelsSoftware Engg. process models
Software Engg. process models
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Waterfall model
Waterfall modelWaterfall model
Waterfall model
 

Ähnlich wie 50500113 spiral-model

Final spiralmodel97
Final spiralmodel97Final spiralmodel97
Final spiralmodel97
akshay8835
 
Introduction To Agile Refresh Savannah July20 2010 V1 4
Introduction To Agile Refresh Savannah July20 2010 V1 4Introduction To Agile Refresh Savannah July20 2010 V1 4
Introduction To Agile Refresh Savannah July20 2010 V1 4
Marvin Heery
 

Ähnlich wie 50500113 spiral-model (20)

Final spiralmodel97
Final spiralmodel97Final spiralmodel97
Final spiralmodel97
 
spiralmodel -1
 spiralmodel -1 spiralmodel -1
spiralmodel -1
 
Products and Value: An Agile Perspective BY Matt Nudelmann (GUEST PRESENTER)
Products and Value: An Agile Perspective BY Matt Nudelmann (GUEST PRESENTER)Products and Value: An Agile Perspective BY Matt Nudelmann (GUEST PRESENTER)
Products and Value: An Agile Perspective BY Matt Nudelmann (GUEST PRESENTER)
 
1 sdlc model
1 sdlc model1 sdlc model
1 sdlc model
 
what-is-devops.ppt
what-is-devops.pptwhat-is-devops.ppt
what-is-devops.ppt
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Software process models
Software process modelsSoftware process models
Software process models
 
Sdlc
SdlcSdlc
Sdlc
 
Session2
Session2Session2
Session2
 
SDLC
SDLCSDLC
SDLC
 
Introduction To Agile Refresh Savannah July20 2010 V1 4
Introduction To Agile Refresh Savannah July20 2010 V1 4Introduction To Agile Refresh Savannah July20 2010 V1 4
Introduction To Agile Refresh Savannah July20 2010 V1 4
 
Lect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMLect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPM
 
UX in Action: IBM Watson
UX in Action: IBM WatsonUX in Action: IBM Watson
UX in Action: IBM Watson
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Session2.ppt
Session2.pptSession2.ppt
Session2.ppt
 
ddd.ppt
ddd.pptddd.ppt
ddd.ppt
 
Session2.pptx.ppt
Session2.pptx.pptSession2.pptx.ppt
Session2.pptx.ppt
 
SDLC.PPT
SDLC.PPTSDLC.PPT
SDLC.PPT
 
Session2.ppt
Session2.pptSession2.ppt
Session2.ppt
 
Session2.ppt
Session2.pptSession2.ppt
Session2.ppt
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 

50500113 spiral-model

  • 1. General Idea of Iterative Models- Spiral Model CS 641 13 September 2001 Presented by Matt Heusser & Tabrez Sait
  • 3. Waterfall Model – Revisited • Disadvantages of Waterfall Model – 1. Real projects are rarely so straightforward and sequential – 2. It is generally not possible to completely define (and freeze) all the requirements at the start of the project – 3. Problem is discovered in testing? – 4. Freight-Train Effect, or Late, or Over-Budget
  • 4. What is “Wicked Problem” • Problems we can’t really understand until we’ve developed a solution. • “That is not what I want ... but now I know what I do want!”
  • 5. The Mythical Man Month- Dr. Frederick Brooks • In software projects, what will take one person ten months can not be solved by ten people in one month. • Throwing people onto a late project will just make it later • Because of Wicked Problems, “Plan to the throw one away”
  • 6. Rapid Prototyping • Put together a team of “Smart Guys” from multiple disciplines • Develop the GUI on Paper • Code the GUI in a fast language (Make it look like it’s working) <=Requirements=> **<=Prototype=>** • Show it to the USERS (A Picture is worth a 1,000 words) <=Design=> <=Code=> • Get Feedback <=Test=> <=Deploy=>
  • 7. Case Study- RAD Grand Community Calendar Project – Project Manager, Developer, Community Members write user requirements – Coder writes sample HTML – Shows the web page; heads bob, some changes to navigation – DBA, Coder, Project Manager determine the architecture (Design) – Coding & Review – Shifting Requirements priced project out-of- budget
  • 8. Problems With Prototyping • No “Current” Documents • Functional Spec is Prototype + Feedback • Prototype is not “baseline” functionality • Same problems with Functional Spec as waterfall!
  • 9. Prototyping Part II: The Rigged Demo • Re-Visit and improve the prototype to serve Listen To as a “baseline” Customer • Turns prototype into a “rigged demo” Build/Revise Mockup Customer Test • Show that to the Drives Mockup customer
  • 10. At the Demo Dialogue • Customer:“This looks great, and it looks like you’re about done. When can we have it?” • Developer: “Uh, it’s only a prototype – we plan to throw it away and start over.” • Customer: “No – this is exactly what we need, and we need it now! We’ll take 50 prototypes!” – The Sales Guy begins to see $$ signs. – Under Rigged Demo scenarios, there is either a lot of wasted effort, or prototypes that were never intended to ship end up shoved into production.
  • 11. Case Studies Multi-Stage Prototyping • Telecommunication – The prototype made the sale! – Was pushed into production – From user requirements to “Ship”ing in 4 month – Errors, Bugs, High Turn-Over – Had to support bug fixes plus “incremental” change • Visual Product Explorer – Prototype created for internal consumption – Feedback Cycle – Modified for trade demo – Next step: How do we write the spec? – Product is the spec; shove it into production!
  • 12. Iterative Models What’s an Iteration? • Iterative Design: Code as much as you can questions surface, then start over. • Every model we’ll talk about below is a variation on the Iterative Model.
  • 13. Spiral Model Determine Evaluate objectives, alternatives, alternatives, identify and constraints resolve risks Plan next Develop verify phases next level product
  • 14. Risk Assessment • Spiral Model – risk driven rather than document driven • The "risk" inherent in an activity is a measure of the uncertainty of the outcome of that activity • High-risk activities cause schedule and cost overruns • Risk is related to the amount and quality of available information. The less information, the higher the risk • What happened with Denver Airport Luggage System?
  • 15. Spiral Model Strength and Weaknesses • Strengths – Introduces risk management – Prototyping controls costs – Evolutionary development – Release builds for beta testing – Marketing advantage • Weaknesses – Lack of risk management experience – Lack of milestones – Management is dubious of spiral process – Change in Management – Prototype Vs Production
  • 16. Win Win Spiral Model • Win-Win Spiral Process Model is a model of a process based on Theory W, which is a management theory and approach "based on making winners of all of the system's key stakeholders as a necessary and sufficient condition for project success."
  • 17. WinWin Spiral Model ••Identify Nextproduct & process definitions ••Validate commitment holders process Identify Stake holders win conditions Evaluate Product of Process and Reconcile Level Stake Define next level & product Alternatives Review, Win conditions
  • 18. Win Win Spiral Cont • Identifying the system's stakeholders and their win conditions and • reconciling win conditions through negotiation to arrive at a mutually satisfactory set of objectives, constraints, and alternatives for the next level. • Evaluate Product and Process Alternatives. Resolve Risks • Define next level of product and process - including partitions • Validate Product and Process Definitions • Review, commitment
  • 19. WinWin Spiral- Anchor Points • Life Cycle Objective(LCO) – What should the system accomplish? • Life Cycle Architecture(LCA) – What is the structure of the system? • Initial Operational Capability(IOC) – The first released version
  • 20. Contents of LCO and LCA milestones
  • 21. Key Elements of IOC Milestone • Software preparation – Including both operational and support software with appropriate commentary and documentation – data preparation or conversion – the necessary licenses and rights • Site preparation – including facilities, equipment, supplies and vendor support • User, Operator and Maintenance preparation – including selection – team building – training
  • 22. Win Win Spiral - Case Study • Extending USC Integrated Library System to access multimedia – Flexibility and Discipline let the projects teams adapt to challenges while staying on schedule – Use of risk management helped team focus on CSF for their projects – One cycle for each milestone – Communication and trust between stakeholders, shared vision – Don’t finish negotiations before prototyping – Client acceptance
  • 23. Another Extreme CleanRoom Methodologies • From Hardware Cleanrooms • An incremental process that encourages continuous improvement; • Technical reviews that prevent defects and significantly reduce costs • Design and coding practices that make it easy to adapt as requirements change • Testing techniques that focus on measuring quality; • Solution-oriented teams that encourage cooperation, reduce the dependence on "gurus," and promote flexibility • Documentation structures that reveal the big picture and help team members maintain intellectual control.
  • 24. Clean Room Continued • REAL Peer Review Mathematical proof of correctness (Challenges associated with it?) • Functional Specifications as Box Diagrams (State, Black, Clear)
  • 25. Yet Another Extreme: Hacking • Hacking: – Code ‘n Fix – More Common than you thought • Makes Sense for: – Low-Risk, Small Project – We know exactly what we want (not “Wicked”) – Use once, then throw away – Bugs can be tolerated/fixed • Problem: – “Why not just re-use Hack X here with change Y …” – Hack Code is hard to maintain, but appealing from a management perspective. • Case Study: – I’m guessing … just about every project you ever did as an undergraduate. 
  • 26. Summary Summary • Waterfall – good for budgeting, but doesn’t analyze risk or have a good way to manage errors found later in the process. • Iterative – Models attempt to solve this by coding “as far as possible”, gathering feedback, and coding again.. – Prototyping “Plan to throw one away”, then re-build it “right.” – Incremental (“Staged”) Delivery Builds the software by a series of waterfalls
  • 27. Summary • Spiral: – Addresses Risk at every stage & let the stakeholders determine the outcome. • Win/Win – Seeks ways to provide customer feedback through anchor points, manages risk for management, and provides win conditions for developers. • Cleanroom / Hacking – Are alternative models that work for large projects that must work right the first time, and small projects with little risk.
  • 28. Resources • Generally Interesting Theories for REAL-WORLD Development: • Wicked Problems/State of Coding: – http://www.unidata.ucar.edu/staff/caron/collab/wicked.html – http://www.chc-3.com/pub/beautifulsoftware.htm          • Mythical Man Month – ( http://www.amazon.com/exec/obidos/ASIN/0201835959/ref=bxgy_sr_text_a ) • Code Complete – ( http://www.amazon.com/exec/obidos/ASIN/1556154844/ref=bxgy_sr_text_a ) • Joel Spolsky on Real-World Software Development – http://www.joelonsoftware.com • Software Engineering, A Practitioner’s Approach – http://www.mhhe.com/engcs/compsci/pressman/
  • 29. Resources (2) • Spiral Model – Using the WinWin Spiral Model: A case study, Boehm Barry, July 1998, Computer • Spiral Development workshop – www.sei.cmu.edu/cbs/spiral2000/february2000/BoehmSR.html • Anchoring the Software Process, Boehm Barry – http://www.csis.gvsu.edu/~ferguson/classes/cs641/papers/ASP.pdf • Denver Airport Project – http://www.time.com/time/magazine/archive/1994/940516/940516.tr ansportation.html • Cleanroom Model – http://www.cleansoft.com/cleansoft_mgrguide.html – http://www.sei.cmu.edu/pub/documents/96.reports/pdf/tr022.96.pdf • Hacking – http://www.plethora.net/~seebs/faqs/hacker.html
  • 30. Homework • Objective Question – One major difference between the Waterfall and iterative models is that the iterative models address risk. How do they do that? • Subjective Question – Which of these models is the best for the Customer? The Seller? Why?