Docsity

Guide to Software Architectural Design and Styles: Models, Patterns, and Structures, Lecture notes of Information Systems Analysis and Design

Partial preview of the text

Download Guide to Software Architectural Design and Styles: Models, Patterns, and Structures and more Lecture notes Information Systems Analysis and Design in PDF only on Docsity!

ARCHITECTURAL

DESIGN

WHAT IS SOFTWARE

ARCHITECTURE

The software architecture of a program or computing system is the structure or structures of the system, which comprise software components, the externally visible properties of those components, and the relationships among them.

ARCHITECTURE VS DESIGN

  • (^) There is a distinct difference between the terms architecture and design.
  • (^) A design is an instance of an architecture similar to an object being an instance of a class.
  • (^) For example, consider the client-server architecture. I can design a network-centric software system in many different ways from this architecture using either the Java platform (Java EE) or Microsoft platform (.NET framework). So, there is one architecture, but many designs can be created based on that architecture. Therefore, you cannot mix “architecture” and “design” with each other.

ARCHITECTURAL DECISION

  • (^) Architectural decisions themselves can be considered to be one view of the architecture.
  • (^) The reasons that decisions were made provide insight into the structure of a system and its conformance to stakeholder concerns.
  • (^) An architectural style is a transformation that is imposed on the design of an en-
  • (^) tire system. The intent is to establish a structure for all components of the system.
  • (^) In the case where an existing architecture is to be reengineered (Chapter 29), the
  • (^) imposition of an architectural style will result in fundamental changes to the structure of the software including a reassignment of the functionality of components

DATA-CENTERED

ARCHITECTURES

A data store (e.g., a file or database) resides at the center of this architecture and is accessed frequently by other components that update, add, delete, or otherwise modify data within the store. Figure 9.1 illustrates a typical data- centered style. Client software accesses a central repository. In some cases the data repository is passive. That is, client software accesses the data independent of any changes to the data or the actions of other client soft- ware. A variation on this approach transforms

DATA-FLOW ARCHITECTURES

This architecture is applied when input data are to be transformed through a series of computational or manipulative components into output data. A pipe-and-filter pattern (Figure 9.2) has a set of components, called filters, connected by pipes that transmit data from one component to the next. Each filter works independently of those components upstream and downstream, is de-signed to expect data input of a certain form, and produces data output (to the next filter) of a specified form. However, the filter does not require knowledge of the workings of its neighboring filters.

CALL AND RETURN

ARCHITECTURES

This architectural style enables you to achieve a program structure that is relatively easy to modify and scale. A number of substyles [Bas03] exist within this category: Main program/subprogram architectures. This classic program structure decomposes function into a control hierarchy where a “main” program Invokes a number of program components that in turn may invoke still other components. Figure 9. illustrates an architecture of this type. Remote procedure call architectures. The components of a main program/subprogram architecture are distributed across multiple computers on a network.

LAYERED ARCHITECTURES

The basic structure of a layered architecture is illustrated in Figure 9.4. A number of different layers are defined, each accomplishing opera-tions that progressively become closer to the machine instruction set. At the outer layer, components service user interface operations. At the inner layer, components perform operating system interfacing. Intermediate layers provide utility services and application software functions.