software architecture – centric methods and agile development
DESCRIPTION
Software Architecture – Centric Methods and Agile Development. by Craig Castaneda. The Agile Approach. Feedback – Not just for stereos anymore Adaptable – Just in case you haven’t made up your mind Simplicity – Let’s keep it that way Small Groups – Because the boss is cheap. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/1.jpg)
Software Architecture – Centric Methods and Agile Development
by Craig Castaneda
![Page 2: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/2.jpg)
The Agile Approach
• Feedback – Not just for stereos anymore• Adaptable – Just in case you haven’t made
up your mind• Simplicity – Let’s keep it that way• Small Groups – Because the boss is cheap
![Page 3: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/3.jpg)
The Agile Approach
• Short Development Iterations• Plan• Gather Requirements• Design• Code• Test• Document
![Page 4: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/4.jpg)
The Agile Approach
• Iteration’s done – But the software isn’t.• At least it works…Sort of…• Resolution is the solution
![Page 5: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/5.jpg)
The Agile Approach - Extreme Programming (XP)• Planning – User Stories, Prioritizing• Testing – Test comes before code• Implementation – Simplest code to fulfill
the test• Design – System metaphors, spike
solutions, CRC cards
![Page 6: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/6.jpg)
Extreme Programming (XP) – Criticisms• Doesn’t scale to large dev teams or products• Success is a function of the dev teams
experience• Not for critical systems• Tends to overlook software quality
attributes• Customer On-Site necessary
![Page 7: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/7.jpg)
Software Architecture Centric Methods to the Rescue!!!!• Architecture Centric Activities
• Emphasize quality attributes• Focus early on architecture design decisions
![Page 8: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/8.jpg)
The Architecture Centric Activities• Quality Attribute workshop• Attribute Driven Design• Architecture Trade-off Analysis Method
(ATAM)• Cost-Benefit Analysis Method
![Page 9: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/9.jpg)
Quality Attribute Workshop
• Goal: To identify requirements• Held early in development• Includes stakeholders
• Outputs:• Business Goals• Quality Attribute Scenarios and Use Cases
• Scenarios are six fold (stimulus, source of the stimulus, artifact, environment, response, and response measure)
![Page 10: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/10.jpg)
Attribute Driven Design
• Goal: To localize the effects of design changes• Focuses on the overall system structure that the quality
attributes shape• Choice of architectural tactics to satisfy quality
scenarios
• Outputs:• Course Grain Architectural Structure• Generate and Test architectural design model
![Page 11: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/11.jpg)
Architecture Trade-off Analysis Method (ATAM)• Goal: Assess architectural decisions’
consequences with respect to requirements and business goals
• Helps stakeholders ask the right questions to discover problematic architectural decisions
![Page 12: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/12.jpg)
Cost-Benefit Analysis Method(CBAM)• Goal: To make the decisions made during
the ATAM part of the roadmap by assigning priorities, costs and benefits with each architectural decision
• Business consequences allow the dev team to make informed choices among architectural options
![Page 13: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/13.jpg)
Sample Example: Bank ATM
• From XP’s user stories we receive• Feature requirements
• From the QAW process we identify additional quality attributes that need to be satisfied:• Modifiability• Extensibility• Performance
![Page 14: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/14.jpg)
Sample Example: Bank ATMQuality Attribute Workshop• Modifiability Attribute Scenario I:
• A developer wants to add a new auditing business rule at design time in 10 person-days without affecting other functionality
• Modifiability Attribute Scenario II:• A system administrator wants to employ a new
database in 18 person-months without affecting other functionality
![Page 15: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/15.jpg)
Sample Example: Bank ATM Quality Attribute Workshop• Modifiability Attribute Scenario III
• A developer needs to add a Web-based client in 90 person-days without affecting the existing ATM client’s functionality
![Page 16: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/16.jpg)
Modifiability Scenario I
• Stimulus – Adding a Business Rule• Source – The Developer• Artifact – Business Rule System• Environment – New Business Rule• Response – Business Rule added within 10
Days • Response Measure – Business Rule is added
and Existing functionality is unchanged
![Page 17: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/17.jpg)
Modifiability Scenario II
• Stimulus – Employing a new Database• Source – A System Administrator• Artifact – Data Organization and Storage• Environment – New Platform• Response – Database employed within 18 person-
months• Response Measure – Database Deployed and In
Use. Existing functionality is unchanged
![Page 18: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/18.jpg)
Modifiability Scenario III
• Stimulus – Adding an Additional Client• Source – The Developer• Artifact – User Interface• Environment – New Capability • Response – Business Rule added within 10 Days • Response Measure – Business Rule is added and
Existing functionality is unchanged
![Page 19: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/19.jpg)
Attribute Driven Design Results
• The ADD method localizes the effect of this design change by using the following tactics:
• Localize Changes – Identifies three separate components of the system, Business Rules, Client, and Database
• Use an intermediary• These components should be separate • The Business Rules and Database should communicate
through an abstract interface (ODBC)• There should be a translation layer between the client and the
business rules (XML)
![Page 20: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/20.jpg)
Cost-Benefit Analysis Method
• CBAM helps architects consider the return on investment of any architectural decision and provides guidance on the economic trade-offs involved.
• Sample – Performance Quality Attributes in the Sample Problem
![Page 21: Software Architecture – Centric Methods and Agile Development](https://reader035.vdocuments.mx/reader035/viewer/2022070405/56813ff8550346895dab24d5/html5/thumbnails/21.jpg)
Summary
• Architecture-centric methods provide explicit and detailed guidance on eliciting architectural requirements, designing those requirements into the system, and analyzing the resulting design. The results of which can be tailored to an agile approach.
• This tactic can help to resolve one of agile developments largest weaknesses. Improving overall quality of the final product.