SlideShare una empresa de Scribd logo
1 de 18
Initial Architecture Design
5.1 Introduction
o Architecture begins at the outset of any software
activity and not a phase of development
o The solution (design) and structure (architecture)
are equally important for any product
development.
o Architecture refers to the conceptual design of
software development, the key abstraction that
form the initial design.
5.2 Architectural Styles
o Architectural style are basically lessons learnt from experience
in software system design.
o The Architectural style reflect less domain knowledge than
architectural patterns, and hence are more broadly applicable.
o It is a collection of architectural decisions that are applicable in
given development context along with the constraints specific to
a particular system within the context.
o The resulting system elicits the beneficial qualities of the
architectural design.
o The most popular architectural style are given as follows.
5.2.1 Traditional language based style
• Main program and subroutine are component and procedure calls are
connector
• Data elements are passed in and out of subroutines
• Benefits of this style is modularity
• Small programs can use this style
• Ex: 1st component gets throttle setting(burn rate) input from user for
pilot. 2nd is simulator that translates throttle setting i/p into burn rate in
order to control the engine. 3rd display updated state.
5.2.2 Object oriented style
• Objects that encapsulate functions and data form the component
• Objects are instantiated before methods are called
• Method invocation (procedure call that changes the state of the object) is
the connector
• The arguments to these methods are data elements
• The benefit is the integrity of data operations
• Applications involving complex, dynamic data structures can use this style
• Three components here are GUI, spacecraft, and environment simulator
• Layered Style
o Here architecture separated
into ordered layers
o A program or component in one
layer can obtain services from
the layer below it
o It could be in virtual machine
style or client server style
o This style used for developing
operating systems and network
protocol stack
o
5.2.3 Client Server style
• It is similar to virtual machines,
but contains only two layers with
network connections
• Clients makes request to the
server via remote procedure
calls(RPC)
• Multiple clients can access the
same server; and server provides
the requisite service for each
client
• Client are mutually independent
• If a client performs more than
user interface functions, it is
called a “thick” client, else known
as a “thin” client
5.2.4 Data flow style
o This style concerned with the movement of data between processing
elements
o This includes batch sequential and “pipe and filter” styles
o The batch sequential style mostly used in business application where
some processing has to be done on large datasets, and is not suited for
most games development
o In pipe and filter style streams of character data are passed from one
filter program to another
5.2.5 Shared style
 Also known as rule based/expert system style
 Shared memory is a knowledge base, i.e. a database with facts and
production rules which consists of “if…then” clauses over a set of
variable
 The user can input facts and production rules, and also query the
database
 An inference engine operates on the knowledge base in response to
the user input
 In interface engine parses the user input, and if it finds the input to
be a fact or production rule then it adds that to the database
 Benefits of this style is that rules can be added or deleted from
database dynamically
 for lunar lander problem, the rule based style requires a database
of all facts about the spacecraft
 The physics model can determine the state of the spacecraft
5.2.6 Interpreter style
• It executes the command dynamically one at a time, whereas the mobile code style
involves the execution of one chunk of code at a time
• In this style, the commands are more general like Excel macros
• Many graphical editing programs are interpreter-based
• The interpreter interprets the program and issues drawing commands to the
graphics engine
• Mobile code style transmits the code to a remote host machine for interpretation
• There can be various reasons for doing so:
– Lack of computing power
– Lack of resources (e.g. interpreter)
– Large datasets that are remotely located
– Mobile code can be of three different categories (depending on who requests the transmission,
where it is transmitted and where the state is stored)
1. Code on demand has resource and state locally, but downloads code from remote
host and executes locally
2. Remote evaluation is similar to grid computing
 The initiator has the code, but lacks resources
 so the code is sent to remote host for processing and the result is sent back to initiator
 Mobile agent has code and state available on local machine, but lack some of the resources
 hence code, state and some resources move to remote host where it is processed along
with the remote host resource; and the processed data need not be sent back to the
initiator
 Use of this style is when processing is to be done on large datasets in distributed locations
5.2.7 Implicit invocation
1. Push model
2. Pull model
5.2.8 Peer-to-peer(P2P) style
o Peers are loosely connected, each acting both as a client and
as a server
5.3 The tier system
o Software architects decides about what goes into each
layer (tier) and logical verses physical separation
o Layers resides on the same machine, having same runtime
(JVM) and any object in one layer can be passed to
another by value or by reference
o The tier could be on different machines or on different
runtimes, hence the data has to be passed by value only
5.3.1 Tier Zero
5.3.2 Tier one and above
5.4 Architecture Design
– Architecture embodies is unifying concept and
principle in its components and their relationship to
each other and to the environment.
– A conceptual framework is needed to establish the
terms and concepts and serve as a basic for evolution.
– Architectural description is a collection of documents,
takes into account the stakeholder’s viewpoint and
concerns.
– Consistency among the architectural viewpoint has to
be checked.
– Architectural environment is concern with
developmental, programming and operational context
of the system.
5.5 Applying tier based approach to architecture
design

Más contenido relacionado

La actualidad más candente

Aspect Oriented Software Development
Aspect Oriented Software DevelopmentAspect Oriented Software Development
Aspect Oriented Software Development
Jignesh Patel
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10
koolkampus
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
sumitjain2013
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memory
Ashish Kumar
 
Software estimation
Software estimationSoftware estimation
Software estimation
Md Shakir
 
Pressman ch-11-component-level-design
Pressman ch-11-component-level-designPressman ch-11-component-level-design
Pressman ch-11-component-level-design
Oliver Cheng
 

La actualidad más candente (20)

Aspect Oriented Software Development
Aspect Oriented Software DevelopmentAspect Oriented Software Development
Aspect Oriented Software Development
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
 
11. dfs
11. dfs11. dfs
11. dfs
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
Component level design
Component   level designComponent   level design
Component level design
 
Software Cost Factor
Software Cost FactorSoftware Cost Factor
Software Cost Factor
 
Processes and Processors in Distributed Systems
Processes and Processors in Distributed SystemsProcesses and Processors in Distributed Systems
Processes and Processors in Distributed Systems
 
File replication
File replicationFile replication
File replication
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memory
 
File models and file accessing models
File models and file accessing modelsFile models and file accessing models
File models and file accessing models
 
The complete srs documentation of our developed game.
The complete srs documentation of our developed game. The complete srs documentation of our developed game.
The complete srs documentation of our developed game.
 
Software estimation
Software estimationSoftware estimation
Software estimation
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
 
Chapter 6 synchronization
Chapter 6 synchronizationChapter 6 synchronization
Chapter 6 synchronization
 
Unit 3 cs6601 Distributed Systems
Unit 3 cs6601 Distributed SystemsUnit 3 cs6601 Distributed Systems
Unit 3 cs6601 Distributed Systems
 
Software cost estimation techniques presentation
Software cost estimation techniques presentationSoftware cost estimation techniques presentation
Software cost estimation techniques presentation
 
Deadlock in Distributed Systems
Deadlock in Distributed SystemsDeadlock in Distributed Systems
Deadlock in Distributed Systems
 
Pressman ch-11-component-level-design
Pressman ch-11-component-level-designPressman ch-11-component-level-design
Pressman ch-11-component-level-design
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
 

Destacado

[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game Engine[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game Engine
Perforce
 
Game Architecture and Programming
Game Architecture and ProgrammingGame Architecture and Programming
Game Architecture and Programming
Sumit Jain
 
Architektura współczesnych gier video
Architektura współczesnych gier videoArchitektura współczesnych gier video
Architektura współczesnych gier video
Adam Sawicki
 
05 architectural styles
05 architectural styles05 architectural styles
05 architectural styles
Majong DevJfu
 
blackboard architecture
blackboard architectureblackboard architecture
blackboard architecture
Nguyễn Ngân
 

Destacado (18)

Core Game Design (Game Architecture)
Core Game Design (Game Architecture)Core Game Design (Game Architecture)
Core Game Design (Game Architecture)
 
[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game Engine[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game Engine
 
Game Architecture and Programming
Game Architecture and ProgrammingGame Architecture and Programming
Game Architecture and Programming
 
An Introduction To Game development
An Introduction To Game developmentAn Introduction To Game development
An Introduction To Game development
 
What is direct X ?
What is direct X ?What is direct X ?
What is direct X ?
 
06 architectural design_workout
06 architectural design_workout06 architectural design_workout
06 architectural design_workout
 
Architektura współczesnych gier video
Architektura współczesnych gier videoArchitektura współczesnych gier video
Architektura współczesnych gier video
 
Microsoft Dynamics CRM Multi - Tier Architecture
Microsoft Dynamics CRM Multi - Tier ArchitectureMicrosoft Dynamics CRM Multi - Tier Architecture
Microsoft Dynamics CRM Multi - Tier Architecture
 
Infomration & network security
Infomration & network securityInfomration & network security
Infomration & network security
 
Software testing vs. Game testing
Software testing vs. Game testingSoftware testing vs. Game testing
Software testing vs. Game testing
 
05 architectural styles
05 architectural styles05 architectural styles
05 architectural styles
 
Mobile games
Mobile gamesMobile games
Mobile games
 
blackboard architecture
blackboard architectureblackboard architecture
blackboard architecture
 
Game Engine Architecture
Game Engine ArchitectureGame Engine Architecture
Game Engine Architecture
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
software architecture
software architecturesoftware architecture
software architecture
 
5 Type Of Architecture Design Process
5 Type Of Architecture Design Process 5 Type Of Architecture Design Process
5 Type Of Architecture Design Process
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 

Similar a Initial Architectural Design (Game Architecture)

Net essentials6e ch6
Net essentials6e ch6Net essentials6e ch6
Net essentials6e ch6
APSU
 
Cloud data management
Cloud data managementCloud data management
Cloud data management
ambitlick
 
Presentation date -20-nov-2012 for prof. chen
Presentation date -20-nov-2012 for prof. chenPresentation date -20-nov-2012 for prof. chen
Presentation date -20-nov-2012 for prof. chen
TAIWAN
 
Application Development for the Internet of Things.pptx
Application Development for the Internet of Things.pptxApplication Development for the Internet of Things.pptx
Application Development for the Internet of Things.pptx
KabileshCm
 

Similar a Initial Architectural Design (Game Architecture) (20)

4. system models
4. system models4. system models
4. system models
 
Diksha sda presentation
Diksha sda presentationDiksha sda presentation
Diksha sda presentation
 
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
 
architectural design
 architectural design architectural design
architectural design
 
Net essentials6e ch6
Net essentials6e ch6Net essentials6e ch6
Net essentials6e ch6
 
Network architecure (3).pptx
Network architecure (3).pptxNetwork architecure (3).pptx
Network architecure (3).pptx
 
Cloud data management
Cloud data managementCloud data management
Cloud data management
 
Presentation date -20-nov-2012 for prof. chen
Presentation date -20-nov-2012 for prof. chenPresentation date -20-nov-2012 for prof. chen
Presentation date -20-nov-2012 for prof. chen
 
Railway Reservation System - Software Engineering
Railway Reservation System - Software EngineeringRailway Reservation System - Software Engineering
Railway Reservation System - Software Engineering
 
Software architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideSoftware architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding Guide
 
SOA Design Patterns
SOA Design PatternsSOA Design Patterns
SOA Design Patterns
 
Object oriented design patterns for distributed systems
Object oriented design patterns for distributed systemsObject oriented design patterns for distributed systems
Object oriented design patterns for distributed systems
 
Improved Strategy for Distributed Processing and Network Application Developm...
Improved Strategy for Distributed Processing and Network Application Developm...Improved Strategy for Distributed Processing and Network Application Developm...
Improved Strategy for Distributed Processing and Network Application Developm...
 
Improved Strategy for Distributed Processing and Network Application Development
Improved Strategy for Distributed Processing and Network Application DevelopmentImproved Strategy for Distributed Processing and Network Application Development
Improved Strategy for Distributed Processing and Network Application Development
 
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
 
Application Development for the Internet of Things.pptx
Application Development for the Internet of Things.pptxApplication Development for the Internet of Things.pptx
Application Development for the Internet of Things.pptx
 
Software architecture unit 4
Software architecture unit 4Software architecture unit 4
Software architecture unit 4
 
Distributed Operating System
Distributed Operating SystemDistributed Operating System
Distributed Operating System
 
Ch10
Ch10Ch10
Ch10
 
Ch10
Ch10Ch10
Ch10
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

Initial Architectural Design (Game Architecture)

  • 2. 5.1 Introduction o Architecture begins at the outset of any software activity and not a phase of development o The solution (design) and structure (architecture) are equally important for any product development. o Architecture refers to the conceptual design of software development, the key abstraction that form the initial design.
  • 3. 5.2 Architectural Styles o Architectural style are basically lessons learnt from experience in software system design. o The Architectural style reflect less domain knowledge than architectural patterns, and hence are more broadly applicable. o It is a collection of architectural decisions that are applicable in given development context along with the constraints specific to a particular system within the context. o The resulting system elicits the beneficial qualities of the architectural design. o The most popular architectural style are given as follows.
  • 4. 5.2.1 Traditional language based style • Main program and subroutine are component and procedure calls are connector • Data elements are passed in and out of subroutines • Benefits of this style is modularity • Small programs can use this style • Ex: 1st component gets throttle setting(burn rate) input from user for pilot. 2nd is simulator that translates throttle setting i/p into burn rate in order to control the engine. 3rd display updated state.
  • 5. 5.2.2 Object oriented style • Objects that encapsulate functions and data form the component • Objects are instantiated before methods are called • Method invocation (procedure call that changes the state of the object) is the connector • The arguments to these methods are data elements • The benefit is the integrity of data operations • Applications involving complex, dynamic data structures can use this style • Three components here are GUI, spacecraft, and environment simulator
  • 6. • Layered Style o Here architecture separated into ordered layers o A program or component in one layer can obtain services from the layer below it o It could be in virtual machine style or client server style o This style used for developing operating systems and network protocol stack o
  • 7. 5.2.3 Client Server style • It is similar to virtual machines, but contains only two layers with network connections • Clients makes request to the server via remote procedure calls(RPC) • Multiple clients can access the same server; and server provides the requisite service for each client • Client are mutually independent • If a client performs more than user interface functions, it is called a “thick” client, else known as a “thin” client
  • 8. 5.2.4 Data flow style o This style concerned with the movement of data between processing elements o This includes batch sequential and “pipe and filter” styles o The batch sequential style mostly used in business application where some processing has to be done on large datasets, and is not suited for most games development o In pipe and filter style streams of character data are passed from one filter program to another
  • 9. 5.2.5 Shared style  Also known as rule based/expert system style  Shared memory is a knowledge base, i.e. a database with facts and production rules which consists of “if…then” clauses over a set of variable  The user can input facts and production rules, and also query the database  An inference engine operates on the knowledge base in response to the user input  In interface engine parses the user input, and if it finds the input to be a fact or production rule then it adds that to the database  Benefits of this style is that rules can be added or deleted from database dynamically  for lunar lander problem, the rule based style requires a database of all facts about the spacecraft  The physics model can determine the state of the spacecraft
  • 10.
  • 11. 5.2.6 Interpreter style • It executes the command dynamically one at a time, whereas the mobile code style involves the execution of one chunk of code at a time • In this style, the commands are more general like Excel macros • Many graphical editing programs are interpreter-based • The interpreter interprets the program and issues drawing commands to the graphics engine • Mobile code style transmits the code to a remote host machine for interpretation • There can be various reasons for doing so: – Lack of computing power – Lack of resources (e.g. interpreter) – Large datasets that are remotely located – Mobile code can be of three different categories (depending on who requests the transmission, where it is transmitted and where the state is stored) 1. Code on demand has resource and state locally, but downloads code from remote host and executes locally 2. Remote evaluation is similar to grid computing  The initiator has the code, but lacks resources  so the code is sent to remote host for processing and the result is sent back to initiator  Mobile agent has code and state available on local machine, but lack some of the resources  hence code, state and some resources move to remote host where it is processed along with the remote host resource; and the processed data need not be sent back to the initiator  Use of this style is when processing is to be done on large datasets in distributed locations
  • 12.
  • 13. 5.2.7 Implicit invocation 1. Push model 2. Pull model
  • 14. 5.2.8 Peer-to-peer(P2P) style o Peers are loosely connected, each acting both as a client and as a server
  • 15. 5.3 The tier system o Software architects decides about what goes into each layer (tier) and logical verses physical separation o Layers resides on the same machine, having same runtime (JVM) and any object in one layer can be passed to another by value or by reference o The tier could be on different machines or on different runtimes, hence the data has to be passed by value only 5.3.1 Tier Zero 5.3.2 Tier one and above
  • 16. 5.4 Architecture Design – Architecture embodies is unifying concept and principle in its components and their relationship to each other and to the environment. – A conceptual framework is needed to establish the terms and concepts and serve as a basic for evolution. – Architectural description is a collection of documents, takes into account the stakeholder’s viewpoint and concerns. – Consistency among the architectural viewpoint has to be checked. – Architectural environment is concern with developmental, programming and operational context of the system.
  • 17.
  • 18. 5.5 Applying tier based approach to architecture design