Course Overview
Locked video preview

Paid video

Please purchase the course to watch.

Modern hypermedia

What's hypermedia

Here is a summary of the video transcript:

  • Definition of Hypermedia
    Hypermedia refers to media (text, images, video) that includes links to other media. It not only enables navigation but also embeds possible actions and state transitions within responses, such as forms and controls in HTML.

  • Hypermedia and REST Architecture
    REST (Representational State Transfer), defined by Roy Fielding, includes hypermedia as a core constraint (HATEOAS). In this model, server responses provide both data and available actions based on the current application state.

  • Limitations of JSON-Only APIs
    Returning plain JSON data without action controls does not fulfill true REST principles. A proper hypermedia response includes links or forms that guide the client on what actions are possible next, depending on the resource state.

  • Rise of Single-Page Applications (SPAs)
    Frameworks like React, Angular, and Vue emerged to deliver more interactive, app-like browser experiences. This shift moved logic to the client and popularized reusable JSON APIs across web and mobile platforms.

  • Complexity Introduced by SPAs
    SPAs require maintaining state on both client and server, increasing architectural complexity. Tight API contracts between frontend and backend make changes risky and reduce simplicity and maintainability.

  • Advantages of Hypermedia-Driven Applications
    Hypermedia keeps logic centralized on the server, simplifying reasoning about system behavior. It reduces duplication, avoids complex client-side state management, and maintains a tighter coupling between controllers and rendered pages.

  • Modern Hypermedia Renaissance
    New tools such as htmx, Datastar, Livewire, and Hotwire extend HTML capabilities to support interactive experiences without abandoning the hypermedia model. These tools enable responsive applications while preserving server-driven simplicity.

  • Architectural Shift Back to Server Control
    Modern hypermedia approaches place the server in control of state and behavior. This simplifies validation, reduces duplication, and allows developers to build interactive applications with less overall complexity.