SlideShare una empresa de Scribd logo
1 de 32
Chapter 3
 Prescriptive Process
       Models
      - Generic process framework (revisited)
      - Traditional process models
      - Specialized process models
      - The unified process




(Source: Pressman, R. Software Engineering: A Practitioner’s Approach. McGraw-Hill, 2005)
Generic Process Framework
• Communication
    – Involves communication among the customer and other stake holders; encompasses
      requirements gathering
• Planning
    – Establishes a plan for software engineering work; addresses technical tasks,
      resources, work products, and work schedule
• Modeling (Analyze, Design)
    – Encompasses the creation of models to better under the requirements and the
      design
• Construction (Code, Test)
    – Combines code generation and testing to uncover errors
• Deployment
    – Involves delivery of software to the customer for evaluation and feedback


                                                                                     2
Modeling: Software Requirements
             Analysis
• Helps software engineers to better understand the problem they will
  work to solve
• Encompasses the set of tasks that lead to an understanding of what the
  business impact of the software will be, what the customer wants, and
  how end-users will interact with the software
• Uses a combination of text and diagrams to depict requirements for
  data, function, and behavior
    – Provides a relatively easy way to understand and review requirements for
      correctness, completeness and consistency




                                                                                 3
Modeling: Software Design
• Brings together customer requirements, business needs, and technical
  considerations to form the “blueprint” for a product
• Creates a model that that provides detail about software data structures,
  software architecture, interfaces, and components that are necessary to
  implement the system
• Architectural design
    – Represents the structure of data and program components that are required to build
      the software
    – Considers the architectural style, the structure and properties of components that
      constitute the system, and interrelationships that occur among all architectural
      components
• User Interface Design
    – Creates an effective communication medium between a human and a computer
    – Identifies interface objects and actions and then creates a screen layout that forms
      the basis for a user interface prototype
• Component-level Design
    – Defines the data structures, algorithms, interface characteristics, and communication
      mechanisms allocated to each software component

                                                                                      4
Traditional Process Models
Prescriptive Process Model

• Defines a distinct set of activities, actions, tasks, milestones, and work
  products that are required to engineer high-quality software
• The activities may be linear, incremental, or evolutionary




                                                                               6
Waterfall Model
                          (Diagram)
Communication
Project initiation
 Requirements
   gathering
                      Planning
                     Estimating
                     Scheduling
                      Tracking    Modeling
                                  Analysis
                                   Design    Construction
                                                Code
                                                Test        Deployment
                                                             Delivery
                                                              Support
                                                             Feedback
                                                                 7
Waterfall Model
                     (Description)
• Oldest software lifecycle model and best understood by upper management
• Used when requirements are well understood and risk is low
• Work flow is in a linear (i.e., sequential) fashion
• Used often with well-defined adaptations or enhancements to current
  software




                                                                        8
Waterfall Model
                     (Problems)
• Doesn't support iteration, so changes can cause confusion
• Difficult for customers to state all requirements explicitly and up front
• Requires customer patience because a working version of the program
  doesn't occur until the final phase
• Problems can be somewhat alleviated in the model through the addition of
  feedback loops (see the next slide)




                                                                         9
Waterfall Model with Feedback
               (Diagram)
Communication
Project initiation
 Requirements
   gathering

                      Planning
                     Estimating
                     Scheduling
                      Tracking    Modeling
                                  Analysis
                                   Design    Construction
                                                Code
                                                Test        Deployment
                                                             Delivery
                                                              Support
                                                             Feedback
                                                                10
Incremental Model
                                (Diagram)
Increment #1
Communication
                 Planning
                                Modeling
                                               Construction
                                                                   Deployment


                Increment #2
                Communication
                                    Planning
                                                     Modeling
                                                                     Construction
                                                                                       Deployment



                                    Increment #3

                                     Communication
                                                              Planning
                                                                            Modeling
                                                                                          Construction
                                                                                                         Deployment



                                                                                                          11
Incremental Model
                     (Description)
• Used when requirements are well understood
• Multiple independent deliveries are identified
• Work flow is in a linear (i.e., sequential) fashion within an increment and is
  staggered between increments
• Iterative in nature; focuses on an operational product with each increment
• Provides a needed set of functionality sooner while delivering optional
  components later
• Useful also when staffing is too short for a full-scale development




                                                                           12
Prototyping Model
                  (Diagram)
                                Quick
                               Planning

        Communication
Start

                                           Modeling
                                          Quick Design
        Deployment,
          Delivery,
        and Feedback


                        Construction
                        Of Prototype
                                                         13
Prototyping Model
                    (Description)
• Follows an evolutionary and iterative approach
• Used when requirements are not well understood
• Serves as a mechanism for identifying software requirements
• Focuses on those aspects of the software that are visible to the customer/user
• Feedback is used to refine the prototype




                                                                          14
Prototyping Model
                  (Potential Problems)
• The customer sees a "working version" of the software, wants to stop all
  development and then buy the prototype after a "few fixes" are made
• Developers often make implementation compromises to get the software
  running quickly (e.g., language choice, user interface, operating system
  choice, inefficient algorithms)
• Lesson learned
    – Define the rules up front on the final disposition of the prototype before it is
      built
    – In most circumstances, plan to discard the prototype and engineer the actual
      production software with a goal toward quality




                                                                                     15
Spiral Model
                 (Diagram)
                      Planning

Communication



Start                                           Modeling




Start



        Deployment               Construction

                                                           16
Spiral Model
                           (Description)
•   Invented by Dr. Barry Boehm in 1988 while working at TRW
•   Follows an evolutionary approach
•   Used when requirements are not well understood and risks are high
•   Inner spirals focus on identifying software requirements and project risks; may
    also incorporate prototyping
•   Outer spirals take on a classical waterfall approach after requirements have been
    defined, but permit iterative growth of the software
•   Operates as a risk-driven model…a go/no-go decision occurs after each
    complete spiral in order to react to risk determinations
•   Requires considerable expertise in risk assessment
•   Serves as a realistic model for large-scale software development


                                                                              17
General Weaknesses of
     Evolutionary Process Models
1)   Prototyping poses a problem to project planning because of the
     uncertain number of iterations required to construct the product
2)   Evolutionary software processes do not establish the maximum speed of
     the evolution
     •   If too fast, the process will fall into chaos
     •   If too slow, productivity could be affected
1)   Software processes should focus first on flexibility and extensibility, and
     second on high quality
     •   We should prioritize the speed of the development over zero defects
     •   Extending the development in order to reach higher quality could result in
         late delivery


                                                                               18
Specialized Process Models
Component-based Development Model
• Consists of the following process steps
    – Available component-based products are researched and evaluated for the
      application domain in question
    – Component integration issues are considered
    – A software architecture is designed to accommodate the components
    – Components are integrated into the architecture
    – Comprehensive testing is conducted to ensure proper functionality
• Relies on a robust component library
• Capitalizes on software reuse, which leads to documented savings in
  project cost and time




                                                                            20
Formal Methods Model
              (Description)
• Encompasses a set of activities that leads to formal mathematical
  specification of computer software
• Enables a software engineer to specify, develop, and verify a
  computer-based system by applying a rigorous, mathematical notation
• Ambiguity, incompleteness, and inconsistency can be discovered and
  corrected more easily through mathematical analysis
• Offers the promise of defect-free software
• Used often when building safety-critical systems




                                                                    21
Formal Methods Model
              (Challenges)
• Development of formal methods is currently quite time-consuming and
  expensive
• Because few software developers have the necessary background to
  apply formal methods, extensive training is required
• It is difficult to use the models as a communication mechanism for
  technically unsophisticated customers




                                                                   22
The Unified Process
Background
• Birthed during the late 1980's and early 1990s when object-oriented
  languages were gaining wide-spread use
• Many object-oriented analysis and design methods were proposed;
  three top authors were Grady Booch, Ivar Jacobson, and James
  Rumbaugh
• They eventually worked together on a unified method, called the
  Unified Modeling Language (UML)
    – UML is a robust notation for the modeling and development of object-
      oriented systems
    – UML became an industry standard in 1997
    – However, UML does not provide the process framework, only the
      necessary technology for object-oriented development



                                                                             24
Background (continued)
• Booch, Jacobson, and Rumbaugh later developed the unified process,
  which is a framework for object-oriented software engineering using
  UML
    – Draws on the best features and characteristics of conventional software
      process models
    – Emphasizes the important role of software architecture
    – Consists of a process flow that is iterative and incremental, thereby
      providing an evolutionary feel
• Consists of five phases: inception, elaboration, construction, transition,
  and production




                                                                                25
Phases of the Unified Process
Inception                               Elaboration

                    planning


                                       modeling
  communication


                               construction
                                                  Construction
              deployment


Production                           Transition           26
Inception Phase

• Encompasses both customer communication and planning activities of the
  generic process
• Business requirements for the software are identified
• A rough architecture for the system is proposed
• A plan is created for an incremental, iterative development
• Fundamental business requirements are described through preliminary use
  cases
    – A use case describes a sequence of actions that are performed by a user




                                                                                27
Elaboration Phase
• Encompasses both the planning and modeling activities of the generic process
• Refines and expands the preliminary use cases
• Expands the architectural representation to include five views
    –   Use-case model
    –   Analysis model
    –   Design model
    –   Implementation model
    –   Deployment model
• Often results in an executable architectural baseline that represents a first cut
  executable system
• The baseline demonstrates the viability of the architecture but does not provide
  all features and functions required to use the system



                                                                             28
Construction Phase

• Encompasses the construction activity of the generic process
• Uses the architectural model from the elaboration phase as input
• Develops or acquires the software components that make each use-case
  operational
• Analysis and design models from the previous phase are completed to reflect the
  final version of the increment
• Use cases are used to derive a set of acceptance tests that are executed prior to
  the next phase




                                                                          29
Transition Phase

• Encompasses the last part of the construction activity and the first part of the
  deployment activity of the generic process
• Software is given to end users for beta testing and user feedback reports on
  defects and necessary changes
• The software teams create necessary support documentation (user manuals,
  trouble-shooting guides, installation procedures)
• At the conclusion of this phase, the software increment becomes a usable
  software release




                                                                             30
Production Phase
•   Encompasses the last part of the deployment activity of the generic process
•   On-going use of the software is monitored
•   Support for the operating environment (infrastructure) is provided
•   Defect reports and requests for changes are submitted and evaluated




                                                                            31
Unified Process Work Products
• Work products are produced in each of the first four phases of the
  unified process
• In this course, we will concentrate on the analysis model and the
  design model work products
• Analysis model includes
    – Scenario-based model, class-based model, and behavioral model
• Design model includes
    – Component-level design, interface design, architectural design, and
      data/class design




                                                                            32
                                                                                 

Más contenido relacionado

La actualidad más candente

S.D.L.C (Software Development Life Cycle.)
S.D.L.C (Software Development Life Cycle.)S.D.L.C (Software Development Life Cycle.)
S.D.L.C (Software Development Life Cycle.)
Jayesh Buwa
 

La actualidad más candente (20)

Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
Project Planning in Software Engineering
Project Planning in Software EngineeringProject Planning in Software Engineering
Project Planning in Software Engineering
 
Software Development Methodologies
Software Development MethodologiesSoftware Development Methodologies
Software Development Methodologies
 
Agile Methodology PPT
Agile Methodology PPTAgile Methodology PPT
Agile Methodology PPT
 
Agile development, software engineering
Agile development, software engineeringAgile development, software engineering
Agile development, software engineering
 
Rational Unified Process
Rational Unified ProcessRational Unified Process
Rational Unified Process
 
S.D.L.C (Software Development Life Cycle.)
S.D.L.C (Software Development Life Cycle.)S.D.L.C (Software Development Life Cycle.)
S.D.L.C (Software Development Life Cycle.)
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Lecture 14 requirements modeling - flow and behavior
Lecture 14   requirements modeling - flow and  behaviorLecture 14   requirements modeling - flow and  behavior
Lecture 14 requirements modeling - flow and behavior
 
The Software Development Process
The Software Development ProcessThe Software Development Process
The Software Development Process
 
Evolutionary process models se.ppt
Evolutionary process models se.pptEvolutionary process models se.ppt
Evolutionary process models se.ppt
 
Agile Development | Agile Process Models
Agile Development | Agile Process ModelsAgile Development | Agile Process Models
Agile Development | Agile Process Models
 
Agile software development methodology
Agile software development methodologyAgile software development methodology
Agile software development methodology
 
Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)
 
AGILE Model (SDLC).pptx
AGILE Model (SDLC).pptxAGILE Model (SDLC).pptx
AGILE Model (SDLC).pptx
 
An Overview of RUP methodology
An Overview of RUP methodologyAn Overview of RUP methodology
An Overview of RUP methodology
 
UML
UMLUML
UML
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 

Destacado

Pressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-modelsPressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-models
saurabhshertukde
 
Concurrent Modeling in the Early Phases of the Software Development Life Cycle
Concurrent Modeling in the Early Phases of the Software Development Life CycleConcurrent Modeling in the Early Phases of the Software Development Life Cycle
Concurrent Modeling in the Early Phases of the Software Development Life Cycle
Konrad Wieland
 
11. modelos según roger s
11.  modelos según roger s11.  modelos según roger s
11. modelos según roger s
Yvan Mayta
 
Software Engineering - Ch4
Software Engineering - Ch4Software Engineering - Ch4
Software Engineering - Ch4
Siddharth Ayer
 

Destacado (20)

Pressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-modelsPressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-models
 
Traditional Process Models
Traditional Process ModelsTraditional Process Models
Traditional Process Models
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Slides chapter 3
Slides chapter 3Slides chapter 3
Slides chapter 3
 
Process models
Process modelsProcess models
Process models
 
Slides chapters 6-7
Slides chapters 6-7Slides chapters 6-7
Slides chapters 6-7
 
Slides chapter 2
Slides chapter 2Slides chapter 2
Slides chapter 2
 
Slides chapter 1
Slides chapter 1Slides chapter 1
Slides chapter 1
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Unified Process
Unified ProcessUnified Process
Unified Process
 
Ch03 prescriptive process models
Ch03 prescriptive process modelsCh03 prescriptive process models
Ch03 prescriptive process models
 
Ch9
Ch9Ch9
Ch9
 
Concurrent Modeling in the Early Phases of the Software Development Life Cycle
Concurrent Modeling in the Early Phases of the Software Development Life CycleConcurrent Modeling in the Early Phases of the Software Development Life Cycle
Concurrent Modeling in the Early Phases of the Software Development Life Cycle
 
11. modelos según roger s
11.  modelos según roger s11.  modelos según roger s
11. modelos según roger s
 
Lecture 3 software process model
Lecture 3   software process modelLecture 3   software process model
Lecture 3 software process model
 
Software Engineering - Ch4
Software Engineering - Ch4Software Engineering - Ch4
Software Engineering - Ch4
 
An overview of software development methodologies.
An overview of software development methodologies.An overview of software development methodologies.
An overview of software development methodologies.
 
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
 
Ian Sommerville, Software Engineering, 9th Edition Ch 4
Ian Sommerville,  Software Engineering, 9th Edition Ch 4Ian Sommerville,  Software Engineering, 9th Edition Ch 4
Ian Sommerville, Software Engineering, 9th Edition Ch 4
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )
 

Similar a Pressman ch-3-prescriptive-process-models

software engineering
software engineeringsoftware engineering
software engineering
ramyavarkala
 
Software engineering
Software engineeringSoftware engineering
Software engineering
h2eEdgar
 
Lanzamiento Visual Studio 2012 - Modern ALM
Lanzamiento Visual Studio 2012 - Modern ALMLanzamiento Visual Studio 2012 - Modern ALM
Lanzamiento Visual Studio 2012 - Modern ALM
Debora Di Piano
 

Similar a Pressman ch-3-prescriptive-process-models (20)

Software enginnering unit 01 by manoj kumar soni
Software enginnering unit 01 by manoj kumar soniSoftware enginnering unit 01 by manoj kumar soni
Software enginnering unit 01 by manoj kumar soni
 
Unit2
Unit2Unit2
Unit2
 
software engineering
software engineeringsoftware engineering
software engineering
 
04_Materi Software Proses-Models(1).pptx
04_Materi Software Proses-Models(1).pptx04_Materi Software Proses-Models(1).pptx
04_Materi Software Proses-Models(1).pptx
 
Waterfall model
Waterfall modelWaterfall model
Waterfall model
 
Brochure for pmvt
Brochure for pmvtBrochure for pmvt
Brochure for pmvt
 
Incremental
IncrementalIncremental
Incremental
 
CHAPTER12.ppt
CHAPTER12.pptCHAPTER12.ppt
CHAPTER12.ppt
 
مناهج التعليم وصناعة البرمجيات
مناهج التعليم وصناعة البرمجياتمناهج التعليم وصناعة البرمجيات
مناهج التعليم وصناعة البرمجيات
 
RSA and RAD 8.5 Top New Value Features
RSA and RAD 8.5 Top New Value FeaturesRSA and RAD 8.5 Top New Value Features
RSA and RAD 8.5 Top New Value Features
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Reality checking agile's architectural inner workings
Reality checking agile's architectural inner workingsReality checking agile's architectural inner workings
Reality checking agile's architectural inner workings
 
Unit1
Unit1Unit1
Unit1
 
Dec 2012 Evening Talk - Managing Complex Project
Dec 2012 Evening Talk - Managing Complex ProjectDec 2012 Evening Talk - Managing Complex Project
Dec 2012 Evening Talk - Managing Complex Project
 
Lanzamiento Visual Studio 2012 - Modern ALM
Lanzamiento Visual Studio 2012 - Modern ALMLanzamiento Visual Studio 2012 - Modern ALM
Lanzamiento Visual Studio 2012 - Modern ALM
 
Oose unit 4 ppt
Oose unit 4 pptOose unit 4 ppt
Oose unit 4 ppt
 
OOSE Unit 4 PPT.ppt
OOSE Unit 4 PPT.pptOOSE Unit 4 PPT.ppt
OOSE Unit 4 PPT.ppt
 
Unit i software design principles 9
Unit i software design principles 9Unit i software design principles 9
Unit i software design principles 9
 
MDE first glance
MDE first glanceMDE first glance
MDE first glance
 
Adm Initial Proposal
Adm Initial ProposalAdm Initial Proposal
Adm Initial Proposal
 

Último

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Último (20)

ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 

Pressman ch-3-prescriptive-process-models

  • 1. Chapter 3 Prescriptive Process Models - Generic process framework (revisited) - Traditional process models - Specialized process models - The unified process (Source: Pressman, R. Software Engineering: A Practitioner’s Approach. McGraw-Hill, 2005)
  • 2. Generic Process Framework • Communication – Involves communication among the customer and other stake holders; encompasses requirements gathering • Planning – Establishes a plan for software engineering work; addresses technical tasks, resources, work products, and work schedule • Modeling (Analyze, Design) – Encompasses the creation of models to better under the requirements and the design • Construction (Code, Test) – Combines code generation and testing to uncover errors • Deployment – Involves delivery of software to the customer for evaluation and feedback 2
  • 3. Modeling: Software Requirements Analysis • Helps software engineers to better understand the problem they will work to solve • Encompasses the set of tasks that lead to an understanding of what the business impact of the software will be, what the customer wants, and how end-users will interact with the software • Uses a combination of text and diagrams to depict requirements for data, function, and behavior – Provides a relatively easy way to understand and review requirements for correctness, completeness and consistency 3
  • 4. Modeling: Software Design • Brings together customer requirements, business needs, and technical considerations to form the “blueprint” for a product • Creates a model that that provides detail about software data structures, software architecture, interfaces, and components that are necessary to implement the system • Architectural design – Represents the structure of data and program components that are required to build the software – Considers the architectural style, the structure and properties of components that constitute the system, and interrelationships that occur among all architectural components • User Interface Design – Creates an effective communication medium between a human and a computer – Identifies interface objects and actions and then creates a screen layout that forms the basis for a user interface prototype • Component-level Design – Defines the data structures, algorithms, interface characteristics, and communication mechanisms allocated to each software component 4
  • 6. Prescriptive Process Model • Defines a distinct set of activities, actions, tasks, milestones, and work products that are required to engineer high-quality software • The activities may be linear, incremental, or evolutionary 6
  • 7. Waterfall Model (Diagram) Communication Project initiation Requirements gathering Planning Estimating Scheduling Tracking Modeling Analysis Design Construction Code Test Deployment Delivery Support Feedback 7
  • 8. Waterfall Model (Description) • Oldest software lifecycle model and best understood by upper management • Used when requirements are well understood and risk is low • Work flow is in a linear (i.e., sequential) fashion • Used often with well-defined adaptations or enhancements to current software 8
  • 9. Waterfall Model (Problems) • Doesn't support iteration, so changes can cause confusion • Difficult for customers to state all requirements explicitly and up front • Requires customer patience because a working version of the program doesn't occur until the final phase • Problems can be somewhat alleviated in the model through the addition of feedback loops (see the next slide) 9
  • 10. Waterfall Model with Feedback (Diagram) Communication Project initiation Requirements gathering Planning Estimating Scheduling Tracking Modeling Analysis Design Construction Code Test Deployment Delivery Support Feedback 10
  • 11. Incremental Model (Diagram) Increment #1 Communication Planning Modeling Construction Deployment Increment #2 Communication Planning Modeling Construction Deployment Increment #3 Communication Planning Modeling Construction Deployment 11
  • 12. Incremental Model (Description) • Used when requirements are well understood • Multiple independent deliveries are identified • Work flow is in a linear (i.e., sequential) fashion within an increment and is staggered between increments • Iterative in nature; focuses on an operational product with each increment • Provides a needed set of functionality sooner while delivering optional components later • Useful also when staffing is too short for a full-scale development 12
  • 13. Prototyping Model (Diagram) Quick Planning Communication Start Modeling Quick Design Deployment, Delivery, and Feedback Construction Of Prototype 13
  • 14. Prototyping Model (Description) • Follows an evolutionary and iterative approach • Used when requirements are not well understood • Serves as a mechanism for identifying software requirements • Focuses on those aspects of the software that are visible to the customer/user • Feedback is used to refine the prototype 14
  • 15. Prototyping Model (Potential Problems) • The customer sees a "working version" of the software, wants to stop all development and then buy the prototype after a "few fixes" are made • Developers often make implementation compromises to get the software running quickly (e.g., language choice, user interface, operating system choice, inefficient algorithms) • Lesson learned – Define the rules up front on the final disposition of the prototype before it is built – In most circumstances, plan to discard the prototype and engineer the actual production software with a goal toward quality 15
  • 16. Spiral Model (Diagram) Planning Communication Start Modeling Start Deployment Construction 16
  • 17. Spiral Model (Description) • Invented by Dr. Barry Boehm in 1988 while working at TRW • Follows an evolutionary approach • Used when requirements are not well understood and risks are high • Inner spirals focus on identifying software requirements and project risks; may also incorporate prototyping • Outer spirals take on a classical waterfall approach after requirements have been defined, but permit iterative growth of the software • Operates as a risk-driven model…a go/no-go decision occurs after each complete spiral in order to react to risk determinations • Requires considerable expertise in risk assessment • Serves as a realistic model for large-scale software development 17
  • 18. General Weaknesses of Evolutionary Process Models 1) Prototyping poses a problem to project planning because of the uncertain number of iterations required to construct the product 2) Evolutionary software processes do not establish the maximum speed of the evolution • If too fast, the process will fall into chaos • If too slow, productivity could be affected 1) Software processes should focus first on flexibility and extensibility, and second on high quality • We should prioritize the speed of the development over zero defects • Extending the development in order to reach higher quality could result in late delivery 18
  • 20. Component-based Development Model • Consists of the following process steps – Available component-based products are researched and evaluated for the application domain in question – Component integration issues are considered – A software architecture is designed to accommodate the components – Components are integrated into the architecture – Comprehensive testing is conducted to ensure proper functionality • Relies on a robust component library • Capitalizes on software reuse, which leads to documented savings in project cost and time 20
  • 21. Formal Methods Model (Description) • Encompasses a set of activities that leads to formal mathematical specification of computer software • Enables a software engineer to specify, develop, and verify a computer-based system by applying a rigorous, mathematical notation • Ambiguity, incompleteness, and inconsistency can be discovered and corrected more easily through mathematical analysis • Offers the promise of defect-free software • Used often when building safety-critical systems 21
  • 22. Formal Methods Model (Challenges) • Development of formal methods is currently quite time-consuming and expensive • Because few software developers have the necessary background to apply formal methods, extensive training is required • It is difficult to use the models as a communication mechanism for technically unsophisticated customers 22
  • 24. Background • Birthed during the late 1980's and early 1990s when object-oriented languages were gaining wide-spread use • Many object-oriented analysis and design methods were proposed; three top authors were Grady Booch, Ivar Jacobson, and James Rumbaugh • They eventually worked together on a unified method, called the Unified Modeling Language (UML) – UML is a robust notation for the modeling and development of object- oriented systems – UML became an industry standard in 1997 – However, UML does not provide the process framework, only the necessary technology for object-oriented development 24
  • 25. Background (continued) • Booch, Jacobson, and Rumbaugh later developed the unified process, which is a framework for object-oriented software engineering using UML – Draws on the best features and characteristics of conventional software process models – Emphasizes the important role of software architecture – Consists of a process flow that is iterative and incremental, thereby providing an evolutionary feel • Consists of five phases: inception, elaboration, construction, transition, and production 25
  • 26. Phases of the Unified Process Inception Elaboration planning modeling communication construction Construction deployment Production Transition 26
  • 27. Inception Phase • Encompasses both customer communication and planning activities of the generic process • Business requirements for the software are identified • A rough architecture for the system is proposed • A plan is created for an incremental, iterative development • Fundamental business requirements are described through preliminary use cases – A use case describes a sequence of actions that are performed by a user 27
  • 28. Elaboration Phase • Encompasses both the planning and modeling activities of the generic process • Refines and expands the preliminary use cases • Expands the architectural representation to include five views – Use-case model – Analysis model – Design model – Implementation model – Deployment model • Often results in an executable architectural baseline that represents a first cut executable system • The baseline demonstrates the viability of the architecture but does not provide all features and functions required to use the system 28
  • 29. Construction Phase • Encompasses the construction activity of the generic process • Uses the architectural model from the elaboration phase as input • Develops or acquires the software components that make each use-case operational • Analysis and design models from the previous phase are completed to reflect the final version of the increment • Use cases are used to derive a set of acceptance tests that are executed prior to the next phase 29
  • 30. Transition Phase • Encompasses the last part of the construction activity and the first part of the deployment activity of the generic process • Software is given to end users for beta testing and user feedback reports on defects and necessary changes • The software teams create necessary support documentation (user manuals, trouble-shooting guides, installation procedures) • At the conclusion of this phase, the software increment becomes a usable software release 30
  • 31. Production Phase • Encompasses the last part of the deployment activity of the generic process • On-going use of the software is monitored • Support for the operating environment (infrastructure) is provided • Defect reports and requests for changes are submitted and evaluated 31
  • 32. Unified Process Work Products • Work products are produced in each of the first four phases of the unified process • In this course, we will concentrate on the analysis model and the design model work products • Analysis model includes – Scenario-based model, class-based model, and behavioral model • Design model includes – Component-level design, interface design, architectural design, and data/class design 32 