Web App Principles and Usability

You can read this note directly if you know that a browser can request pages from a server. A web application is interactive software accessed through a browser.

Beginner Problem

A web application is not merely a collection of pages. It helps users complete tasks.

Example:

Upload a project image and see it appear in a gallery.

That task may require a form, a request, server-side processing, storage, a generated response, and clear feedback. Usability asks whether the intended user can complete the task effectively and with reasonable effort.

Web Application Model

Caption: The browser and server communicate using requests and responses.

browser sends HTTP request
-> server receives and processes it
-> server returns HTTP response
-> browser displays the result

Example:

Browser requests /search?keyword=tree
Server searches stored records
Server renders an HTML results page
Browser displays the page

Web Application Versus Website

The distinction is not absolute, but it is useful at this level:

Mostly informational websiteWeb application
mainly presents contentmainly supports user tasks
little or no user data processingaccepts, processes, stores, or retrieves user data
example: school announcement pageexample: student submission portal

A single system can contain both informational pages and application features.

Web Application Versus Native Application

ConsiderationWeb applicationNative application
accessthrough a browserinstalled on a device
updatesserver-side update can reach all usersupdated copies must reach devices
platformoften works across systems with browsersdesigned for particular platforms
offline useoften depends on connectivitymay provide stronger offline support
device integrationgenerally more limited or permission-dependentcan integrate more directly with device features
performance and interfaceaffected by browser and networkcan be optimised for the target platform

These are general comparisons, not absolute rules. Modern browsers can access some device features, and some web apps can work offline. For syllabus answers, state the broad distinction and relate it to the scenario.

What Usability Means

Usability concerns whether specified users can achieve specified goals:

  • effectively — complete the task correctly;
  • efficiently — complete it without unnecessary effort or delay;
  • satisfactorily — use the interface with reasonable comfort and confidence.

Visual attractiveness can support usability, but appearance alone is not enough.

Ten Usability Principles

PrincipleBeginner meaningExample
visibility of system statuskeep users informedshow Uploading... and then Upload complete
match between system and real worlduse familiar language and ordersay Choose image, not Select binary object
user control and freedomallow escape or correctionprovide Cancel, Back, Undo, or Edit
consistency and standardsuse the same conventions throughoutsame label and style for all Save buttons
error preventionstop likely errors before submissionrestrict allowed file types and mark required fields
recognition rather than recallkeep choices and instructions visibleshow allowed formats beside an upload control
flexibility and efficiencysupport both beginners and frequent userssensible defaults and keyboard shortcuts
aesthetic and minimalist designkeep attention on the taskremove unrelated controls and duplicate text
recognise, diagnose, and recover from errorsexplain the problem and remedyFile is too large; choose one under 5 MB
help and documentationprovide concise, searchable guidanceshort instructions near a difficult form

Applying the Principles

Scenario: upload an image to a project gallery.

Poor designPrinciple involvedBetter design
button says Submit with no contextmatch real worlduse Upload image
no response after clickingvisibility of system statusshow progress and success feedback
invalid file silently failserror recoveryexplain the rejected type and allowed types
destructive delete happens immediatelyerror preventionask for confirmation
user must remember the size limitrecognition rather than recallshow the limit beside the file field
every page uses different button stylesconsistencyuse one visual convention for the same action
form is crowded with irrelevant textminimalist designkeep only task-relevant information
no way to leave an edit screenuser controlprovide Cancel or Back

Error Prevention Versus Error Recovery

These are related but different.

error prevention: reduce the chance of the error occurring
error recovery: help the user understand and fix an error that occurred

Example:

  • prevention: the score field uses a suitable numeric control and states the valid range;
  • recovery: after an invalid score, the page says Enter a whole number from 0 to 100.

Internal and External Consistency

  • Internal consistency: the same application uses the same words, symbols, layout patterns, and actions for similar tasks.
  • External consistency: the application follows conventions users already know from other systems.

Consistency reduces the amount users must learn and remember.

Evaluating an Interface

When applying a principle, write a three-part answer:

identify the feature
-> name the usability principle
-> explain its effect on the user

Example:

The interface shows a progress indicator while the image is uploaded.
This demonstrates visibility of system status because the user knows that processing is continuing and is less likely to submit the form repeatedly.

Avoid merely naming a principle without connecting it to a concrete design feature.

Common Mistakes

  • Treating usability as decoration only.
  • Listing principles without applying them to the given interface.
  • Confusing error prevention with error messages after an error.
  • Assuming every web app always needs internet while every native app always works offline.
  • Claiming web apps can never use device features.
  • Saying one platform is always faster or more secure without reference to design and context.
  • Giving vague advice such as make it user-friendly without explaining how.

Check Your Understanding

  1. Why can web applications often be updated centrally?
  2. What is the difference between an informational website and a web application?
  3. Give one example of error prevention and one example of error recovery.
  4. Why does recognition reduce cognitive load?
  5. How should you structure an applied usability answer?

Answers:

  1. Updating the server-side application can affect all users who access it through a browser.
  2. A website mainly presents information, while a web application processes input or supports interactive tasks.
  3. Prevention: restrict invalid file types. Recovery: explain which file types are accepted after rejection.
  4. Users can see available actions instead of remembering them.
  5. Identify the feature, name the principle, and explain the benefit to the user.