week 7 Software Design (Architecture)

 0    31 fiszek    up804653
ściągnij mp3 drukuj graj sprawdź się
 
Pytanie English Odpowiedź English
What is Architectural Design?
rozpocznij naukę
Understanding how a system should be organized and designing the overall structure of that system
name 6 Architectural Patterns.
rozpocznij naukę
Layered Architecture, Repositories, Process Contro, Pipe and Filter, Object Oriented, Event based.
Describe Pipe and filter.
rozpocznij naukę
-A series of processes (filters) connected by pipes -The behavior of the system is the composition of behavior of the filters -Filters don’t need to know anything about what they are connected to -Filters can be implemented in parallel
Give exampls of where pipe and filter may be used.
rozpocznij naukę
1) UNIX shell command. 2) Compilers: Lexical analysis -> Parsing -> Semantic analysis -> Code generation 3) Signal processing.
What are the benefits of pipe and filter?
rozpocznij naukę
Easy to understand, Workflow style matches the structure of many business processes, Evolution is straightforward, Can be implemented as either sequential or concurrent system.
Give some drawbacks of pipe and filter.
rozpocznij naukę
The format of data transfer has to be agreed upon between communicating components, Each component must parse its input and unparse its output to the agreed form.
Describe Object Oriented Architectures
rozpocznij naukę
Decompose problems into sets of interacting objects, Objects must know the identity of objects they interact with, Internal data representations of objects are not visible externally.
What are the two sub types of object oriented architecture?
rozpocznij naukę
Client server and object broker
describe Client Server Architecture
rozpocznij naukę
Servers provide services; clients request and use these services, Clients do not need to know about one another, Clients must know the identity of the server, Breaks the system into manageable components.
Give a use of Client Server Architecture
rozpocznij naukę
Data in a shared database needs to be accessed from a range of locations
what are the benefits of Client Server Architecture
rozpocznij naukę
Servers can be distributed across a network General functionality available to all clients; does not need to be replicated
What are the drawbacks of Client Server Architecture
rozpocznij naukę
Performance depends on the network, so can be unpredictable, Servers are single points of failure, susceptible to attacks and failure.
What is Object Brokers Architecture
rozpocznij naukę
Adds a broker between the clients and the servers, Clients don’t need to know which server they are using, Can have multiple brokers and multiple servers.
what is Event-Based Architecture
rozpocznij naukę
Components react to externally generated events and communicate with other components through events
what are Event-Based Architectureused for?
rozpocznij naukę
Debugging systems: listen for breakpoints, Graphical User Interfaces: listen for user inputs, Database management systems: data integrity checks.
what are the Event-Based Architecture Benefits
rozpocznij naukę
Loosely coupled and well distributed, Support broadcast communication in a distributed context.
What are the Event-Based Architecture Drawbacks
rozpocznij naukę
Workflow is usually not obvious, Performance may be a concern.
describe Layered Architecture
rozpocznij naukę
The system is organized into layers with related functionality associated with each layer
give a use of Layered Architecture
rozpocznij naukę
Operating systems Network communication protocols
What are Layered Architecture Benefits?
rozpocznij naukę
Allows replacement of entire layers so long as the interface is maintained, Redundant services can be provided in each layer to increase the dependability of the system.
What are Layered Architecture Drawbacks
rozpocznij naukę
Providing a clean separation between layers of difficult, Performance can be a problem because of multiple levels of interpretation of a service request.
What are the 2 kinds of layerd architecture?
rozpocznij naukę
open and closed
describe open layerd architecture
rozpocznij naukę
A layer can use services from any lower layer, More compact code, as the services of lower layers can be accessed directly, Increased dependency between layers.
describe Closed Layered Architecture
rozpocznij naukę
Each layer only uses services of the layer immediately below, Minimizes dependencies between layers, Reduces the impact of change.
What is a Repositories Architecture
rozpocznij naukę
All data in a system is managed in a central repository that is accessible to all system components
give a use for Repositories Architecture
rozpocznij naukę
Databases, Blackboard expert systems, Programming environments.
what are the Repositories Architecture Benefits
rozpocznij naukę
Components can be independent, Changes made by one component can be propagated to all components, All data can be managed consistently as it is all in one place.
what are the Repositories Architecture Drawbacks?
rozpocznij naukę
The repository is a single point of failure so problems in the repository affect the whole system, Distributing the repository across several computers may be difficult, Organizing all communication through the repository might be inefficient.
what is the Repositories Architecture: MVC
rozpocznij naukę
Model View Controller
Explain the Repositories Architecture: MVC
rozpocznij naukę
change me
What are the Repositories Architecture MVC Uses?
rozpocznij naukę
There are multiple ways to view and interact with data, Future requirements for interaction and presentation of data are unknown.

Musisz się zalogować, by móc napisać komentarz.