



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































“We have found that understanding software architecture is the key to developing many important software solutions.”
organization in an architecture. It appears as a toolbox containing tools (architecture) useful in constructing different kinds of software modules.
Types of components : Processing elements used to transform data (i.e., formatting routines in text formatting package). Types of connectors : Control and data paths between components. Constraints : Restrictions on processing, data, and allowable ways to “wire” components together.
Vocabulary : A set of design elements such as pipes, filters, client, severs, parsers, databases, etc. Architectural Elements Processing Elements Or Components Data Elements (^) Connecting Elements
Design rules : These are the set of constraints that dictates how the processing elements should be connected. Semantic interpretation: An architectural style provides a well-defined meaning of the connected design elements. Analyses: Many styles provide analyses that can be performed on systems build in that style, i.e., deadlock detection, scheduling, etc. Detailed Description:
ports or interfaces.
variables, remote procedure call, and message passing.
that can be called by another component, events, etc.
Processing Element or Component {Attributes} Processing Element or Component {Attributes} Connectors {Attributes} Configuration Interfaces or ports
Architecture element : Application package: MS Word Processing elements or components : Spelling, grammar, Thesaurus, Word count, etc. Data element : File name Connectors : Pull-down menu and item buttons
Dataflow Systems : Pipelines (pipes & filters) Batch processing, Process control Call-&Return : Object-oriented (OO) Layered Procedure oriented Independent-Process : Event-action system Distributed system Communicating processes Parallel processes Agent Repository : Database Hypertext Archival Blackboard Virtual Machine : Intelligent system Rule-based system
Interpreters
Pipes % cat filename | sort | tail -3 | grep Mac Unix Windows Bell Mac Input to sort Bell Mac Unix Windows Input to tail Mac Unix Windows Input to grep Mac Pipeline Output
6.1Layered Architecture:
system requirements call independent tasks organized hierarchically.
operating, computer-to-computer communications, etc.
A layered architecture is designed as a hierarchy of client-server processes that minimizes interaction between layers. Each layer acts as a client for the module above it and acts as a server for the module below it in an architecture layer.
Executive layer: provides record managements. Kernel layer: Handles I/O (device drivers), schedules and control processes, manages memory.
Layered architecture provides an incremental approach to designing a complex system. Maintainability: Layered can be easily maintained and even replaced. Extendibility: new services (layers) can be easily added.
7.1Motivations
Computer Hardware and/or Software Layers you need, in order to build a modular information system.
N-Tier means "Any Number of Tiers" ~ No Limits ~
component part to be developed, managed, deployed and enhanced independently.
performance and maintainability of Client/Server systems to be substantially improved.
distribution, since most of the business logic has been moved from the client to the server.
architectures include: Changes to the user interface or to the application logic are largely independent from one another, allowing the application to evolve easily to meet new requirements.
program (usually on a different machine) for a specific function or purpose. The client exists in the position of the requester for the service provided by the server. 7.3.1 Different Types of Architectures
In two-tier client/server architecture, the client communicates directly with the database server. The application or business logic either resides on the client or on the database server in the form of stored procedures. A two-tier (C/S) model first began to emerge with the applications developed for local area networks in the late eighties, and was primarily based upon simple file sharing techniques implemented by X-base style products (dBase, FoxPro, Clipper, Paradox, etc.).
A newer generation of Client/Server implementations takes this segmented model a step further and adds a middle tier to achieve a '3-tier' architecture.
intelligent "fat" client where most of the processing occurs. This configuration did not scale well however, to facilitate large or even mid-size information systems (greater than 50 or so connected clients).
An alternative 'Thin' Client < --- > 'Fat' Server configuration, where the user invokes procedures stored at the database server. The 'Fat' Server model, is more effective in gaining performance
A multi-tier architecture augments traditional client/server and two-tier computing by introducing (one or more) middle-tier components. The client system interacts with the middle-tier via a standard protocol such as HTTP or RPC. The middle-tier interacts with the backend server via standard database protocols such as SQL, ODBC and JDBC. This middle-tier contains most of the application logic, translating client calls into database queries and other actions, and translating data from the database into client data in return.
8.1Communicating Processes:
output ports.
together. Ports are connected by input and output channels.
topology, i.e., mesh, tree, etc.
Processes and channels to communicate these processes.
Communicating Sequential Processes (CSP) specification language. CSP was introduced by Hoare (1978, 1985).