Lecture 7- Modeling Web Application
Lecture 7- Modeling Web Application
Requirements
Analysis
Maintenance Design
Testing Implementation
Why Create Models?
■ Tool of thought
□ Reduce complexity
□ Document design decisions
■ Means of communication
Web Modeling
User interface
Application Logic
Phases
Structure Analysis Design Implementation
Behavior
Aspects
Phases
Structure Analysis Design Implementation
Behavior
Aspects
■ Levels – Information, node/link structure, UI & page layout separate.
■ Critical components
□ Use Case Name – starts with a verb
□ Level – “user-goal” or “subfunction”
□ Primary Actor – the user whose goal is fulfilled
□ Stakeholders & Interests – Who cares, and what do
they want?
□ Preconditions – What must be true at the start
□ Success Guarantee – defines the successful
completion of the use case for all stakeholders
Use Case – Example 1
■ Use Case 1: Create User
■ Primary Models
□ Class diagrams – enough for static applications.
□ State machine diagrams – captures dynamic
aspects
Class Diagram – Example 1
■ Notations
Class Name
Multiplicity
Attributes
Operations
Invariant
■ Artifacts
□ Hypertext Structure Model – navigating among classes
□ Access Model – UML-compliant site map
■ Presentation Unit
□ A fragment of the page logically defined by
grouping related elements.
□ Represents a hypertext model node
■ Presentation Element
□ A unit’s (node’s) informational components
□ Text, images, buttons, fields
Composition Model - Example
Object Instance
Lifeline
Focus of Control
Synchronous
Message
Destroy Object
drsahu.cse@satiengg.in
https://sites.google.com/view/drdivyarishisahu/home