SlideShare una empresa de Scribd logo
1 de 30
CHAPTER 19
DESIGN MODELING FOR WEBAPPS

1

Lizelle Eunice F. Taruc
DESIGN & WEBAPPLICATION


When should we emphasize WebApp design?
 when

content and function are complex
 when the size of the WebApp encompasses hundreds
of content objects, functions, and analysis classes
 when the success of the WebApp will have a direct
impact on the success of the business

2
DESIGN & WEBAPP QUALITY


Security
Rebuff external attacks
 Exclude unauthorized access
 Ensure the privacy of users/customers




Availability




Scalability




the measure of the percentage of time that a WebApp is
available for use
Can the WebApp and the systems with which it is
interfaced handle significant variation in user or
transaction volume

Time to Market
3
QUALITY DIMENSIONS FOR ENDUSERS







Time
Structural
Content
Accuracy and Consistency
Response Time and Latency
Performance

4
WEBAPP DESIGN GOALS
Consistency
 Identity
 Robustness
 Navigability
 Visual appeal
 Compatibility


5
WEBE DESIGN PYRAMID
user

Interface
design
Aesthetic design
Content design
Navigation design
Architecture design
Component design
technology

6
WEBAPP INTERFACE DESIGN


Where am I? The interface should





provide an indication of the WebApp that has been accessed
inform the user of her location in the content hierarchy.

What can I do now? The interface should always help
the user understand his current options
what functions are available?
 what links are live?
 what content is relevant?




Where have I been, where am I going? The interface
must facilitate navigation.


Provide a “map” (implemented in a way that is easy to
7
understand) of where the user has been and what paths may be
taken to move elsewhere within the WebApp.
EFFECTIVE WEBAPP INTERFACES


Bruce Tognozzi suggests…
 Effective interfaces are visually apparent and forgiving,
instilling in their users a sense of control. Users quickly
see the breadth of their options, grasp how to achieve
their goals, and do their work.
 Effective interfaces do not concern the user with the
inner workings of the system. Work is carefully and
continuously saved, with full option for the user to undo
any activity at any time.
 Effective applications and services perform a maximum
of work, while requiring a minimum of information from
users.

8
INTERFACE DESIGN PRINCIPLES-I







Anticipation—A WebApp should be designed so that it
anticipates the use’s next move.
Communication—The interface should communicate the
status of any activity initiated by the user
Consistency—The use of navigation controls, menus, icons,
and aesthetics (e.g., color, shape, layout)
Controlled autonomy—The interface should facilitate user
movement throughout the WebApp, but it should do so in a
manner that enforces navigation conventions that have been
established for the application.
Efficiency—The design of the WebApp and its interface
should optimize the user’s work efficiency, not the efficiency
of the Web engineer who designs and builds it or the clientserver environment that executes it.

9
INTERFACE DESIGN PRINCIPLES-II










Focus—The WebApp interface (and the content it
presents) should stay focused on the user task(s) at hand.
Fitt’s Law—“The time to acquire a target is a function of
the distance to and size of the target.”
Human interface objects—A vast library of reusable
human interface objects has been developed for WebApps.
Latency reduction—The WebApp should use multitasking in a way that lets the user proceed with work as if
the operation has been completed.
Learnability— A WebApp interface should be designed to
minimize learning time, and once learned, to minimize
relearning required when the WebApp is revisited.

10
INTERFACE DESIGN PRINCIPLES-III








Maintain work product integrity—A work product
(e.g., a form completed by the user, a user specified list)
must be automatically saved so that it will not be lost if an
error occurs.
Readability—All information presented through the
interface should be readable by young and old.
Track state—When appropriate, the state of the user
interaction should be tracked and stored so that a user can
logoff and return later to pick up where she left off.
Visible navigation—A well-designed WebApp interface
provides “the illusion that users are in the same place,
with the work brought to them.”

11
INTERFACE DESIGN WORKFLOW-I
Review information contained in the analysis
model and refine as required.
 Develop a rough sketch of the WebApp interface
layout.
 Map user objectives into specific interface
actions.
 Define a set of user tasks that are associated
with each action.
 Storyboard screen images for each interface
action.
 Refine interface layout and storyboards using
input from aesthetic design.


12
MAPPING USER OBJECTIVES
Menu bar
major functions

List of user object ives

graphic, logo, and company name
object ive #1
object ive #2
object ive #3
object ive #4
object ive #5

graphic
object ive #n

Home page text copy
Navigation
menu

13
INTERFACE DESIGN WORKFLOW-II
 Identify

user interface objects that are
required to implement the interface.
 Develop a procedural representation of
the user’s interaction with the interface.
 Develop a behavioral representation of the
interface.
 Describe the interface layout for each
state.
 Refine and review the interface design
model.

14
AESTHETIC DESIGN
Don’t be afraid of white space.
 Emphasize content.
 Organize layout elements from top-left to bottom
right.
 Group navigation, content, and function
geographically within the page.
 Don’t extend your real estate with the scrolling
bar.
 Consider resolution and browser window size
when designing layout.


15
CONTENT DESIGN






Develops a design representation for content objects
 For WebApps, a content object is more closely aligned
with a data object for conventional software
Represents the mechanisms required to instantiate
their relationships to one another.
 analogous to the relationship between analysis
classes and design components described in Chapter
11
A content object has attributes that include content16
specific information and implementation-specific
attributes that are specified as part of design
DESIGN OF CONTENT OBJECTS
ProductComponent
partNumber
partName
partType
description
price

is part of

1

1

createNewItem ( )
displayDescription ( )
display TechSpec

Sensor

Camera

ControlPanel

CompDescript ion

SoftFeature

1

1
Market ingDescript ion
t ext color
f ont st yle
f ont size
line spacing
t ext image size
background color

1..*

0..1

0..1

Phot ograph

Schemat ic

Video

horizont al dimension
vert ical dimension
border st yle

horizont al dimension
vert ical dimension
border st yle

horizont al dimension
vert ical dimension
border st yle
audio volume

1
TechDescript ion
t ext color
f ont st yle
f ont size
line spacing
t ext image size
background color

17
ARCHITECTURE DESIGN


Content architecture focuses on the manner in which
content objects (or composite objects such as Web pages)
are structured for presentation and navigation.






The term information architecture is also used to connote
structures that lead to better organization, labeling,
navigation, and searching of content objects.

WebApp architecture addresses the manner in which the
application is structured to manage user interaction,
handle internal processing tasks, effect navigation, and
present content.
Architecture design is conducted in parallel with interface
design, aesthetic design and content design.
18
CONTENT ARCHITECTURE

Linear
structure

Network
structure

Grid
structure

Hierarchical
structure

19
MVC ARCHITECTURE


The model contains all application specific content and
processing logic, including
all content objects
 access to external data/information sources,
 all processing functionality that are application specific




The view contains all interface specific functions and
enables
the presentation of content and processing logic
 access to external data/information sources,
 all processing functionality required by the end-user.




The controller manages access to the model and the view
and coordinates the flow of data between them.

20
MVC ARCHITECTURE

co n t ro ller

user request
or dat a
browser

manages user request s
select s model behav ior
select s v iew response

behav ior request
( st at e change)

v iew select ion

m o d el
encapsulat es f unct ionalit y
encapsulat es cont ent object s
incorporat es all webApp st at es
client
dat a f rom model

HTML dat a

view

updat e request

prepares dat a from model
request updat es from model
present s v iew select ed by
cont roller

ext ernal dat a

21
serv er
NAVIGATION DESIGN
Begins with a consideration of the user hierarchy
and related use-cases
 Each actor may use the WebApp somewhat
differently and therefore have different
navigation requirements
 As each user interacts with the WebApp, she
encounters a series of navigation semantic units
(NSUs)
 NSU—“a set of information and related
navigation structures that collaborate in the
fulfillment of a subset of related user
requirements”


22
NAVIGATION SEMANTIC UNITS


Navigation semantic unit
 Ways of navigation (WoN)—represents the best navigation
way or path for users with certain profiles to achieve their
desired goal or sub-goal. Composed of …


Navigation nodes (NN) connected by Navigation links

link 12

NN 2

NN 1

link 24
NN 4

NSU
23

link 13

NN 3

link 34
CREATING AN NSU
<<navigat ion link>>
request alt ernat ive

<<navigat ion link>>
recommend component ( s)
<<navigat ion link>>
select Room

Product Component

<<navigat ion link>>
ret urn t o Room
<<navigat ion link>>
view BillOf Mat erials

<<navigat ion link>>
show Product Component

Room

<<navigat ion link>>
show descript ion
<<navigat ion link>>
purchase Product Component

BillOf Mat erials
CompDescript ion
<<navigat ion link>>
purchase Product Component

Market ingDescript ion
phot ograph
t echDescript ion

24
video

schemat ic
NAVIGATION SYNTAX










Individual navigation link—text-based links, icons, buttons and
switches, and graphical metaphors..
Horizontal navigation bar—lists major content or functional
categories in a bar containing appropriate links. In general,
between 4 and 7 categories are listed.
Vertical navigation column
 lists major content or functional categories
 lists virtually all major content objects within the WebApp.
Tabs—a metaphor that is nothing more than a variation of the
navigation bar or column, representing content or functional
categories as tab sheets that are selected when a link is required.
Site maps—provide an all-inclusive tab of contents for navigation
to all content objects and functionality contained within the
WebApp.

25
COMPONENT-LEVEL DESIGN


WebApp components implement the following
functionality
 perform localized processing to generate content
and navigation capability in a dynamic fashion
 provide computation or data processing capability
that are appropriate for the WebApp’s business
domain
 provide sophisticated database query and access
 establish data interfaces with external corporate
systems.
26
HYPERMEDIA DESIGN PATTERNS-I






Architectural patterns.
 assist in the design of content and WebApp architecture
 many architectural patterns are available (e.g., Java
Blueprints at java.sun.com/blueprints/)
Component construction patterns.
 recommend methods for combining WebApp components
(e.g., content objects, functions) into composite
components.
Navigation patterns.
 assist in the design of NSUs, navigation links and the
overall navigation flow of the WebApp. _

27
HYPERMEDIA DESIGN PATTERNS-II


Presentation patterns
how to organize user interface control functions for better
usability
 how to show the relationship between a interface action and the
content objects it affects
 how to establish effective content hierarchies, and many others.




Behavior/user interaction patterns
how the interface informs the user of the consequences of a
specific action
 how a user expands content based on usage context and user
desires
 how to best describe the destination that is implied by a link
 how to inform the user about the status of an on-going
interaction, and others.


28
OOHDM
 Object-Oriented

Hypermedia Design Method (OOHDM)
concept ual design

wo r k p r o d u ct s

nav igat ional design

abst ract int erface
design

implement at ion

Classes, sub-systems,
relationships, attributes

Nodes, links, access
structures, navigational
contexts, navigational
transformations

Abstract interface
objects, responses to
external events,
transformations

executable
WebApp

Mapping between
conceptual and
navigation objects

Mapping between
navigation and
perceptible objects

Resource
provided by
target
environment

Takes into account user
profile and task.
Emphasis on cognitive
aspects.

Modeling perceptible
objects, implementing
chosen metaphors.
Describe interface for
navigational objects

Correctness;
Application
performance;
completeness

Classification,
composition,
d e sig n m e ch an ism s aggregation,
generalization
specialization

d e sig n co n ce r n s

Modeling semantics
of the application
domain

29
CONCEPTUAL SCHEMA
cust omer select s component
ProductComponent

component recommendat ion
request ed

partNumber
partName
partType
description
price

BillOfMaterials
identifier
BoMList
numberItems
priceTotal

createNewItem ( )
getDescription ( )
getTechSpec

R
oom
roomName
dimensions
exteriorWindows
exteriorDoors

Sensor

Camera

ControlPanel

addEntry ( )
deleteEntry ( )
editEntry ( )
name( )
computePrice ( )

SoftFeature

BoMItem

cust omercont inues
component select ion
Order
orderNumber
customerInfo
billOfMaterials
shippingInfo
billingInfo

cust omer
request s purchase

quantity
partNumber
partName
partType
price
addtoList ( )
deletefromList ( )
getNextListEntry ( )

30

Más contenido relacionado

La actualidad más candente

Type checking compiler construction Chapter #6
Type checking compiler construction Chapter #6Type checking compiler construction Chapter #6
Type checking compiler construction Chapter #6Daniyal Mughal
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineeringPreeti Mishra
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software EngineeringSaqib Raza
 
Evolutionary models
Evolutionary modelsEvolutionary models
Evolutionary modelsPihu Goel
 
Lexical analyzer generator lex
Lexical analyzer generator lexLexical analyzer generator lex
Lexical analyzer generator lexAnusuya123
 
Code generation in Compiler Design
Code generation in Compiler DesignCode generation in Compiler Design
Code generation in Compiler DesignKuppusamy P
 
Software Process Improvement
Software Process ImprovementSoftware Process Improvement
Software Process ImprovementBilal Shah
 
Three Address code
Three Address code Three Address code
Three Address code Pooja Dixit
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process ModelsAtul Karmyal
 
Io t system management with
Io t system management withIo t system management with
Io t system management withxyxz
 

La actualidad más candente (20)

Type checking compiler construction Chapter #6
Type checking compiler construction Chapter #6Type checking compiler construction Chapter #6
Type checking compiler construction Chapter #6
 
Software process
Software processSoftware process
Software process
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 
Rad model
Rad modelRad model
Rad model
 
Software design
Software designSoftware design
Software design
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Evolutionary models
Evolutionary modelsEvolutionary models
Evolutionary models
 
Lexical analyzer generator lex
Lexical analyzer generator lexLexical analyzer generator lex
Lexical analyzer generator lex
 
Software Evolution
Software EvolutionSoftware Evolution
Software Evolution
 
Sdlc
SdlcSdlc
Sdlc
 
Code generation in Compiler Design
Code generation in Compiler DesignCode generation in Compiler Design
Code generation in Compiler Design
 
Software Process Improvement
Software Process ImprovementSoftware Process Improvement
Software Process Improvement
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
 
Software process
Software processSoftware process
Software process
 
Mvc architecture
Mvc architectureMvc architecture
Mvc architecture
 
Three Address code
Three Address code Three Address code
Three Address code
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Cloud Security Mechanisms
Cloud Security MechanismsCloud Security Mechanisms
Cloud Security Mechanisms
 
Io t system management with
Io t system management withIo t system management with
Io t system management with
 
Beyond syllabus for web technology
Beyond syllabus for web technologyBeyond syllabus for web technology
Beyond syllabus for web technology
 

Destacado (10)

Chapter 13
Chapter 13Chapter 13
Chapter 13
 
Slides chapter 19
Slides chapter 19Slides chapter 19
Slides chapter 19
 
Oo hdm powerpoint 1
Oo hdm powerpoint 1Oo hdm powerpoint 1
Oo hdm powerpoint 1
 
Metodologia oohdm
Metodologia oohdmMetodologia oohdm
Metodologia oohdm
 
oohdm
oohdmoohdm
oohdm
 
Sdlc models
Sdlc modelsSdlc models
Sdlc models
 
Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7
 
Architectural Design
Architectural DesignArchitectural Design
Architectural Design
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 
Chapter 5 software design
Chapter 5 software designChapter 5 software design
Chapter 5 software design
 

Similar a Software Engineering chapter 19

1.Design Modelling for Web Apps.pdf software engineering
1.Design Modelling for Web Apps.pdf software engineering1.Design Modelling for Web Apps.pdf software engineering
1.Design Modelling for Web Apps.pdf software engineeringSukhmanSingh91
 
Design Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software EngineeringDesign Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software EngineeringMeghaj Mallick
 
Lecture14 abap on line
Lecture14 abap on lineLecture14 abap on line
Lecture14 abap on lineMilind Patil
 
Components of a Generic Web Application Architecture
Components of  a Generic Web Application ArchitectureComponents of  a Generic Web Application Architecture
Components of a Generic Web Application ArchitectureMadonnaLamin1
 
Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)Shubham Goenka
 
Asp.net Web Development.pdf
Asp.net Web Development.pdfAsp.net Web Development.pdf
Asp.net Web Development.pdfFariha Tasnim
 
Asp.net Web Development.pdf
Asp.net Web Development.pdfAsp.net Web Development.pdf
Asp.net Web Development.pdfFariha Tasnim
 
RESUME BUILDER WEB APPLICATION
RESUME BUILDER WEB APPLICATIONRESUME BUILDER WEB APPLICATION
RESUME BUILDER WEB APPLICATIONIRJET Journal
 
demystifying_the_architectures_of_a_mobile_app_development.pptx
demystifying_the_architectures_of_a_mobile_app_development.pptxdemystifying_the_architectures_of_a_mobile_app_development.pptx
demystifying_the_architectures_of_a_mobile_app_development.pptxsarah david
 
Haresh Karkar - Visual Resume
Haresh Karkar - Visual ResumeHaresh Karkar - Visual Resume
Haresh Karkar - Visual ResumeHaresh Karkar
 
React JS Components & Its Importance.docx
React JS Components & Its Importance.docxReact JS Components & Its Importance.docx
React JS Components & Its Importance.docxReact Masters
 
Myles_Portfolio
Myles_PortfolioMyles_Portfolio
Myles_PortfolioMike Myles
 
VIPER Architecture
VIPER ArchitectureVIPER Architecture
VIPER ArchitectureAhmed Lotfy
 
MVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,MobileMVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,Mobilenaral
 
A Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application ArchitectureA Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application Architecturestevefary
 
Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023stevefary
 
CV_portfolio_WZou
CV_portfolio_WZouCV_portfolio_WZou
CV_portfolio_WZouJewelZou
 

Similar a Software Engineering chapter 19 (20)

1.Design Modelling for Web Apps.pdf software engineering
1.Design Modelling for Web Apps.pdf software engineering1.Design Modelling for Web Apps.pdf software engineering
1.Design Modelling for Web Apps.pdf software engineering
 
Web engineering
Web engineeringWeb engineering
Web engineering
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
 
Design Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software EngineeringDesign Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software Engineering
 
Lecture14 abap on line
Lecture14 abap on lineLecture14 abap on line
Lecture14 abap on line
 
Components of a Generic Web Application Architecture
Components of  a Generic Web Application ArchitectureComponents of  a Generic Web Application Architecture
Components of a Generic Web Application Architecture
 
Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)
 
UI architecture & designing
UI architecture & designingUI architecture & designing
UI architecture & designing
 
Asp.net Web Development.pdf
Asp.net Web Development.pdfAsp.net Web Development.pdf
Asp.net Web Development.pdf
 
Asp.net Web Development.pdf
Asp.net Web Development.pdfAsp.net Web Development.pdf
Asp.net Web Development.pdf
 
RESUME BUILDER WEB APPLICATION
RESUME BUILDER WEB APPLICATIONRESUME BUILDER WEB APPLICATION
RESUME BUILDER WEB APPLICATION
 
demystifying_the_architectures_of_a_mobile_app_development.pptx
demystifying_the_architectures_of_a_mobile_app_development.pptxdemystifying_the_architectures_of_a_mobile_app_development.pptx
demystifying_the_architectures_of_a_mobile_app_development.pptx
 
Haresh Karkar - Visual Resume
Haresh Karkar - Visual ResumeHaresh Karkar - Visual Resume
Haresh Karkar - Visual Resume
 
React JS Components & Its Importance.docx
React JS Components & Its Importance.docxReact JS Components & Its Importance.docx
React JS Components & Its Importance.docx
 
Myles_Portfolio
Myles_PortfolioMyles_Portfolio
Myles_Portfolio
 
VIPER Architecture
VIPER ArchitectureVIPER Architecture
VIPER Architecture
 
MVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,MobileMVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,Mobile
 
A Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application ArchitectureA Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application Architecture
 
Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023
 
CV_portfolio_WZou
CV_portfolio_WZouCV_portfolio_WZou
CV_portfolio_WZou
 

Último

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Último (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Software Engineering chapter 19

  • 1. CHAPTER 19 DESIGN MODELING FOR WEBAPPS 1 Lizelle Eunice F. Taruc
  • 2. DESIGN & WEBAPPLICATION  When should we emphasize WebApp design?  when content and function are complex  when the size of the WebApp encompasses hundreds of content objects, functions, and analysis classes  when the success of the WebApp will have a direct impact on the success of the business 2
  • 3. DESIGN & WEBAPP QUALITY  Security Rebuff external attacks  Exclude unauthorized access  Ensure the privacy of users/customers   Availability   Scalability   the measure of the percentage of time that a WebApp is available for use Can the WebApp and the systems with which it is interfaced handle significant variation in user or transaction volume Time to Market 3
  • 4. QUALITY DIMENSIONS FOR ENDUSERS       Time Structural Content Accuracy and Consistency Response Time and Latency Performance 4
  • 5. WEBAPP DESIGN GOALS Consistency  Identity  Robustness  Navigability  Visual appeal  Compatibility  5
  • 6. WEBE DESIGN PYRAMID user Interface design Aesthetic design Content design Navigation design Architecture design Component design technology 6
  • 7. WEBAPP INTERFACE DESIGN  Where am I? The interface should    provide an indication of the WebApp that has been accessed inform the user of her location in the content hierarchy. What can I do now? The interface should always help the user understand his current options what functions are available?  what links are live?  what content is relevant?   Where have I been, where am I going? The interface must facilitate navigation.  Provide a “map” (implemented in a way that is easy to 7 understand) of where the user has been and what paths may be taken to move elsewhere within the WebApp.
  • 8. EFFECTIVE WEBAPP INTERFACES  Bruce Tognozzi suggests…  Effective interfaces are visually apparent and forgiving, instilling in their users a sense of control. Users quickly see the breadth of their options, grasp how to achieve their goals, and do their work.  Effective interfaces do not concern the user with the inner workings of the system. Work is carefully and continuously saved, with full option for the user to undo any activity at any time.  Effective applications and services perform a maximum of work, while requiring a minimum of information from users. 8
  • 9. INTERFACE DESIGN PRINCIPLES-I      Anticipation—A WebApp should be designed so that it anticipates the use’s next move. Communication—The interface should communicate the status of any activity initiated by the user Consistency—The use of navigation controls, menus, icons, and aesthetics (e.g., color, shape, layout) Controlled autonomy—The interface should facilitate user movement throughout the WebApp, but it should do so in a manner that enforces navigation conventions that have been established for the application. Efficiency—The design of the WebApp and its interface should optimize the user’s work efficiency, not the efficiency of the Web engineer who designs and builds it or the clientserver environment that executes it. 9
  • 10. INTERFACE DESIGN PRINCIPLES-II      Focus—The WebApp interface (and the content it presents) should stay focused on the user task(s) at hand. Fitt’s Law—“The time to acquire a target is a function of the distance to and size of the target.” Human interface objects—A vast library of reusable human interface objects has been developed for WebApps. Latency reduction—The WebApp should use multitasking in a way that lets the user proceed with work as if the operation has been completed. Learnability— A WebApp interface should be designed to minimize learning time, and once learned, to minimize relearning required when the WebApp is revisited. 10
  • 11. INTERFACE DESIGN PRINCIPLES-III     Maintain work product integrity—A work product (e.g., a form completed by the user, a user specified list) must be automatically saved so that it will not be lost if an error occurs. Readability—All information presented through the interface should be readable by young and old. Track state—When appropriate, the state of the user interaction should be tracked and stored so that a user can logoff and return later to pick up where she left off. Visible navigation—A well-designed WebApp interface provides “the illusion that users are in the same place, with the work brought to them.” 11
  • 12. INTERFACE DESIGN WORKFLOW-I Review information contained in the analysis model and refine as required.  Develop a rough sketch of the WebApp interface layout.  Map user objectives into specific interface actions.  Define a set of user tasks that are associated with each action.  Storyboard screen images for each interface action.  Refine interface layout and storyboards using input from aesthetic design.  12
  • 13. MAPPING USER OBJECTIVES Menu bar major functions List of user object ives graphic, logo, and company name object ive #1 object ive #2 object ive #3 object ive #4 object ive #5 graphic object ive #n Home page text copy Navigation menu 13
  • 14. INTERFACE DESIGN WORKFLOW-II  Identify user interface objects that are required to implement the interface.  Develop a procedural representation of the user’s interaction with the interface.  Develop a behavioral representation of the interface.  Describe the interface layout for each state.  Refine and review the interface design model. 14
  • 15. AESTHETIC DESIGN Don’t be afraid of white space.  Emphasize content.  Organize layout elements from top-left to bottom right.  Group navigation, content, and function geographically within the page.  Don’t extend your real estate with the scrolling bar.  Consider resolution and browser window size when designing layout.  15
  • 16. CONTENT DESIGN    Develops a design representation for content objects  For WebApps, a content object is more closely aligned with a data object for conventional software Represents the mechanisms required to instantiate their relationships to one another.  analogous to the relationship between analysis classes and design components described in Chapter 11 A content object has attributes that include content16 specific information and implementation-specific attributes that are specified as part of design
  • 17. DESIGN OF CONTENT OBJECTS ProductComponent partNumber partName partType description price is part of 1 1 createNewItem ( ) displayDescription ( ) display TechSpec Sensor Camera ControlPanel CompDescript ion SoftFeature 1 1 Market ingDescript ion t ext color f ont st yle f ont size line spacing t ext image size background color 1..* 0..1 0..1 Phot ograph Schemat ic Video horizont al dimension vert ical dimension border st yle horizont al dimension vert ical dimension border st yle horizont al dimension vert ical dimension border st yle audio volume 1 TechDescript ion t ext color f ont st yle f ont size line spacing t ext image size background color 17
  • 18. ARCHITECTURE DESIGN  Content architecture focuses on the manner in which content objects (or composite objects such as Web pages) are structured for presentation and navigation.    The term information architecture is also used to connote structures that lead to better organization, labeling, navigation, and searching of content objects. WebApp architecture addresses the manner in which the application is structured to manage user interaction, handle internal processing tasks, effect navigation, and present content. Architecture design is conducted in parallel with interface design, aesthetic design and content design. 18
  • 20. MVC ARCHITECTURE  The model contains all application specific content and processing logic, including all content objects  access to external data/information sources,  all processing functionality that are application specific   The view contains all interface specific functions and enables the presentation of content and processing logic  access to external data/information sources,  all processing functionality required by the end-user.   The controller manages access to the model and the view and coordinates the flow of data between them. 20
  • 21. MVC ARCHITECTURE co n t ro ller user request or dat a browser manages user request s select s model behav ior select s v iew response behav ior request ( st at e change) v iew select ion m o d el encapsulat es f unct ionalit y encapsulat es cont ent object s incorporat es all webApp st at es client dat a f rom model HTML dat a view updat e request prepares dat a from model request updat es from model present s v iew select ed by cont roller ext ernal dat a 21 serv er
  • 22. NAVIGATION DESIGN Begins with a consideration of the user hierarchy and related use-cases  Each actor may use the WebApp somewhat differently and therefore have different navigation requirements  As each user interacts with the WebApp, she encounters a series of navigation semantic units (NSUs)  NSU—“a set of information and related navigation structures that collaborate in the fulfillment of a subset of related user requirements”  22
  • 23. NAVIGATION SEMANTIC UNITS  Navigation semantic unit  Ways of navigation (WoN)—represents the best navigation way or path for users with certain profiles to achieve their desired goal or sub-goal. Composed of …  Navigation nodes (NN) connected by Navigation links link 12 NN 2 NN 1 link 24 NN 4 NSU 23 link 13 NN 3 link 34
  • 24. CREATING AN NSU <<navigat ion link>> request alt ernat ive <<navigat ion link>> recommend component ( s) <<navigat ion link>> select Room Product Component <<navigat ion link>> ret urn t o Room <<navigat ion link>> view BillOf Mat erials <<navigat ion link>> show Product Component Room <<navigat ion link>> show descript ion <<navigat ion link>> purchase Product Component BillOf Mat erials CompDescript ion <<navigat ion link>> purchase Product Component Market ingDescript ion phot ograph t echDescript ion 24 video schemat ic
  • 25. NAVIGATION SYNTAX      Individual navigation link—text-based links, icons, buttons and switches, and graphical metaphors.. Horizontal navigation bar—lists major content or functional categories in a bar containing appropriate links. In general, between 4 and 7 categories are listed. Vertical navigation column  lists major content or functional categories  lists virtually all major content objects within the WebApp. Tabs—a metaphor that is nothing more than a variation of the navigation bar or column, representing content or functional categories as tab sheets that are selected when a link is required. Site maps—provide an all-inclusive tab of contents for navigation to all content objects and functionality contained within the WebApp. 25
  • 26. COMPONENT-LEVEL DESIGN  WebApp components implement the following functionality  perform localized processing to generate content and navigation capability in a dynamic fashion  provide computation or data processing capability that are appropriate for the WebApp’s business domain  provide sophisticated database query and access  establish data interfaces with external corporate systems. 26
  • 27. HYPERMEDIA DESIGN PATTERNS-I    Architectural patterns.  assist in the design of content and WebApp architecture  many architectural patterns are available (e.g., Java Blueprints at java.sun.com/blueprints/) Component construction patterns.  recommend methods for combining WebApp components (e.g., content objects, functions) into composite components. Navigation patterns.  assist in the design of NSUs, navigation links and the overall navigation flow of the WebApp. _ 27
  • 28. HYPERMEDIA DESIGN PATTERNS-II  Presentation patterns how to organize user interface control functions for better usability  how to show the relationship between a interface action and the content objects it affects  how to establish effective content hierarchies, and many others.   Behavior/user interaction patterns how the interface informs the user of the consequences of a specific action  how a user expands content based on usage context and user desires  how to best describe the destination that is implied by a link  how to inform the user about the status of an on-going interaction, and others.  28
  • 29. OOHDM  Object-Oriented Hypermedia Design Method (OOHDM) concept ual design wo r k p r o d u ct s nav igat ional design abst ract int erface design implement at ion Classes, sub-systems, relationships, attributes Nodes, links, access structures, navigational contexts, navigational transformations Abstract interface objects, responses to external events, transformations executable WebApp Mapping between conceptual and navigation objects Mapping between navigation and perceptible objects Resource provided by target environment Takes into account user profile and task. Emphasis on cognitive aspects. Modeling perceptible objects, implementing chosen metaphors. Describe interface for navigational objects Correctness; Application performance; completeness Classification, composition, d e sig n m e ch an ism s aggregation, generalization specialization d e sig n co n ce r n s Modeling semantics of the application domain 29
  • 30. CONCEPTUAL SCHEMA cust omer select s component ProductComponent component recommendat ion request ed partNumber partName partType description price BillOfMaterials identifier BoMList numberItems priceTotal createNewItem ( ) getDescription ( ) getTechSpec R oom roomName dimensions exteriorWindows exteriorDoors Sensor Camera ControlPanel addEntry ( ) deleteEntry ( ) editEntry ( ) name( ) computePrice ( ) SoftFeature BoMItem cust omercont inues component select ion Order orderNumber customerInfo billOfMaterials shippingInfo billingInfo cust omer request s purchase quantity partNumber partName partType price addtoList ( ) deletefromList ( ) getNextListEntry ( ) 30