15. 1. The user clicks 2. A request is sent 4. The new page loads.The user
to view comments to the server can now see the comments.
Server
3. The server sends back
a whole new page which
includes the comments
17. 4. JavaScript is used to update
1. The user clicks 2. A request is sent only the parts of the page
to view comments. to the server.
AJAX that need to change.
scripts
Server
3. The server (only) sends
the comments back (in XML,
HTML or JSON format).
23. 2. A message is sent to the 3. JavaScript is used to update
1. The user clicks
AJAX code telling it what the parts of the page that
to close the comments.
the user wants to do. need to change.
AJAX
scripts
Interaction with the server isn’t needed this time because
all the user wants to do is hide the comments.
61. showing and hiding content
• Optimizing content to the small screen by only
showing what is initially necessary, then enabling
the user to progressively reveal additional content
if and when it’s required.
e.g. showing only the top news categories but
enabling the user to expand the list if needed
62. near-immediate feedback
• Providing near-immediate feedback for a user
action.
e.g. immediately verifying a text input then
displaying success or error messages as soon as
the validity of the input has been confirmed
63. preloading media or content
• Prefetching content based on user behaviour,
or favourable network conditions (e.g. when an
active WIFI connection is detected).
• Using JavaScript permits the smooth reveal of
information once the user requests it.
64. visually disabling content or controls
• Visually (and/or functionally) disabling content or
controls which are unavailable due to login status,
loss of connectivity, or an ongoing process.
e.g. disabling access to account preferences if a
user is not logged in to an online store
65. enabling a subset of behaviour
• Enabling the user to input certain information
while offline or not logged in, and saving it for
upload at a later time.
e.g. enabling the user to add items to their
shopping cart while not yet logged in
66. managing risk of data loss
• Automatically (and unobtrusively) saving to
minimize data loss due to unreliable network.
• Smoothly and unobtrusively updating the display
to periodically notify the user that data has been
saved.
75. 1. first use 2. predictive - suggestions 3. predictive - history
field has focus suggestions history is now
but no suggestions appear with input displayed on focus
predictive search and history