Layers

Layers - Layers Architecture Pattern Source:...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Layers Architecture Pattern Source: Pattern-Oriented Software Architecture, Vol. 1, Buschmann, et al
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Problem You are designing a system that needs to handle a mix of low-level and high-level issues Low-level: hardware traps, sensor input, file I/O High-level: user interface, application logic High-level operations rely on lower-level ones User-visible functionality must be mapped onto the target platform Several levels of abstraction must be spanned to perform this mapping The system is large, and a methodical approach to organizing it is needed to keep it understandable
Background image of page 2
Solution Structure the system into an appropriate number of layers, and place them on top of each other Each layer represents a level of abstraction Components are placed in layers based on their levels of abstraction Layer 1 is at the bottom and contains components closest to the hardware/OS Layer N is at the top and contains components that interact directly with the system's clients Client Layer N Layer N-1 Layer 2 Layer 1
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Solution Layer J uses the services of Layer J-1 and provides services to Layer J+1 Most of Layer J's services are implemented by composing Layer J-1's services in meaningful ways Layer J raises the level of abstraction by one level Client Layer N Layer N-1 Layer 2 Layer 1
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/02/2012 for the course C S 340 taught by Professor Woodfield,s during the Winter '08 term at BYU.

Page1 / 16

Layers - Layers Architecture Pattern Source:...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online