TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Richardson Maturity Model

42 pointsby jeremylevyover 2 years ago

5 comments

raverbashingover 2 years ago
I&#x27;ll say that the religious approach some take with REST is weird to me. Apparently there&#x27;s some promised utopia behind getting REST perfect but in the end, nobody does it right but everybody makes it work for their case<p>Getting the linkrels back is great, but it is up to your frontend to interpret them and display them back. There is no &quot;magic&quot; there because only humans know what does cancel&#x2F;change mean, not the computers
评论 #34275318 未加载
bazoom42over 2 years ago
Level 2 is good for API’s, level 3 is good for hypermedia browsed by a human.
评论 #34274337 未加载
评论 #34275626 未加载
rileymat2over 2 years ago
&gt; This allows us to invoke GETs safely any number of times in any order and get the same results each time. An important consequence of this is that it allows any participant in the routing of requests to use caching, which is a key element in making the web perform as well as it does.<p>What conditions for a restful api does this come in handy?<p>In most implementations I have had the requests are as quick to figure out if anything has changed as it is to return the result.<p>The problem is not that a get changes the result, it is a post from some other client has changed it in the interim and you want the freshest data.<p>Id imagine it is most useful in serving static content that has large payloads, which most of my apis don’t serve.
评论 #34275255 未加载
JimDabellover 2 years ago
Calling an API without hypermedia a “level two REST API” is like calling a lettuce and tomato sandwich a “level two BLT”. You’re missing an intrinsic piece of the puzzle and anybody actually expecting a BLT is going to be disappointed.<p>Why are people so adamant that they <i>absolutely must</i> call non-REST APIs “REST”? Names are free, you don’t have to hijack the name of something else!
评论 #34276824 未加载
评论 #34275507 未加载
评论 #34275480 未加载
评论 #34274881 未加载
评论 #34275250 未加载
评论 #34276649 未加载
flanked-everglover 2 years ago
I would love to see some real world use cases of level 3, both for machine to machine use and for human to machine use.
评论 #34274807 未加载