a well designed web application the benefits of object oriented analysis and design simone becker...

13
A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker [email protected]

Upload: alexina-malone

Post on 18-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

A Well Designed Web Application

The Benefits of Object Oriented Analysis and Design

Simone [email protected]

Page 2: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Agenda Sierra and RUP Benefits of UML Case Study Reference Material / Questions

Page 3: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Sierra and RUP Sierra as a company has embraced RUP RUP provides a methodology for software

development, from project management to implementation

Even before RUP, we have utilized UML to describe the web applications we were building

Page 4: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Benefits UML allows you to organize and model the system you

are going to build in an object oriented manner UML is very visual Case Tool independent You use only that which will add value to your design

Page 5: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study Department of Retirement Systems (DRS) Electronic Services Application (eServices)

Page 6: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study…Business Requirements

Requirements of proposed system are described using use cases

Use cases capture the user’s expectations of the functionality of the system – describes the observable behavior of the system at

the points of interaction with users – identify which actors/roles carry out the use case– written in plain English so that they can be

understood by anyone reading them

Page 7: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study…Anatomy of a Use Case

Title: Actors: Description: Triggers and Frequency: Preconditions: Normal Process: Exception Process: Business Rules: Post Conditions: Performance considerations:

Page 8: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study… Technical Design We structured the application in the typical tiers

– Graphical User Interface– Business Logic Layer– Data Layer

Page 9: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study… Technical Design We identified the components and grouped them within

each tier

Business Services Data ServicesUser Interface

ASP/HTML Component BSPomponent DSP

-clsRetrieve-clsUpdate (transactional)

Page 10: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study… Technical Design We identified the responsibilities of each component Drew sequence diagrams to illustrate the interaction of the

components for each use case

ElectronicServices: Login

ASP

ElectronicServices: User

DSP

ASP RequestObject

2. iValidateUser1. enter userid,

pswd

ElectronicServices: User

BSP

4. rsGetUser

3. get entered userid and pswd

6. case sensitive pswdvalidation

7. ResetLogonCnt

5. [if user 'inactive' or'locked out'] return 1/3

Page 11: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study… Technical Design Deployment Diagram Client Browser

InetPub/wwwroot - ASP/HTML

Web Server

IIS

WebGrabber

COM+Services

(BSP/DSP)

MQSeries

Mainframe

http re

sponse

http re

quest

SQLdb

Page 12: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Case Study… Benefits to DRS An application designed on industry standards The organization of the system is understandable at a

glance due to the visual modeling Everyone on the team was speaking the same

“language”– Business team– Technical team

The methodology and concepts are reusable to any future projects

Page 13: A Well Designed Web Application The Benefits of Object Oriented Analysis and Design Simone Becker simonebecker@sierrasystems.com

Reference Material: UML Distilled: A Brief Guide to the Standard Object Modeling

Language (2nd Edition)– By Martin Fowler, Kendall Scott

Questions: