Softwarearchitecture
Softwarearchitecture
Features
Every System has its own architecture but they are not identical. Software architecture and its description are different. The different stakeholders are 1. Users of the System 2. Acquirers of the System 3. Developers of the System 4. Maintainers of the System
Different views are: o Component and Connector view. o Decomposition view. o Allocation view
Decomposition View
Allocation View
Implementation view
Deployment View
Architectural Styles
Pipes & Filters Client- Server Event Driven Hierarchical Layer Data Sharing Object Oriented
Recursive Technique
Web Application
Another Example
Distributed Application Architecture that partitions the tasks into service providers and service requesters
Advantages
Roles and responsibilities of computing systems to be distributed among independent computers known to each other only through the network. All the data is stored in the server which have better security controls. Caters to multiple different clients with different capabilities. Data updates are easier and faster as Data is centralized.
Disadvantages
As the number of client requests increases the server becomes overloaded Client - Server Architecture lacks the robustness of Peer to Peer Architecture.
Event-Driven Architecture
Architecture pattern that promotes production, detection, consumption of and reaction to events. It consists of event emitters and event consumers. Sinks have the responsibility of applying a reaction as soon as the event is presented.
Systems have certain goal under the control of some message mechanism and the subsystem collaborates with each other to achieve system's ultimate goal.
Hierarchical Layer
It is a layered architecture. Each layer has 2 roles: 1. Provide services for the upper layers. 2. Call lower layers functions. Conceptual layer system model:
Advantages of Layering
Supports gradual abstraction in the system design process. Layer system has good extendability. Layer style supports software reuse.
Data Sharing
Also called repository style. System has 2 components: 1. Central data unit component. 2. Set of relativelydependentcomponents. Central data unit called the repository shares information with all the other units. There are differences in the information exchange patterns. Thus there are 2 main control stratergies to deal with these information exchange patterns.
Object Oriented
The key features are: o Data Abstraction. o Modularization. o Information encapsulation. o Inheritance. o Polymorphism. Objects in the problem are first recognized, then proper classes are constructed to represent these objects. Java - Object Oriented Programming, C - Procedural programming.
Darwin
Declarative Language. Describes the organization of software in terms of components, their interfaces and their binding components between them. Provides general purpose notations for specifying the structure of the system. Focuses on specification of distributed software system. Supports the specifications of dynamic structures.
Conclusion-I
Common attribute in all the architectural slides extendibility. Good software - closed for change, open for extension. Each style has its good quality attributes at the cost of sacrificing other quality attributes. o Pipes and filters style has bad interactivity while event driven style has good support for user interactivity. o In event driven style its hard to share common data, while repositories has advantage of data sharing.
Conclusion-II
Maximum benefit of software architectural styles can be achieved by the integration of different styles.
References
Software Architecture - Zheng Qin, Jiankuan Xing, Xiang Zheng. Garfixia Software Architecture - Patrick Van Bergen. Art of Software Architecture: Design methods and Techniques - S.T. Albin.