SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Copyright © Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved.
Architectures
in Context
Software Architecture
Lecture 2
Foundations, Theory, and Practice
Software Architecture
2
Fundamental Understanding
 Architecture is a set of principal design decisions about a
software system
 Three fundamental understandings of software
architecture
 Every application has an architecture
 Every application has at least one architect
 Architecture is not a phase of development
Foundations, Theory, and Practice
Software Architecture
3
Wrong View: Architecture as a
Phase
 Treating architecture as a phase denies its
foundational role in software development
 More than “high-level design”
 Architecture is also represented, e.g., by object code,
source code, …
Foundations, Theory, and Practice
Software Architecture
4
Context of Software Architecture
 Requirements
 Design
 Implementation
 Analysis and Testing
 Evolution
 Development Process
Foundations, Theory, and Practice
Software Architecture
5
Requirements Analysis
 Traditional SE suggests requirements analysis should
remain unsullied by any consideration for a design
 However, without reference to existing architectures it
becomes difficult to assess practicality, schedules, or
costs
 In building architecture we talk about specific rooms…
 …rather than the abstract concept “means for
providing shelter”
 In engineering new products come from the observation
of existing solution and their limitations
Foundations, Theory, and Practice
Software Architecture
6
New Perspective on Requirements
Analysis
 Existing designs and architectures provide the solution
vocabulary
 Our understanding of what works now, and how it
works, affects our wants and perceived needs
 The insights from our experiences with existing systems
 helps us imagine what might work and
 enables us to assess development time and costs
  Requirements analysis and consideration of design
must be pursued at the same time
Foundations, Theory, and Practice
Software Architecture
7
Non-Functional Properties (NFP)
 NFPs are the result of architectural choices
 NFP questions are raised as the result of architectural
choices
 Specification of NFP might require an architectural
framework to even enable their statement
 An architectural framework will be required for
assessment of whether the properties are achievable
Foundations, Theory, and Practice
Software Architecture
8
The Twin Peaks Model
Foundations, Theory, and Practice
Software Architecture
9
Design and Architecture
 Design is an activity that pervades software development
 It is an activity that creates part of a system’s architecture
 Typically in the traditional Design Phase decisions concern
 A system’s structure
 Identification of its primary components
 Their interconnections
 Architecture denotes the set of principal design decisions
about a system
 That is more than just structure
Foundations, Theory, and Practice
Software Architecture
10
Architecture-Centric Design
 Traditional design phase suggests translating the
requirements into algorithms, so a programmer can
implement them
 Architecture-centric design
 stakeholder issues
 decision about use of COTS component
 overarching style and structure
 package and primary class structure
 deployment issues
 post implementation/deployment issues
Foundations, Theory, and Practice
Software Architecture
11
Design Techniques
 Basic conceptual tools
 Separation of concerns
 Abstraction
 Modularity
 Two illustrative widely adapted strategies
 Object-oriented design
 Domain-specific software architectures (DSSA)
Foundations, Theory, and Practice
Software Architecture
12
Object-Oriented Design (OOD)
 Objects
 Main abstraction entity in OOD
 Encapsulations of state with functions for accessing
and manipulating that state
Foundations, Theory, and Practice
Software Architecture
13
Pros and Cons of OOD
 Pros
 UML modeling notation
 Design patterns
 Cons
 Provides only
 One level of encapsulation (the object)
 One notion of interface
 One type of explicit connector (procedure call)
 Even message passing is realized via procedure calls
 OO programming language might dictate important design
decisions
 OOD assumes a shared address space
Foundations, Theory, and Practice
Software Architecture
14
DSSA
 Capturing and characterizing the best solutions and best
practices from past projects within a domain
 Production of new applications can focus on the points
of novel variation
 Reuse applicable parts of the architecture and
implementation
 Applicable for product lines
 Recall the Philips Koala example discussed in the
previous lecture
Foundations, Theory, and Practice
Software Architecture
15
Implementation
 The objective is to create machine-executable source
code
 That code should be faithful to the architecture
 Alternatively, it may adapt the architecture
 How much adaptation is allowed?
 Architecturally-relevant vs. -unimportant
adaptations
 It must fully develop all outstanding details of the
application
Foundations, Theory, and Practice
Software Architecture
16
Faithful Implementation
 All of the structural elements found in the architecture
are implemented in the source code
 Source code must not utilize major new computational
elements that have no corresponding elements in the
architecture
 Source code must not contain new connections between
architectural elements that are not found in the
architecture
 Is this realistic?
Overly constraining?
What if we deviate from this?
Foundations, Theory, and Practice
Software Architecture
17
Unfaithful Implementation
 The implementation does have an architecture
 It is latent, as opposed to what is documented.
 Failure to recognize the distinction between planned and
implemented architecture
 robs one of the ability to reason about the
application’s architecture in the future
 misleads all stakeholders regarding what they believe
they have as opposed to what they really have
 makes any development or evolution strategy that is
based on the documented (but inaccurate)
architecture doomed to failure
Foundations, Theory, and Practice
Software Architecture
18
Implementation Strategies
 Generative techniques
 e.g. parser generators
 Frameworks
 collections of source code with identified places
where the engineer must “fill in the blanks”
 Middleware
 CORBA, DCOM, RPC, …
 Reuse-based techniques
 COTS, open-source, in-house
 Writing all code manually
Foundations, Theory, and Practice
Software Architecture
19
How It All
Fits
Together
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
20
Analysis and Testing
 Analysis and testing are activities undertaken to assess
the qualities of an artifact
 The earlier an error is detected and corrected the lower
the aggregate cost
 Rigorous representations are required for analysis, so
precise questions can be asked and answered
Foundations, Theory, and Practice
Software Architecture
21
Analysis of Architectural Models
 Formal architectural model can be examined for internal
consistency and correctness
 An analysis on a formal model can reveal
 Component mismatch
 Incomplete specifications
 Undesired communication patterns
 Deadlocks
 Security flaws
 It can be used for size and development time
estimations
Foundations, Theory, and Practice
Software Architecture
22
Analysis of Architectural Models
(cont’d)
 Architectural model
 may be examined for consistency with requirements
 may be used in determining analysis and testing
strategies for source code
 may be used to check if an implementation is faithful
Foundations, Theory, and Practice
Software Architecture
23
Evolution and Maintenance
 All activities that chronologically follow the release of an
application
 Software will evolve
 Regardless of whether one is using an
architecture-centric development process or not
 The traditional software engineering approach to maintenance
is largely ad hoc
 Risk of architectural decay and overall quality degradation
 Architecture-centric approach
 Sustained focus on an explicit, substantive, modifiable,
faithful architectural model
Foundations, Theory, and Practice
Software Architecture
24
Architecture-Centric Evolution
Process
 Motivation
 Evaluation or assessment
 Design and choice of approach
 Action
 includes preparation for the next round of adaptation
Foundations, Theory, and Practice
Software Architecture
25
Processes
 Traditional software process discussions make the
process activities the focal point
 In architecture-centric software engineering the product
becomes the focal point
 No single “right” software process for architecture-
centric software engineering exists
Foundations, Theory, and Practice
Software Architecture
26
Turbine – A New Visualization
Model
 Goals of the visualization
 Provide an intuitive sense of
 Project activities at any given time
 Including concurrency of types of development activities
 The “information space” of the project
 Show centrality of the products
 (Hopefully) Growing body of artifacts
 Allow for the centrality of architecture
 But work equally well for other approaches,
including “dysfunctional” ones
 Effective for indicating time, gaps, duration of activities
 Investment (cost) indicators
Foundations, Theory, and Practice
Software Architecture
27
Coding
Design
Requirements
Testing
Simplistic Waterfall,
Side perspective
time
The Turbine Model
“Core” of project
artifacts
Radius of rotor indicates
level of staffing at time t
Gap between rotors
indicates no project
activity for that t
ti
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
28
Cross-section at time ti
Design
(activity)
Requirements
Design
doc
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
29
The Turbine Model
Waterfall example,
Angled perspective
time
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
30
A Richer Example
S1
Design/Build/
Requirements
Test/Build/
Deploy
Assess/…
Requirements/Architecture
assessment/Planning
Build/Design/
Requirements/Test
time
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
31
A Sample Cross-Section
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
32
A Cross-Section at Project End
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
33
Volume Indicates Where Time was
Spent
Design/Build/
Requirements
Test/Build/
Deploy
Assess/…
Requirements/
Architecture Assessment / Planning
Build/Design/
Requirements/Test
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
34
A Technically Strong Product-Line
Project
Assessment
Parameterization
Customization
Deployment
Capture of new work
Other
Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
Foundations, Theory, and Practice
Software Architecture
35
Visualization Summary
 It is illustrative, not prescriptive
 It is an aid to thinking about what’s going on in a project
 Can be automatically generated based on input of
monitored project data
 Can be extended to illustrate development of the
information space (artifacts)
 The preceding slides have focused primarily on the
development activities
Foundations, Theory, and Practice
Software Architecture
36
Processes Possible in this Model
 Traditional, straight-line waterfall
 Architecture-centric development
 DSSA-based project
 Agile development
 Dysfunctional process
Foundations, Theory, and Practice
Software Architecture
37
Summary (1)
 A proper view of software architecture affects every
aspect of the classical software engineering activities
 The requirements activity is a co-equal partner with
design activities
 The design activity is enriched by techniques that exploit
knowledge gained in previous product developments
 The implementation activity
 is centered on creating a faithful implementation of
the architecture
 utilizes a variety of techniques to achieve this in a
cost-effective manner
Foundations, Theory, and Practice
Software Architecture
38
Summary (2)
 Analysis and testing activities can be focused on and
guided by the architecture
 Evolution activities revolve around the product’s
architecture.
 An equal focus on process and product results from a
proper understanding of the role of software architecture

Weitere ähnliche Inhalte

Ähnlich wie 02_Architectures_In_Context.ppt

Cs 1023 lec 4 (week 1)
Cs 1023 lec 4 (week 1)Cs 1023 lec 4 (week 1)
Cs 1023 lec 4 (week 1)stanbridge
 
Cs 1023 lec 1 big idea (week 1)
Cs 1023 lec 1   big idea (week 1)Cs 1023 lec 1   big idea (week 1)
Cs 1023 lec 1 big idea (week 1)stanbridge
 
Cs 1023 lec 1 big idea (week 1)
Cs 1023 lec 1   big idea (week 1)Cs 1023 lec 1   big idea (week 1)
Cs 1023 lec 1 big idea (week 1)stanbridge
 
Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)
Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)
Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)Henry Muccini
 
Software Architecture: introduction to the abstraction
Software Architecture: introduction to the abstractionSoftware Architecture: introduction to the abstraction
Software Architecture: introduction to the abstractionHenry Muccini
 
SDA 01.pptx
SDA 01.pptxSDA 01.pptx
SDA 01.pptxJuttG6
 
Software Architecture
Software ArchitectureSoftware Architecture
Software ArchitectureVikas Dhyani
 
Are You an Accidental or Intentional Architect?
Are You an Accidental or Intentional Architect?Are You an Accidental or Intentional Architect?
Are You an Accidental or Intentional Architect?iasaglobal
 
Modern software architect post the agile wave
Modern software architect post the agile waveModern software architect post the agile wave
Modern software architect post the agile waveNiels Bech Nielsen
 
Innovate 2013 Design on a Diet - session 2131
Innovate 2013 Design on a Diet - session 2131Innovate 2013 Design on a Diet - session 2131
Innovate 2013 Design on a Diet - session 2131Daniel Leroux
 
Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015
Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015
Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015Mozaic Works
 
Code Craftsmanship Checklist
Code Craftsmanship ChecklistCode Craftsmanship Checklist
Code Craftsmanship ChecklistRyan Polk
 
OOSAD Chapter 6 Object Oriented Design.pptx
OOSAD Chapter 6 Object Oriented Design.pptxOOSAD Chapter 6 Object Oriented Design.pptx
OOSAD Chapter 6 Object Oriented Design.pptxBereketMuniye
 
06 styles and_greenfield_design
06 styles and_greenfield_design06 styles and_greenfield_design
06 styles and_greenfield_designMajong DevJfu
 
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...Erez PEDRO
 

Ähnlich wie 02_Architectures_In_Context.ppt (20)

Cs 1023 lec 4 (week 1)
Cs 1023 lec 4 (week 1)Cs 1023 lec 4 (week 1)
Cs 1023 lec 4 (week 1)
 
Cs 1023 lec 1 big idea (week 1)
Cs 1023 lec 1   big idea (week 1)Cs 1023 lec 1   big idea (week 1)
Cs 1023 lec 1 big idea (week 1)
 
Cs 1023 lec 1 big idea (week 1)
Cs 1023 lec 1   big idea (week 1)Cs 1023 lec 1   big idea (week 1)
Cs 1023 lec 1 big idea (week 1)
 
Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)
Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)
Needs challenges and_opportunites_in_architectural_languages (bolzano_dec2013)
 
Software Architecture: introduction to the abstraction
Software Architecture: introduction to the abstractionSoftware Architecture: introduction to the abstraction
Software Architecture: introduction to the abstraction
 
SDA 01.pptx
SDA 01.pptxSDA 01.pptx
SDA 01.pptx
 
SA_UNIT_1.pptx
SA_UNIT_1.pptxSA_UNIT_1.pptx
SA_UNIT_1.pptx
 
Software Architecture
Software ArchitectureSoftware Architecture
Software Architecture
 
Are You an Accidental or Intentional Architect?
Are You an Accidental or Intentional Architect?Are You an Accidental or Intentional Architect?
Are You an Accidental or Intentional Architect?
 
Modern software architect post the agile wave
Modern software architect post the agile waveModern software architect post the agile wave
Modern software architect post the agile wave
 
01 the big_idea
01 the big_idea01 the big_idea
01 the big_idea
 
Innovate 2013 Design on a Diet - session 2131
Innovate 2013 Design on a Diet - session 2131Innovate 2013 Design on a Diet - session 2131
Innovate 2013 Design on a Diet - session 2131
 
Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015
Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015
Simon Brown: Software Architecture as Code at I T.A.K.E. Unconference 2015
 
MIS.ppt
MIS.pptMIS.ppt
MIS.ppt
 
Code Craftsmanship Checklist
Code Craftsmanship ChecklistCode Craftsmanship Checklist
Code Craftsmanship Checklist
 
OOSAD Chapter 6 Object Oriented Design.pptx
OOSAD Chapter 6 Object Oriented Design.pptxOOSAD Chapter 6 Object Oriented Design.pptx
OOSAD Chapter 6 Object Oriented Design.pptx
 
06 styles and_greenfield_design
06 styles and_greenfield_design06 styles and_greenfield_design
06 styles and_greenfield_design
 
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...CodeValue Architecture Next 2018 - Executive track  dilemmas and solutions in...
CodeValue Architecture Next 2018 - Executive track dilemmas and solutions in...
 
12786246.ppt
12786246.ppt12786246.ppt
12786246.ppt
 
Chapter1
Chapter1Chapter1
Chapter1
 

Mehr von RohanBorgalli

Genetic Algorithms.ppt
Genetic Algorithms.pptGenetic Algorithms.ppt
Genetic Algorithms.pptRohanBorgalli
 
SHARP4_cNLP_Jun11.ppt
SHARP4_cNLP_Jun11.pptSHARP4_cNLP_Jun11.ppt
SHARP4_cNLP_Jun11.pptRohanBorgalli
 
Using Artificial Intelligence in the field of Diagnostics_Case Studies.ppt
Using Artificial Intelligence in the field of Diagnostics_Case Studies.pptUsing Artificial Intelligence in the field of Diagnostics_Case Studies.ppt
Using Artificial Intelligence in the field of Diagnostics_Case Studies.pptRohanBorgalli
 
Automobile-pathway.pptx
Automobile-pathway.pptxAutomobile-pathway.pptx
Automobile-pathway.pptxRohanBorgalli
 
Autoregressive Model.pptx
Autoregressive Model.pptxAutoregressive Model.pptx
Autoregressive Model.pptxRohanBorgalli
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxRohanBorgalli
 
Time Series Analysis_slides.pdf
Time Series Analysis_slides.pdfTime Series Analysis_slides.pdf
Time Series Analysis_slides.pdfRohanBorgalli
 
R Programming - part 1.pdf
R Programming - part 1.pdfR Programming - part 1.pdf
R Programming - part 1.pdfRohanBorgalli
 
prace_days_ml_2019.pptx
prace_days_ml_2019.pptxprace_days_ml_2019.pptx
prace_days_ml_2019.pptxRohanBorgalli
 

Mehr von RohanBorgalli (14)

Genetic Algorithms.ppt
Genetic Algorithms.pptGenetic Algorithms.ppt
Genetic Algorithms.ppt
 
SHARP4_cNLP_Jun11.ppt
SHARP4_cNLP_Jun11.pptSHARP4_cNLP_Jun11.ppt
SHARP4_cNLP_Jun11.ppt
 
Using Artificial Intelligence in the field of Diagnostics_Case Studies.ppt
Using Artificial Intelligence in the field of Diagnostics_Case Studies.pptUsing Artificial Intelligence in the field of Diagnostics_Case Studies.ppt
Using Artificial Intelligence in the field of Diagnostics_Case Studies.ppt
 
Automobile-pathway.pptx
Automobile-pathway.pptxAutomobile-pathway.pptx
Automobile-pathway.pptx
 
Autoregressive Model.pptx
Autoregressive Model.pptxAutoregressive Model.pptx
Autoregressive Model.pptx
 
IntrotoArduino.ppt
IntrotoArduino.pptIntrotoArduino.ppt
IntrotoArduino.ppt
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptx
 
Telecom1.ppt
Telecom1.pptTelecom1.ppt
Telecom1.ppt
 
FactorAnalysis.ppt
FactorAnalysis.pptFactorAnalysis.ppt
FactorAnalysis.ppt
 
Time Series Analysis_slides.pdf
Time Series Analysis_slides.pdfTime Series Analysis_slides.pdf
Time Series Analysis_slides.pdf
 
Image captions.pptx
Image captions.pptxImage captions.pptx
Image captions.pptx
 
NNAF_DRK.pdf
NNAF_DRK.pdfNNAF_DRK.pdf
NNAF_DRK.pdf
 
R Programming - part 1.pdf
R Programming - part 1.pdfR Programming - part 1.pdf
R Programming - part 1.pdf
 
prace_days_ml_2019.pptx
prace_days_ml_2019.pptxprace_days_ml_2019.pptx
prace_days_ml_2019.pptx
 

Kürzlich hochgeladen

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf203318pmpc
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 

Kürzlich hochgeladen (20)

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 

02_Architectures_In_Context.ppt

  • 1. Copyright © Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved. Architectures in Context Software Architecture Lecture 2
  • 2. Foundations, Theory, and Practice Software Architecture 2 Fundamental Understanding  Architecture is a set of principal design decisions about a software system  Three fundamental understandings of software architecture  Every application has an architecture  Every application has at least one architect  Architecture is not a phase of development
  • 3. Foundations, Theory, and Practice Software Architecture 3 Wrong View: Architecture as a Phase  Treating architecture as a phase denies its foundational role in software development  More than “high-level design”  Architecture is also represented, e.g., by object code, source code, …
  • 4. Foundations, Theory, and Practice Software Architecture 4 Context of Software Architecture  Requirements  Design  Implementation  Analysis and Testing  Evolution  Development Process
  • 5. Foundations, Theory, and Practice Software Architecture 5 Requirements Analysis  Traditional SE suggests requirements analysis should remain unsullied by any consideration for a design  However, without reference to existing architectures it becomes difficult to assess practicality, schedules, or costs  In building architecture we talk about specific rooms…  …rather than the abstract concept “means for providing shelter”  In engineering new products come from the observation of existing solution and their limitations
  • 6. Foundations, Theory, and Practice Software Architecture 6 New Perspective on Requirements Analysis  Existing designs and architectures provide the solution vocabulary  Our understanding of what works now, and how it works, affects our wants and perceived needs  The insights from our experiences with existing systems  helps us imagine what might work and  enables us to assess development time and costs   Requirements analysis and consideration of design must be pursued at the same time
  • 7. Foundations, Theory, and Practice Software Architecture 7 Non-Functional Properties (NFP)  NFPs are the result of architectural choices  NFP questions are raised as the result of architectural choices  Specification of NFP might require an architectural framework to even enable their statement  An architectural framework will be required for assessment of whether the properties are achievable
  • 8. Foundations, Theory, and Practice Software Architecture 8 The Twin Peaks Model
  • 9. Foundations, Theory, and Practice Software Architecture 9 Design and Architecture  Design is an activity that pervades software development  It is an activity that creates part of a system’s architecture  Typically in the traditional Design Phase decisions concern  A system’s structure  Identification of its primary components  Their interconnections  Architecture denotes the set of principal design decisions about a system  That is more than just structure
  • 10. Foundations, Theory, and Practice Software Architecture 10 Architecture-Centric Design  Traditional design phase suggests translating the requirements into algorithms, so a programmer can implement them  Architecture-centric design  stakeholder issues  decision about use of COTS component  overarching style and structure  package and primary class structure  deployment issues  post implementation/deployment issues
  • 11. Foundations, Theory, and Practice Software Architecture 11 Design Techniques  Basic conceptual tools  Separation of concerns  Abstraction  Modularity  Two illustrative widely adapted strategies  Object-oriented design  Domain-specific software architectures (DSSA)
  • 12. Foundations, Theory, and Practice Software Architecture 12 Object-Oriented Design (OOD)  Objects  Main abstraction entity in OOD  Encapsulations of state with functions for accessing and manipulating that state
  • 13. Foundations, Theory, and Practice Software Architecture 13 Pros and Cons of OOD  Pros  UML modeling notation  Design patterns  Cons  Provides only  One level of encapsulation (the object)  One notion of interface  One type of explicit connector (procedure call)  Even message passing is realized via procedure calls  OO programming language might dictate important design decisions  OOD assumes a shared address space
  • 14. Foundations, Theory, and Practice Software Architecture 14 DSSA  Capturing and characterizing the best solutions and best practices from past projects within a domain  Production of new applications can focus on the points of novel variation  Reuse applicable parts of the architecture and implementation  Applicable for product lines  Recall the Philips Koala example discussed in the previous lecture
  • 15. Foundations, Theory, and Practice Software Architecture 15 Implementation  The objective is to create machine-executable source code  That code should be faithful to the architecture  Alternatively, it may adapt the architecture  How much adaptation is allowed?  Architecturally-relevant vs. -unimportant adaptations  It must fully develop all outstanding details of the application
  • 16. Foundations, Theory, and Practice Software Architecture 16 Faithful Implementation  All of the structural elements found in the architecture are implemented in the source code  Source code must not utilize major new computational elements that have no corresponding elements in the architecture  Source code must not contain new connections between architectural elements that are not found in the architecture  Is this realistic? Overly constraining? What if we deviate from this?
  • 17. Foundations, Theory, and Practice Software Architecture 17 Unfaithful Implementation  The implementation does have an architecture  It is latent, as opposed to what is documented.  Failure to recognize the distinction between planned and implemented architecture  robs one of the ability to reason about the application’s architecture in the future  misleads all stakeholders regarding what they believe they have as opposed to what they really have  makes any development or evolution strategy that is based on the documented (but inaccurate) architecture doomed to failure
  • 18. Foundations, Theory, and Practice Software Architecture 18 Implementation Strategies  Generative techniques  e.g. parser generators  Frameworks  collections of source code with identified places where the engineer must “fill in the blanks”  Middleware  CORBA, DCOM, RPC, …  Reuse-based techniques  COTS, open-source, in-house  Writing all code manually
  • 19. Foundations, Theory, and Practice Software Architecture 19 How It All Fits Together Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 20. Foundations, Theory, and Practice Software Architecture 20 Analysis and Testing  Analysis and testing are activities undertaken to assess the qualities of an artifact  The earlier an error is detected and corrected the lower the aggregate cost  Rigorous representations are required for analysis, so precise questions can be asked and answered
  • 21. Foundations, Theory, and Practice Software Architecture 21 Analysis of Architectural Models  Formal architectural model can be examined for internal consistency and correctness  An analysis on a formal model can reveal  Component mismatch  Incomplete specifications  Undesired communication patterns  Deadlocks  Security flaws  It can be used for size and development time estimations
  • 22. Foundations, Theory, and Practice Software Architecture 22 Analysis of Architectural Models (cont’d)  Architectural model  may be examined for consistency with requirements  may be used in determining analysis and testing strategies for source code  may be used to check if an implementation is faithful
  • 23. Foundations, Theory, and Practice Software Architecture 23 Evolution and Maintenance  All activities that chronologically follow the release of an application  Software will evolve  Regardless of whether one is using an architecture-centric development process or not  The traditional software engineering approach to maintenance is largely ad hoc  Risk of architectural decay and overall quality degradation  Architecture-centric approach  Sustained focus on an explicit, substantive, modifiable, faithful architectural model
  • 24. Foundations, Theory, and Practice Software Architecture 24 Architecture-Centric Evolution Process  Motivation  Evaluation or assessment  Design and choice of approach  Action  includes preparation for the next round of adaptation
  • 25. Foundations, Theory, and Practice Software Architecture 25 Processes  Traditional software process discussions make the process activities the focal point  In architecture-centric software engineering the product becomes the focal point  No single “right” software process for architecture- centric software engineering exists
  • 26. Foundations, Theory, and Practice Software Architecture 26 Turbine – A New Visualization Model  Goals of the visualization  Provide an intuitive sense of  Project activities at any given time  Including concurrency of types of development activities  The “information space” of the project  Show centrality of the products  (Hopefully) Growing body of artifacts  Allow for the centrality of architecture  But work equally well for other approaches, including “dysfunctional” ones  Effective for indicating time, gaps, duration of activities  Investment (cost) indicators
  • 27. Foundations, Theory, and Practice Software Architecture 27 Coding Design Requirements Testing Simplistic Waterfall, Side perspective time The Turbine Model “Core” of project artifacts Radius of rotor indicates level of staffing at time t Gap between rotors indicates no project activity for that t ti Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 28. Foundations, Theory, and Practice Software Architecture 28 Cross-section at time ti Design (activity) Requirements Design doc Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 29. Foundations, Theory, and Practice Software Architecture 29 The Turbine Model Waterfall example, Angled perspective time Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 30. Foundations, Theory, and Practice Software Architecture 30 A Richer Example S1 Design/Build/ Requirements Test/Build/ Deploy Assess/… Requirements/Architecture assessment/Planning Build/Design/ Requirements/Test time Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 31. Foundations, Theory, and Practice Software Architecture 31 A Sample Cross-Section Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 32. Foundations, Theory, and Practice Software Architecture 32 A Cross-Section at Project End Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 33. Foundations, Theory, and Practice Software Architecture 33 Volume Indicates Where Time was Spent Design/Build/ Requirements Test/Build/ Deploy Assess/… Requirements/ Architecture Assessment / Planning Build/Design/ Requirements/Test Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 34. Foundations, Theory, and Practice Software Architecture 34 A Technically Strong Product-Line Project Assessment Parameterization Customization Deployment Capture of new work Other Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; © 2008 John Wiley & Sons, Inc. Reprinted with permission.
  • 35. Foundations, Theory, and Practice Software Architecture 35 Visualization Summary  It is illustrative, not prescriptive  It is an aid to thinking about what’s going on in a project  Can be automatically generated based on input of monitored project data  Can be extended to illustrate development of the information space (artifacts)  The preceding slides have focused primarily on the development activities
  • 36. Foundations, Theory, and Practice Software Architecture 36 Processes Possible in this Model  Traditional, straight-line waterfall  Architecture-centric development  DSSA-based project  Agile development  Dysfunctional process
  • 37. Foundations, Theory, and Practice Software Architecture 37 Summary (1)  A proper view of software architecture affects every aspect of the classical software engineering activities  The requirements activity is a co-equal partner with design activities  The design activity is enriched by techniques that exploit knowledge gained in previous product developments  The implementation activity  is centered on creating a faithful implementation of the architecture  utilizes a variety of techniques to achieve this in a cost-effective manner
  • 38. Foundations, Theory, and Practice Software Architecture 38 Summary (2)  Analysis and testing activities can be focused on and guided by the architecture  Evolution activities revolve around the product’s architecture.  An equal focus on process and product results from a proper understanding of the role of software architecture