SlideShare a Scribd company logo
1 of 25
ARCHITECTURAL STYLES - 2
An architectural style defines a family of Systems in terms
of a pattern of structural Organization. It determines:
–The vocabulary of components and connectors
– A set of constraints on how they can be
combined.
Dr Reeja S R
Professor
CSE Dept
SJECVamanjoor, Mangalore
ARCHITECTURAL STYLES - 2
Layered systems
Repositories
interpreters
Layered Systems
Layered Systems
 Components – layers
 Connectors – procedure calls
 Each layer acts as a
 Server: service provider to layer “above”
 Client: service consumer of the layer “below”
Examples
Networking protocols
Operating System
Layered pattern - variant
Closed architecture Open architecture
Advantages
 Support design based on increasing levels of abstraction – thereby
partitioning a complex problem into a sequence of incremental
steps
 Supports enhancement since changes to one layer affects at the
most 2 adjacent layer
 Supports reuse - since different implementations (with identical
interfaces) of the same layer can be used interchangeably
Disadvantages
 All systems cannot be structured in a layered fashion
 It is quite difficult to get the right level of abstraction.
 The system may suffer lower performance
REPOSITORIES
Repositories
Repositories Architectural Style
 Components
 A central data structure representing the current state of the
system.
 A collection of independent components that operate on the
central data structure.
 Connectors
 Procedure calls or direct memory accesses.
Variants
1. Type of transactions in an input stream trigger
selection of process to execute
2. Current state of the central data structure is the
main trigger for selecting processes to execute.
Ex: Blackboard
Blackboard
Typically used for AI systems and in applications requiring complex
interpretations of signal processing, such as speech and pattern recognition.
Distance
Object Location …
Visual
Processor
Motion
System
Voice
Synthesizer
Blackboard
Object Location …
o1 L1
o2 L2
Distance
Object Location …
o1 L1
o2 L2
10
Visual
Processor
Motion
System
Voice
Synthesizer
Blackboard
If(dist >=3)
Distance
Object Location …
o1 L1
o2 L2
8
Visual
Processor
Motion
System
Voice
Synthesizer
Blackboard
If(dist >=3)
Distance
Object Location …
o1 L1
o2 L2
6
Visual
Processor
Motion
System
Voice
Synthesizer
Blackboard
If(dist >=3)
Distance
Object Location …
o1 L1
o2 L2
4
Visual
Processor
Motion
System
Voice
Synthesizer
Blackboard
If(dist >=3)
Distance
Object Location …
o1 L1
o2 L2
2
Visual
Processor
Motion
System
Voice
Synthesizer
Blackboard
If(dist < 3)
Repositories
 Advantages
 Efficient way to store large amounts of data.
 Centralized management for backup, security and
concurrency control
 Disadvantages
 Must agree on a data model a priori.
 Data evolution is expensive
INTERPRETERS
Suitable for applications in which the most appropriate
language or machine for executing the solution is not
directly available
Interpreter
 An interpreter takes a program written in one
language and interprets it to another language
Interpreter
Interpreter
 An interpreter has 4 Components:
 “Program” being executed and its data
 Interpretation engine and its state
 Connectors
 procedure calls and shared state.
Interpreter Examples
 Programming Language Compilers: Java, Smalltalk
 Rule Based Systems: Prolog, Coral
 Scripting Languages: Awk, Perl

More Related Content

What's hot

Software architecture Unit 1 notes
Software architecture Unit 1 notesSoftware architecture Unit 1 notes
Software architecture Unit 1 notes
Sudarshan Dhondaley
 
05 architectural styles
05 architectural styles05 architectural styles
05 architectural styles
Majong DevJfu
 
Importance of software architecture
Importance of software architectureImportance of software architecture
Importance of software architecture
Himanshu
 

What's hot (20)

Software engineering 17 architectural design
Software engineering 17 architectural designSoftware engineering 17 architectural design
Software engineering 17 architectural design
 
Importance of software architecture 1
Importance of software architecture 1Importance of software architecture 1
Importance of software architecture 1
 
software architecture
software architecturesoftware architecture
software architecture
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Software architecture Unit 1 notes
Software architecture Unit 1 notesSoftware architecture Unit 1 notes
Software architecture Unit 1 notes
 
Layered architecture style
Layered architecture styleLayered architecture style
Layered architecture style
 
05 architectural styles
05 architectural styles05 architectural styles
05 architectural styles
 
System Development Life Cycle (SDLC)
System Development Life Cycle (SDLC)System Development Life Cycle (SDLC)
System Development Life Cycle (SDLC)
 
Architectural design of software
Architectural  design of softwareArchitectural  design of software
Architectural design of software
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Essential Software Architecture - Chapter 1 Understanding Software Architectu...
Essential Software Architecture - Chapter 1 Understanding Software Architectu...Essential Software Architecture - Chapter 1 Understanding Software Architectu...
Essential Software Architecture - Chapter 1 Understanding Software Architectu...
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Se lec5
Se lec5Se lec5
Se lec5
 
Sda 7
Sda   7Sda   7
Sda 7
 
Shared information systems
Shared information systemsShared information systems
Shared information systems
 
Importance of software architecture
Importance of software architectureImportance of software architecture
Importance of software architecture
 
PhD defense: David Ameller
PhD defense: David AmellerPhD defense: David Ameller
PhD defense: David Ameller
 
Design techniques
Design techniquesDesign techniques
Design techniques
 
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLESA COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
 

Viewers also liked

с днём рождения илья!!!!
с днём рождения илья!!!!с днём рождения илья!!!!
с днём рождения илья!!!!
artem_kalinin
 
De alexandre à era digital
De alexandre à era digitalDe alexandre à era digital
De alexandre à era digital
Karyn XP
 
Media evaluation Q1, 2
Media evaluation Q1, 2Media evaluation Q1, 2
Media evaluation Q1, 2
pjacky
 
Magazine article analysis
Magazine article analysisMagazine article analysis
Magazine article analysis
anniekristina
 
как вставить объект базы знаний в свой учебный материал в е км-школе
как вставить объект базы знаний в свой учебный материал в е км-школекак вставить объект базы знаний в свой учебный материал в е км-школе
как вставить объект базы знаний в свой учебный материал в е км-школе
pekzpekz
 

Viewers also liked (17)

с днём рождения илья!!!!
с днём рождения илья!!!!с днём рождения илья!!!!
с днём рождения илья!!!!
 
สายคู่บิดเกลียว(คิด เต็มตะวัน-407)
สายคู่บิดเกลียว(คิด เต็มตะวัน-407)สายคู่บิดเกลียว(คิด เต็มตะวัน-407)
สายคู่บิดเกลียว(คิด เต็มตะวัน-407)
 
De alexandre à era digital
De alexandre à era digitalDe alexandre à era digital
De alexandre à era digital
 
Projeto flavia
Projeto flaviaProjeto flavia
Projeto flavia
 
Resumen Manual Daewoo Cielo
Resumen Manual Daewoo CieloResumen Manual Daewoo Cielo
Resumen Manual Daewoo Cielo
 
Media evaluation Q1, 2
Media evaluation Q1, 2Media evaluation Q1, 2
Media evaluation Q1, 2
 
Dairy san martin ingles
Dairy san martin inglesDairy san martin ingles
Dairy san martin ingles
 
El conte del tres porquets
El conte del tres porquetsEl conte del tres porquets
El conte del tres porquets
 
микола пимоненко
микола пимоненкомикола пимоненко
микола пимоненко
 
Magazine article analysis
Magazine article analysisMagazine article analysis
Magazine article analysis
 
как искать информационно образовательные ресурсы в базе знаний е-км-школы
как искать информационно образовательные ресурсы в базе знаний е-км-школыкак искать информационно образовательные ресурсы в базе знаний е-км-школы
как искать информационно образовательные ресурсы в базе знаний е-км-школы
 
Insightful reveals Business Networks for companies
Insightful reveals Business Networks for companiesInsightful reveals Business Networks for companies
Insightful reveals Business Networks for companies
 
Magazine pitch
Magazine pitchMagazine pitch
Magazine pitch
 
UlvcersUlcers
UlvcersUlcersUlvcersUlcers
UlvcersUlcers
 
Carla Conca, SIEC's President, speaks at New Generations Festival 2013
Carla Conca, SIEC's President, speaks at New Generations Festival 2013Carla Conca, SIEC's President, speaks at New Generations Festival 2013
Carla Conca, SIEC's President, speaks at New Generations Festival 2013
 
вольфганг амадей моцарт
вольфганг амадей моцартвольфганг амадей моцарт
вольфганг амадей моцарт
 
как вставить объект базы знаний в свой учебный материал в е км-школе
как вставить объект базы знаний в свой учебный материал в е км-школекак вставить объект базы знаний в свой учебный материал в е км-школе
как вставить объект базы знаний в свой учебный материал в е км-школе
 

Similar to Architectural styles 2

CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
KishaKiddo
 
Web based-distributed-sesnzer-using-service-oriented-architecture
Web based-distributed-sesnzer-using-service-oriented-architectureWeb based-distributed-sesnzer-using-service-oriented-architecture
Web based-distributed-sesnzer-using-service-oriented-architecture
Aidah Izzah Huriyah
 
Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH
veena babu
 
Function oriented design
Function oriented designFunction oriented design
Function oriented design
Vidhun T
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10
koolkampus
 

Similar to Architectural styles 2 (20)

Software architecture unit 4
Software architecture unit 4Software architecture unit 4
Software architecture unit 4
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
 
Web based-distributed-sesnzer-using-service-oriented-architecture
Web based-distributed-sesnzer-using-service-oriented-architectureWeb based-distributed-sesnzer-using-service-oriented-architecture
Web based-distributed-sesnzer-using-service-oriented-architecture
 
List of Software Architecture Styles
List of Software Architecture StylesList of Software Architecture Styles
List of Software Architecture Styles
 
Dos unit1
Dos unit1Dos unit1
Dos unit1
 
istributed system
istributed systemistributed system
istributed system
 
Parallel Processing (Part 2)
Parallel Processing (Part 2)Parallel Processing (Part 2)
Parallel Processing (Part 2)
 
Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH
 
Ddbms1
Ddbms1Ddbms1
Ddbms1
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...
 
Mod 2 end copy
Mod 2 end copyMod 2 end copy
Mod 2 end copy
 
Unit-3.doc
Unit-3.docUnit-3.doc
Unit-3.doc
 
Clusters
ClustersClusters
Clusters
 
Software Architecture in Architecture design .ppt
Software Architecture in Architecture design .pptSoftware Architecture in Architecture design .ppt
Software Architecture in Architecture design .ppt
 
Architectural design
Architectural designArchitectural design
Architectural design
 
Se lec6
Se lec6Se lec6
Se lec6
 
Function oriented design
Function oriented designFunction oriented design
Function oriented design
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10
 
LM5 - Computer System Organization, OS (Structure & Operations).pptx
LM5 - Computer System Organization, OS (Structure & Operations).pptxLM5 - Computer System Organization, OS (Structure & Operations).pptx
LM5 - Computer System Organization, OS (Structure & Operations).pptx
 

More from Dr Reeja S R (15)

Unit 2 contd. and( unit 3 voice over ppt)
Unit 2 contd. and( unit 3   voice over ppt)Unit 2 contd. and( unit 3   voice over ppt)
Unit 2 contd. and( unit 3 voice over ppt)
 
Fundamentals of data network
Fundamentals of data networkFundamentals of data network
Fundamentals of data network
 
Module iv
Module ivModule iv
Module iv
 
Module ii continued
Module ii continuedModule ii continued
Module ii continued
 
Module ii
Module iiModule ii
Module ii
 
Sa unit-2-three-vignets
Sa unit-2-three-vignetsSa unit-2-three-vignets
Sa unit-2-three-vignets
 
Case study 4
Case study 4Case study 4
Case study 4
 
Case study 3
Case study 3Case study 3
Case study 3
 
Case study 2
Case study 2Case study 2
Case study 2
 
Case study 1
Case study 1Case study 1
Case study 1
 
Architectural styles 3
Architectural styles   3Architectural styles   3
Architectural styles 3
 
Ch2
Ch2Ch2
Ch2
 
Architecture business cycle ( abc )
Architecture business cycle ( abc )Architecture business cycle ( abc )
Architecture business cycle ( abc )
 
Architectural structures and views
Architectural structures and viewsArchitectural structures and views
Architectural structures and views
 
Software Architecture
Software ArchitectureSoftware Architecture
Software Architecture
 

Recently uploaded

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
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
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
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
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
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...
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
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
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 

Architectural styles 2