Layers Data from IBM-Rational and Craig Larman’s text integrated into these slides. These are great references… Slides from these sources have been modified.

Slides:



Advertisements
Similar presentations
Ch:8 Design Concepts S.W Design should have following quality attribute: Functionality Usability Reliability Performance Supportability (extensibility,
Advertisements

Chapter 13 Review Questions
Database Architectures and the Web
1 Layers Data from IBM-Rational and Craig Larman’s text integrated into these slides. These are great references… Slides from these sources have been modified.
GRASP Patterns M Taimoor Khan
© Lethbridge/Laganière 2001 Chapter 9: Architecting and designing software1 Layers Data from IBM-Rational and Craig Larman…
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 5: Restaurant.
CSCI 639 Topics in Software Engineering Assignment #3 Fall 2008.
The Architecture Design Process
Logical Architecture and UML Package Diagrams
Chapter 13 Starting Design: Logical Architecture and UML Package Diagrams.
© Drexel University Software Engineering Research Group (SERG) 1 Based on the paper by Philippe Kruchten from Rational Software.
University of Utah SoCCS Lecture 61 Architecture – An Introduction CS Lecture 6 Nathan Dykman.
RUP Design RUP Artifacts and Deliverables
BTS430 Systems Analysis and Design using UML Domain Model Part 1—Finding Conceptual Classes.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 07. Review Architectural Representation – Using UML – Using ADL.
SWE © Solomon Seifu ELABORATION. SWE © Solomon Seifu Lesson 11 Subsystem Design.
Requirements To Design--Iteratively Chapter 12 Applying UML and Patterns Craig Larman.
Chapter 9 Moving to Design
Chapter 7 Applying UML and Patterns Craig Larman
Systems Analysis and Design in a Changing World, 3rd Edition
Chapter 13 Logical Architecture and UML Package Diagrams 1CS6359 Fall 2012 John Cole.
Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.
GRASP: Designing Objects with Responsibilities
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
What to remember from Chap 13 (Logical architecture)
Introduction to Design Patterns Part 1. © Lethbridge/Laganière 2001 Chapter 6: Using design patterns2 Patterns - Architectural Architectural Patterns:
1 CMPT 275 High Level Design Phase Modularization.
Software Design: Principles, Process, and Concepts Getting Started with Design.
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 system architecture 1 after designing to meet functional requirements, design the system.
CSC480 Software Engineering Lecture 8-9 September 20, 2002.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler
CSC 480 Software Engineering High Level Design. Topics Architectural Design Overview of Distributed Architectures User Interface Design Guidelines.
Analysis Yaodong Bi. Introduction to Analysis Purposes of Analysis – Resolve issues related to interference, concurrency, and conflicts among use cases.
Copyright © Craig Larman All Rights Reserved Large-Scale System Partitioning.
Logical Architecture and UML Package Diagrams. The logical architecture is the large-scale organization of the software classes into packages, subsystems,
Distributed Systems Architectures Chapter 12. Objectives  To explain the advantages and disadvantages of different distributed systems architectures.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Architecture Concept Documents
DESIGN MODEL: USE-CASE REALIZATIONS WITH GRASP PATTERNS
OO Methodology OO Architecture.
CSC 480 Software Engineering
The Object Oriented Approach to Design
Design and Maintenance of Web Applications in J2EE
Chapter 13 Logical Architecture.
Object-Oriented Design
What is an Architecture?
Component-Level Design
Figure 30.2 Layers in NextGen
Introduction to Design Patterns Part 1
Layers Data from IBM-Rational and Craig Larman’s text integrated into these slides. These are great references… Slides from these sources have been modified.
Starting Design: Logical Architecture and UML Package Diagrams
Design and Implementation
Chapter 13 Logical Architecture.
Software Design Lecture : 8
An Introduction to Software Architecture
The Islamia University Bahawalpur
SAMANVITHA RAMAYANAM 18TH FEBRUARY 2010 CPE 691
CS 8532: Advanced Software Engineering
What is an Architecture?
Chapter 5 Architectural Design.
Design Yaodong Bi.
Use-Case Design in Context
Use Case Analysis – continued
Chapter 6: Architectural Design
Software Development Process Using UML Recap
Chapter 13 Logical Architecture.
Logical Architecture & UML Package Diagrams
Presentation transcript:

Layers Data from IBM-Rational and Craig Larman’s text integrated into these slides. These are great references… Slides from these sources have been modified for pedagogical reasons. © Lethbridge/Laganière 2001

Objectives of Architectural Design In Architectural Design, we define the pieces/parts (generalizing: “components”) of the system and their relationships. Relationships implies dependencies, services needed, and more. in our case, these pieces will be organized into well-defined layers Layers will provide services, and exhibit explicit dependencies subscribe to accepted principles of ‘layering.’ © Lethbridge/Laganière 2001

Objectives of Architectural Design Architectural Design - starting point for design. Remember, design bridges a major gap: Problem Space (requirements, use cases, analysis modeling, prototyping…to the Solution Space. Equivalently, we are mapping ‘what’ to ‘how.’ We will talk in terms of design (solution) elements © Lethbridge/Laganière 2001

Architectural Design in Context – ‘about choices!’ Architectural Design is where the “filtering and factoring” is done before setting the designers loose on Use-Case Design. Keep in mind that the focus of all architectural activities is on the “big picture”. Architectural Design is all about decisions. In Architectural Design, the Logical View chapter of the “Design Handbook” is developed. Architectural Design in this course encompasses the following RUP Analysis and Design workflow activities: - Identify Design Mechanisms - Identify Design Elements - Incorporate Existing Design Elements. They are covered in a single module here as they are conceptually a single activity (all dealing with the Logical View of the architecture), and they are not covered in the same level of detail as they are in RUP. Architectural Analysis Architectural Describe Review the Describe Architecture Architecture Architect Design Concurrency Distribution Reviewer Subsystem Design Use-Case Analysis Use-Case Designer Design Review the Design Design Reviewer Class Design Our workflow – a tailored version of the Analysis and Design core workflow of the RUP. In Use Case Analysis: looked at requirements; allocated responsibilities to analysis classes. Now undertake Architectural Design. © Lethbridge/Laganière 2001

More… We have defined and decided upon a a layered architecture, and we should recorded decisions as to the contents of each layer. In continuing our Architectural Design we will refine our analysis classes (boundary, control, entity) into design elements (design classes, subsystems, components) Architectural layers constitute the implementation environment. We will allocate these design elements to layers; within layers, to packages and subsystems in the architecture. © Lethbridge/Laganière 2001

1. Typical Layering Approach Specific functionality General functionality This is a very broad generalization. in practice, things will be considerably different and application dependent in many cases. Note: this is also a very general view; may/may not include a GUI layer. © Lethbridge/Laganière 2001

LAYERS – in general, there are several scenarios… Certain packages in a layer may/may not use services of layers directly beneath them. Layers don’t necessarily shield one layer from other. a package in application layer may need some domain services – in a domain layer beneath them. Thus, for those packages, there is a domain services layer beneath them. A package in the same upper layer may need technical services. For these packages, dependencies are on layers beneath them but skipping an intervening layer and go directly to middleware component. Application layer has components unique to the application. Business specific (domain layer) may have reusable subsystems Middleware layer may likely have the DB Controller, transaction dispatcher, Broker (pattern), persistency mechanisms, security mechanisms and other classes and associated relationships. © Lethbridge/Laganière 2001

2. Multi-Tier Layered Architecture - Example Separate presentation and application logic, and other areas of concern. Consider: Different names (in some cases). Can see the main idea! Discuss! UI Layer (or Presentation Layer) (Interface may/may not be graphical…) “Domain” or “Application Logic” Layer (May/may not need both…) Services Layer Persistence Subsystem Logging Subsystem Security Subsystem © Lethbridge/Laganière 2001

In more detail: A Simple Logical Architecture Using UML, logical partitioning illustrated with package /subsystem diagrams. The layers ‘might’ look like these….a design choice! Here, the User Interface is first. Some authors call this a Presentation Layer (makes sense if UI is graphical…) These might be the only layers needed. © Lethbridge/Laganière 2001

Adding An Application Coordination Layer – another twist? Consider an “application coordination layer” whose objects represent use cases. This is often (not always) a better design. Added this layer! (look like control class names…)  © Lethbridge/Laganière 2001

Continuing: Showing Package Dependencies (good slide w/dependencies) It is useful to show the coupling with UML dependency lines. Further, it is helpful to cite the purpose of each subsystem / package to show how these design elements cohere. Document these. Discuss the dependencies!! © Lethbridge/Laganière 2001

Ordering Work What do we now start? What do/can we now do in parallel? How? Discuss! © Lethbridge/Laganière 2001

A Little Variation with this Thinking Next slide is VERY good! This architectural approach adds layers but ratchets down a bit. Note the cohesion in each layer (what it does; area of concern) Note also the dependencies. © Lethbridge/Laganière 2001

3. Here is still another view of layers: Note the suggested layer contents GUI windows Reports Presentation Speech interface (AKA Interface, UI, View) HTML, XML, XSLT, JSP, Javascript, ... more application specific Handles presentation layer requests Workflow Application Session state (AKA Workflow, Process, Window/page transitions Mediation, App Controller) Consolidation/transformation of disparate data for presentation dependency Handles application layer requests Domain(s) Implementation of domain rules (AKA Business, Domain services ( POS , Inventory ) Business Services, Model) - Services may be used by just one application, but there is also the possibility of multi-application services Very general low-level business services Business Infrastructure Used in many business domains (AKA Low-level Business Services) (Relatively) high-level technical services Technical Services and frameworks (AKA Technical Infrastructure, Persistence , Security High-level Technical Services) Foundation Low-level technical services, utilities, (AKA Core Services, Base Services, and frameworks Data structures, threads, math, width implies range of applicability file, DB, and network I/O Low-level Technical Services/Infrastructure) © Lethbridge/Laganière 2001