12 CNPM Sự quen thuộc của người sử dụng: giao diện phải được những khái niệm như thư mục, danh mục … Thống nhất: hệ thống nên hiển thị ở mức thống nhất thích Tối thiểu hoá sự bất ng
Trang 22 CNPM
7.3 Các yêu cầu trong thiết kế
7.4 Giao diện Web
Trang 37.1 Nguyên tắc thiết kế giao diện
Trang 44 CNPM
Thiết kế giao diện
Thiếu toàn vẹn
Phải nhớ quá nhiều
Không có hướng dẫn, trợ giúp
Không nhạy với ngữ cảnh
Đáp ứng nghèo nàn
Không thân thiện, khó hiểu
Lỗi thiết kế đặc trưng
Trang 66 CNPM
Người dùng dễ điều khiển
hay không ưa thích
Trang 7Người dùng ít phải nhớ
Trang 88 CNPM
Giao diện toàn vẹn
Các giao diện trong ứng dụng phải toàn vẹn
ưa chuộng thì không nên thay đổi trừ khi có một
lý do thuyết phục
Trang 9Ví dụ
Trang 1010 CNPM
Trang 11Một số đặc điểm của người sử dụng
nhau
Trang 1212 CNPM
Sự quen thuộc của người sử dụng: giao diện phải được
những khái niệm như thư mục, danh mục …
Thống nhất: hệ thống nên hiển thị ở mức thống nhất thích
Tối thiểu hoá sự bất ngờ: nếu một yêu cầu được xử lý theo
thao tác của những yêu cầu tương tự
Trang 13Nguyên tắc thiết kế giao diện
một số khả năng phục hồi tới tình trạng trước
đó: undo, xác nhận một lần nữa trước khi sửa
xóa…
giúp, hướng dẫn trực tuyến …
nhiều loại người sử dụng khác nhau Ví dụ: nên hiển thị phông chữ lớn với những người cận thị.
Trang 1414 CNPM
Trang 1616 CNPM
Trang 177.2 Qui trình tạo giao diện người dùng
(UI User - Interface)
Trang 1818 CNPM
Trang 19Phân tích giao diện
system through the interface;
work,
interface
bị, quan hệ…
Trang 2020 CNPM
Phân tích người dùng
hay không?
Trang 21tượng giao tiếp (classes)
Trang 2222 CNPM
Trang 23Phân tích nội dung thể hiện bằng hình ảnh
Trang 2424 CNPM
Các bước thiết kế
Trang 25Mẫu thiết kế giao diện
Trang 2626 CNPM
Trang 27Đánh giá giao diện theo bản mẫu
preliminary design
build prototype #1 interface
evaluation
is studied by designer
design modifications are made
build prototype # n
interface
user evaluate's interface
Interface design
Trang 2828 CNPM
7.3 Các mẫu thiết kế
Trang 29Các mẫu giao diện
Giao diện bảng điều khiển
Network Process
Units Reduce
cm Full
OUIT
30 CNPM
Biểu mẫu (Form)
Number of copies
Loan status
Order status
NEW BOOK
Trang 31Biểu diễn thay đổi thông tin
0 1000 2000 3000 4000
Jan Feb Mar April May June
Jan 2842
Feb 2851
Mar 3164
April 2789
May 1273
June 2835
Trang 3232 CNPM
Hiển thị thông tin động
Trang 33Hiển thị những giá trị liên quan
Trang 3434 CNPM
Trang 35Thiết kế Help
Trong thiết kế help cần chú ý tới hai trường hợp trên
Một số trường hợp help phải cần có một số tiện ích
Trang 3636 CNPM
Thông tin Help
Help không đơn giản là một sổ tay hướng dẫn
on-line
Màn hình hay cửa sổ nên phù hợp với trang
giấy
Cố gắng thể hiện thông tin động
Trang 37Sử dụng hệ thống Help
hệ thống help từ nhiều nơi
Những chỉ báo cho biết vị trí của người dùng
trong hệ thống help là nhân tố có giá trị
di chuyển và duyệt hệ thống help
Trang 3838 CNPM
Help frame network
Trang 39next topics more
You are here
Trang 4040 CNPM
Tài liệu người dùng
Tài liệu bằng giấy cần phải cung cấp cho người dùng
Tài liệu phải thiết kế cho cả người dùng có kinh
Cũng như sổ tay, cần có những tài liệu dễ sử
dụng cũng như những tham chiếu nhanh
Trang 41Các loại tài liệu người dùng
Installation document
System administrators
Getting started
Introductory manual
Novice users
Facility description
Reference manual
Experienced users
Operation and maintenance
Administrator’
guide System administrators
Trang 4242 CNPM
Các loại tài liệu người dùng
Sổ tay cài đặt hệ thống
Sổ tay giới thiệu
Sổ tay tham chiếu hệ thống
Sổ tay quản trị hệ thống
Trang 437.4 Giao diện WEB
Network intensiveness (tập trung). A WebApp
resides on a network and must serve the needs of a diverse community of clients
Concurrency. A large number of users may access the WebApp at one time; patterns of usage among end-users will vary greatly
Unpredictable load. The number of users of the
WebApp may vary by orders of magnitude from day to day
Performance If a WebApp user must wait too long (for access, for server-side processing, for client-side formatting and display), he or she may decide to go elsewhere
Trang 4444 CNPM
Những thuộc tính WEB
Availability. Although expectation of 100 percent
availability is unreasonable, users of popular WebApps
Data driven. The primary function of many WebApps is to use hypermedia to present text, graphics, audio, and video content to the end-user
Content sensitive. The quality and aesthetic nature of
content remains an important determinant of the quality of a WebApp
Continuous evolution. Unlike conventional application
software that evolves over a series of planned,
chronologically-spaced releases, Web applications evolve continuously
Trang 45Những thuộc tính WEB
Immediacy. WebApps often exhibit a time to market that can be a matter of a few days or weeks
produced in only a few hours
Security In order to protect sensitive content and
provide secure modes of data transmission, strong
security measures must be implemented throughout the infrastructure that supports a WebApp and within the
application itself
Aesthetics (mỹ thuật). When an application has been designed to market or sell products or ideas, aesthetics may have as much to do with success as technical
design
Trang 4646 CNPM
Phân loại ứng dụng WEB
Informational — read-only content is provided with simple
navigation and links
Download — a user downloads information from the
appropriate server
Customizable — the user customizes content to specific needs
Interaction — communication among a community of users
occurs via chatroom, bulletin boards, or instant messaging
User input — forms-based input is the primary mechanism for communicating need
Trang 47Phân loại ứng dụng WEB
Transaction-oriented — the user makes a request (e.g., places an order) that is fulfilled by the WebApp
Service-oriented — the application provides a service to the user, e.g., assists the user in determining a mortgage payment
Portal — the application channels the user to other Web
content or services outside the domain of the portal
Trang 4848 CNPM
“Web development is an adolescent (sắp
trưởng thành)… Like most adolescents, it
wants to be accepted as an adult as it tries to
pull away from its parents If it is going to
reach its full potential, it must take a few
lessons from the more seasoned world of
software development.”
Doug Wallace et al
Trang 5050 CNPM
Các bước của qui trình WebE…
Phân tích nghiệp vụ (Business analysis) defines
the business/organizational context for the WebApp
Hình thành (Formulation) is a requirements
gathering activity involving all stakeholders The intent
is to describe the problem that the WebApp is to solve
The “plan” consists of a task definition and a timeline
schedule for the time period (usually measured in weeks) projected for the development of the WebApp increment.
Trang 51…Các bước của qui trình WebE
Trang 5252 CNPM
…Các bước của qui trình WebE
WebE tools and technology are applied to construct the
WebApp that has been modeled
Testing of all design elements
Phát hành và đánh giá triển khai (Delivery and
Evaluation - Deployment)
Configure for its operational environment
Deliver to end-users, and
Evaluation feedback is presented to the WebE team
The increment is modified as required (the beginning of
the next incremental cycle)
Trang 53The WebE Process
sof t war e incr ement
Release
refact oring
business analysis formulat ion
it erat ion plan
analysis model cont ent
it erat ion
f unct ion conf igurat ion
design model cont ent archit ect ure navigat ion int erf ace
coding component t est
accept ance t est cust omer use cust omer evaluat ion
Trang 5454 CNPM
The WebE Team
Trang 55Khoán ngoài WebApp…
Khởi động dự án, thực hiện số công vêệc nội bộ
Trang 5656 CNPM
…Khoán ngoài WebApp
Xem xét giá cả và độ tin cậy
án?
thực hiện hay mong đợi
Đánh giá lịch phát phát triển
Trang 57Lập kế hoạch WebApp Planning – nội bộ
Trang 5858 CNPM
Interface design Aesthetic design Content design Navigation design Architecture design Component design
user
technology
Trang 59Kiến trúc nội dung
Hierarchical structure
Grid structure
Linear
structure
Network
structure
Trang 6060 CNPM
Model chứa tất cả nội dung đặc trưng của ứng dụng và
cho phép
Controller quản lý truy cập tới Model và View và kết
Trang 61prepares dat a from model request updat es from model present s view select ed by cont roller
model
encapsulat es funct ionalit y encapsulat es cont ent object s incorporat es all webApp st at es
server
ext ernal dat a
behavior request (st at e change)
dat a from model
Trang 6262 CNPM
Navigation semantic unit
Ways of navigation (WoN) — Biểu diễn cách điều hướng tốt nhất cho người dùng có một tiền sử
xác định để đạt được mục tiêu hay mục tiêu con
link 12
link 34 link 24
NSU
Trang 63BillOf Mat erials
<<navigat ion link>>
view BillOf Mat erials
<<navigat ion link>>
show descript ion
<<navigat ion link>>
ret urn t o Room
<<navigat ion link>>
request alt ernat ive
photograph schematic
video
MarketingDescription techDescription
CompDescript ion
<<navigat ion link>>
purchase Product Component
<<navigat ion link>> show Product Component
<<navigat ion link>>
purchase Product Component
Trang 6464 CNPM
List of user objectives
Home page text copy
graphic graphic, logo, and company name
Navigation menu
Menu bar major functions
Trang 65Qui trình kiểm thử
Interface design Aesthetic design Content design Navigation design Architecture design Component design
user
technology
Cont ent Test ing
Int erface Test ing
Component Test ing
Navigat ion Test ing
Performance Test ing
Configuration Test ing
Securit y Testing
Trang 6666 CNPM
như kiểm thử đơn vị
của một use-case hay NSU ứng với các loại người dùng đặc trưng
của giao diện
trình duyệt
Trang 67Kỹ thuật kiểm thử giao diện…
CGI scripts (CGI - common gateway interface)
Streaming content — rather than waiting for a request from the client-side, content objects are downloaded
automatically from the server side
Cookies
Application specific interface mechanisms (a shopping cart, credit card processing, or a shipping cost calculator)
Trang 6868 CNPM
transaction
Trang 69Giao diện Web
lưng
thường chậm hơn 25% so với đọc trên giấy
dựng”
duyệt
Trang 7070 CNPM
Những câu hỏi cơ bản…
Trang chủ của Web site thì quan trọng như thế
nào?
Những bố trí (layout) của trang mà ảnh hưởng nhất
là gì (menu ở trên hay bên phải, bên trái…) và
chúng có phụ thuộc nhiều vào loại ứng dụng Web đang được phát triển?
tác động tới người dùng nhiều nhất?
Khi người dùng tìm kiếm thông tin thì bao nhiêu
thao tác mà người dùng phải thực hiện?
Trang 71…Những câu hỏi cơ bản
Với ứng dụng web phức tạp, sự hỗ trợ của việc
điều hướng (navigation) thì quan trọng như thế
nào?
Những dữ liệu nhập của biểu mẫu (forms input)
phức tạp có thể tạo ra mà không làm người dùng phải bực mình, và nó được thực hiện như thế nào?
Những khả năng tìm kiếm thì quan trọng như thế
nào?
Trang 7272 CNPM
Thực hành
ứng dụng Web của người dùng