Web Application Fundamentals

  1. Matching a Web Request to a Route

    A web application maps request targets and often methods to handlers. The route decides which application code receives the request.

    Undergraduate
  2. Reading a Path Parameter in a Web Route

    A path parameter derives a value from one part of a route. Its parsed type and domain bounds depend on the routing and application contracts.

    Undergraduate
  3. Representing Page Filters in Query Parameters

    A query can describe a view of a collection, such as its search text, sort order, or selected subset.

    Undergraduate
  4. A Web Resource and Its Representations

    A resource can be identified by an endpoint while several representations convey some of its state.

    Undergraduate
  5. Form Fields as Submitted Name-Value Pairs

    A form submission serializes participating controls under form rules. The server receives values and assigns them types and domain meanings.

    Undergraduate
  6. A Search Form That Produces a Shareable URL

    A search form can express a read operation through query values on a GET request. The resulting URL can carry the chosen search state.

    Undergraduate
  7. Redirecting After a Successful Form Submission

    A successful state-changing form can redirect to a readable result so subsequent page refreshes request its representation.

    Undergraduate
  8. Server Validation for Form Data

    A server interprets submitted values under its own current application rules. Browser-side checks can help guide users before sending.

    Undergraduate
  9. Linking Form Errors to the Fields They Describe

    A server-side rejection can identify each affected field so people and interfaces know which input needs correction.

    Undergraduate
  10. Pagination with a Page Number and Offset

    Page-number pagination translates a selected page into a range of positions in a declared order.

    Undergraduate
  11. Continuing a Result List with a Cursor

    A pagination cursor can identify a place in a specified order, allowing a follow-up query for records past that boundary.

    Undergraduate
  12. Linking a Collection to Its Detail Pages

    A collection lets readers discover records; a stable detail URL gives each item a predictable sharing and retrieval address.

    Undergraduate
  13. An Empty Collection and a Missing Resource

    A successful collection query can contain no items. A missing individual record is a distinct outcome under a detail endpoint's contract.

    Undergraduate
  14. Repeated Field Names in Web Inputs

    A form or query can supply several values under one name. A receiver needs a defined policy for single-value fields and lists.

    Undergraduate
  15. Different Methods on One Web Route

    A resource path can support several HTTP methods with distinct handler behavior, even when they operate on the same record.

    Undergraduate
  16. Returning to the Right List State

    A detail page can keep a meaningful link back to the list or search from which it was opened.

    Undergraduate
  17. Request, Render, and Response in a Server-Rendered Page

    A server-rendered page combines selected data with a template and returns a representation the browser can display directly.

    Undergraduate
  18. Structured Error Responses for an HTTP API

    Problem details can give an API response a machine-readable problem type and useful human context under a documented format.

    Undergraduate
  19. Session State and Data Sent with One Request

    An application can associate state with a session while each request still supplies its own method, target, and values.

    Undergraduate
  20. Default Choices in a Web Form

    A form can prefill a conventional value while leaving a user's explicit changes and the backend rule distinguishable.

    Undergraduate
  21. Validating a Previously Read Web Representation

    A client can make a conditional request to learn whether a stored representation is still suitable, under the HTTP validator rules.

    Undergraduate
  22. Caching Public and Personal Representations

    HTTP responses can have different cache rules according to whether the selected representation may be reused across users or requests.

    Undergraduate
  23. A Form Containing Text Fields and a File

    A form submission can carry both ordinary fields and file data. The server should treat the file's declared metadata and actual contents as separate observations.

    Undergraduate
  24. Previewing an Edit Before Publishing

    A preview can render an unsaved or draft representation without changing what the public resource currently shows.

    Undergraduate
  25. A Canonical Address for Equivalent Page URLs

    Several URLs can expose the same representation. A site can identify its preferred URL consistently so links and discovery point to one durable location.

    Undergraduate
  26. How Links and Sitemaps Expose Published Pages

    A link exposes a destination through a browsable page. A sitemap can list preferred URLs for crawlers that process that file.

    Undergraduate
  27. A Slow Service and an Empty List Are Different Results

    A web application needs a way to represent valid empty data separately from data it could not retrieve within the available time.

    Undergraduate
  28. Choosing a Stable Order for Web Result Lists

    A web result list needs a repeatable order before applying a page limit or cursor. Ties should be resolved by a meaningful stable field.

    Undergraduate
  29. Tracing Input Through a Web Page Template

    A rendered page combines template structure with data values. Each value needs handling appropriate to where it is presented.

    Undergraduate
  30. Testing a Web Form End to End

    A form test can exercise submission, server interpretation, storage effects, and visible feedback under actual route behavior.

    Undergraduate