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.
3. The server sends back
a whole new page which
includes the comments
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.
3. The server (only) sends
the comments back (in XML,
HTML or JSON format).
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.
Interaction with the server isn’t needed this time because
all the user wants to do is hide the comments.
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
• Providing near-immediate feedback for a user
e.g. immediately verifying a text input then
displaying success or error messages as soon as
the validity of the input has been confirmed
preloading media or content
• Prefetching content based on user behaviour,
or favourable network conditions (e.g. when an
active WIFI connection is detected).
information once the user requests it.
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
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
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