SlideShare a Scribd company logo
Hypermedia Systems:
Revisiting Roy Fielding’s
RESTful Architecture
What’s Misunderstood or Ignored in Modern Web
Background
Among popular web application architectures, there seems to be
misunderstanding or ignorance on “RESTful” proposed by Roy Fielding’s original
dissertation.
Status Quo of “RESTful”
RESTful
API Docs
Misinterpretations in Modern APIs
- Many so-called “RESTful” APIs today lack hypermedia controls.
- True RESTful systems should provide hypermedia-driven interactions, not just
JSON data exchanges .
Ideal “RESTful”
RESTful
Real Constraints of REST
Fielding defines “constraints” to describe how a RESTful system behaves:
● It is a client-server architecture (section 5.1.2).
● It must be stateless; (section 5.1.3) that is, every request contains all
information necessary to respond to that request.
● It must allow for caching (section 5.1.4).
● It must have a uniform interface (section 5.1.5).
● It is a layered system (section 5.1.6).
● Optionally, it can allow for Code-On-Demand (section 5.1.7), that is, scripting.
The Uniform Interface Constraint
In Section 5.1.5 for the Uniform Interface constraint, Fielding says:
The central feature that distinguishes the REST architectural style from other
network-based styles is its emphasis on a uniform interface between
components… In order to obtain a uniform interface, multiple architectural
constraints are needed to guide the behavior of components. REST is defined by
four interface constraints: identification of resources; manipulation of resources
through representations; self-descriptive messages; and, hypermedia as the
engine of application state.
Roy Fielding, Architectural Styles and the Design of Network-based Software Architectures
JSON vs HTML Representation
{
"name": "Joe Smith",
"email": "joe@example.org",
"status": "Active"
}
<html lang="en">
<body>
<h1>Joe Smith</h1>
<div>
<div>Email: joe@example.bar</div>
<div>Status: Active</div>
</div>
<p>
<a href="/contacts/42/archive">Archive</a>
</p>
</body>
</html>
Hypermedia As The Engine of Application State
<html lang="en">
<body>
<h1>Joe Smith</h1>
<div>
<div>Email: joe@example.bar</div>
<div>Status: Active</div>
</div>
<p>
<a href="/contacts/42/archive">Archive</a>
</p>
</body>
</html>
<html lang="en">
<body>
<h1>Joe Smith</h1>
<div>
<div>Email: joe@example.bar</div>
<div>Status: Archived</div>
</div>
<p>
<a href="/contacts/42/unarchive">Unarchive</a>
</p>
</body>
</html>
Hypermedia System In Practice
Benefits
- Simplified frontend development
- Simple architecture
Challenges
- UI Limitations
- Bandwidth
References
- https://ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf
- https://hypermedia.systems/

More Related Content

PPTX
RESTful Web Services.pptxbnbjmgbjbvvhvhj
PPTX
Switch to Backend 2023 | Day 1 Part 1
PPTX
REST & RESTful APIs: The State of Confusion
PDF
Rest API Automation with REST Assured
KEY
REST and the Hypermedia Constraint
PDF
PDF
Rest api-interview
PDF
A COMPARATIVE STUDY BETWEEN GRAPH-QL& RESTFUL SERVICES IN API MANAGEMENT OF S...
RESTful Web Services.pptxbnbjmgbjbvvhvhj
Switch to Backend 2023 | Day 1 Part 1
REST & RESTful APIs: The State of Confusion
Rest API Automation with REST Assured
REST and the Hypermedia Constraint
Rest api-interview
A COMPARATIVE STUDY BETWEEN GRAPH-QL& RESTFUL SERVICES IN API MANAGEMENT OF S...

Similar to hypermedia_system_revisit_roy_fielding . (20)

PDF
A COMPARATIVE STUDY BETWEEN GRAPH-QL RESTFUL SERVICES IN API MANAGEMENT OF S...
PPTX
Wcf rest api introduction
PDF
A Comparative Study between Graph-QL& Restful Services in API Management of S...
PDF
A COMPARATIVE STUDY BETWEEN GRAPH-QL Amp RESTFUL SERVICES IN API MANAGEMENT ...
PDF
A COMPARATIVE STUDY BETWEEN GRAPH-QL& RESTFUL SERVICES IN API MANAGEMENT OF S...
PDF
A COMPARATIVE STUDY BETWEEN GRAPH-QL& RESTFUL SERVICES IN API MANAGEMENT OF S...
PPTX
REST API
PPT
Separating REST Facts from Fallacies
PDF
zendframework2 restful
DOCX
Fundamental essentials for api design
DOCX
Fundamental Essentials for API Design
DOCX
Fundamental essentials for api design
PPTX
Best Practices in Api Design
PPTX
Beginner's Guide REST Basics - 101 by Smartbear
PPTX
Efficient Spring Data REST Development
PPT
REST Introduction.ppt
PDF
ReSTful API Final
PDF
REST full API Design
PDF
IRJET- Rest API for E-Commerce Site
PDF
REST - Representational State Transfer
A COMPARATIVE STUDY BETWEEN GRAPH-QL RESTFUL SERVICES IN API MANAGEMENT OF S...
Wcf rest api introduction
A Comparative Study between Graph-QL& Restful Services in API Management of S...
A COMPARATIVE STUDY BETWEEN GRAPH-QL Amp RESTFUL SERVICES IN API MANAGEMENT ...
A COMPARATIVE STUDY BETWEEN GRAPH-QL& RESTFUL SERVICES IN API MANAGEMENT OF S...
A COMPARATIVE STUDY BETWEEN GRAPH-QL& RESTFUL SERVICES IN API MANAGEMENT OF S...
REST API
Separating REST Facts from Fallacies
zendframework2 restful
Fundamental essentials for api design
Fundamental Essentials for API Design
Fundamental essentials for api design
Best Practices in Api Design
Beginner's Guide REST Basics - 101 by Smartbear
Efficient Spring Data REST Development
REST Introduction.ppt
ReSTful API Final
REST full API Design
IRJET- Rest API for E-Commerce Site
REST - Representational State Transfer
Ad

More from NABLAS株式会社 (20)

PDF
社内勉強会資料「VGGT」 .pdf
PDF
勉強会資料_An Image is Worth More Than 16x16 Patches
PDF
輪読会資料_Miipher and Miipher2 .
PDF
社内勉強会資料_Chain of Thought .
PDF
π0.5: a Vision-Language-Action Model with Open-World Generalization
PDF
Transformers without Normalization .
PDF
社内勉強会資料_Data-Centric AI in The Age of Large Language Models
PDF
社内勉強会資料_Moshi_ a speech-text foundation model for real-time dialogue
PDF
社内勉強会資料_xGen-MM (BLIP-3): A Family of Open Large Multimodal Models
PDF
社内勉強会資料_Unsupervised Keypoints from Pretrained Diffusion Models
PDF
社内勉強会資料_Pruning in Large Language Models
PDF
社内勉強会資料_Human-level control through deep reinforcement learning
PDF
社内勉強会資料_Skywork-MoE .
PDF
勉強会資料_PointLLM .
PDF
Recipe Generation:Retrieval from Videos - Multi-Modal RecipeRag
PDF
社内勉強会資料_StepByStep Build own RAG. .
PDF
社内勉強会資料_History of LLaVA .
PDF
社内勉強会資料_AnyGPT_Unified Multimodal LLM with Discrete Sequence Modeling
PDF
社内勉強会資料_TransNeXt: Robust Foveal Visual Perception for Vision Transformers
PDF
社内勉強会資料_XTTS: a Massively Multilingual ZeroShot Text-to-Speech Model.pdf
社内勉強会資料「VGGT」 .pdf
勉強会資料_An Image is Worth More Than 16x16 Patches
輪読会資料_Miipher and Miipher2 .
社内勉強会資料_Chain of Thought .
π0.5: a Vision-Language-Action Model with Open-World Generalization
Transformers without Normalization .
社内勉強会資料_Data-Centric AI in The Age of Large Language Models
社内勉強会資料_Moshi_ a speech-text foundation model for real-time dialogue
社内勉強会資料_xGen-MM (BLIP-3): A Family of Open Large Multimodal Models
社内勉強会資料_Unsupervised Keypoints from Pretrained Diffusion Models
社内勉強会資料_Pruning in Large Language Models
社内勉強会資料_Human-level control through deep reinforcement learning
社内勉強会資料_Skywork-MoE .
勉強会資料_PointLLM .
Recipe Generation:Retrieval from Videos - Multi-Modal RecipeRag
社内勉強会資料_StepByStep Build own RAG. .
社内勉強会資料_History of LLaVA .
社内勉強会資料_AnyGPT_Unified Multimodal LLM with Discrete Sequence Modeling
社内勉強会資料_TransNeXt: Robust Foveal Visual Perception for Vision Transformers
社内勉強会資料_XTTS: a Massively Multilingual ZeroShot Text-to-Speech Model.pdf
Ad

Recently uploaded (20)

PPTX
communication and presentation skills 01
PPT
Occupational Health and Safety Management System
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPTX
Artificial Intelligence
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPT
Total quality management ppt for engineering students
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
86236642-Electric-Loco-Shed.pdf jfkduklg
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
communication and presentation skills 01
Occupational Health and Safety Management System
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Artificial Intelligence
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Safety Seminar civil to be ensured for safe working.
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Total quality management ppt for engineering students
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
86236642-Electric-Loco-Shed.pdf jfkduklg
Categorization of Factors Affecting Classification Algorithms Selection
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
R24 SURVEYING LAB MANUAL for civil enggi
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF

hypermedia_system_revisit_roy_fielding .

  • 1. Hypermedia Systems: Revisiting Roy Fielding’s RESTful Architecture What’s Misunderstood or Ignored in Modern Web
  • 2. Background Among popular web application architectures, there seems to be misunderstanding or ignorance on “RESTful” proposed by Roy Fielding’s original dissertation.
  • 3. Status Quo of “RESTful” RESTful API Docs
  • 4. Misinterpretations in Modern APIs - Many so-called “RESTful” APIs today lack hypermedia controls. - True RESTful systems should provide hypermedia-driven interactions, not just JSON data exchanges .
  • 6. Real Constraints of REST Fielding defines “constraints” to describe how a RESTful system behaves: ● It is a client-server architecture (section 5.1.2). ● It must be stateless; (section 5.1.3) that is, every request contains all information necessary to respond to that request. ● It must allow for caching (section 5.1.4). ● It must have a uniform interface (section 5.1.5). ● It is a layered system (section 5.1.6). ● Optionally, it can allow for Code-On-Demand (section 5.1.7), that is, scripting.
  • 7. The Uniform Interface Constraint In Section 5.1.5 for the Uniform Interface constraint, Fielding says: The central feature that distinguishes the REST architectural style from other network-based styles is its emphasis on a uniform interface between components… In order to obtain a uniform interface, multiple architectural constraints are needed to guide the behavior of components. REST is defined by four interface constraints: identification of resources; manipulation of resources through representations; self-descriptive messages; and, hypermedia as the engine of application state. Roy Fielding, Architectural Styles and the Design of Network-based Software Architectures
  • 8. JSON vs HTML Representation { "name": "Joe Smith", "email": "joe@example.org", "status": "Active" } <html lang="en"> <body> <h1>Joe Smith</h1> <div> <div>Email: joe@example.bar</div> <div>Status: Active</div> </div> <p> <a href="/contacts/42/archive">Archive</a> </p> </body> </html>
  • 9. Hypermedia As The Engine of Application State <html lang="en"> <body> <h1>Joe Smith</h1> <div> <div>Email: joe@example.bar</div> <div>Status: Active</div> </div> <p> <a href="/contacts/42/archive">Archive</a> </p> </body> </html> <html lang="en"> <body> <h1>Joe Smith</h1> <div> <div>Email: joe@example.bar</div> <div>Status: Archived</div> </div> <p> <a href="/contacts/42/unarchive">Unarchive</a> </p> </body> </html>
  • 10. Hypermedia System In Practice Benefits - Simplified frontend development - Simple architecture Challenges - UI Limitations - Bandwidth