by endigma · 1y ago · 0 comments
I don't know why modern web frameworks insist on continuing to misuse or misapply the term despite a fairly large amount of messaging recently about how exactly this term is misapplied, and the resurgence of frameworks and tools that do correctly apply it, e.g. HTMX, Datastar, Alpine AJAX.
Otherwise, this looks cool. I'd encourage you to un-roll-your-own docs and use something like Starlight or Docusaurus so you can have usable search and versioned docs.
Wikipedia RESTful article says:
> The formal REST constraints are as follows:[10]
> Client/Server – Clients are separated from servers by a well-defined interface
> Stateless – A specific client does not consume server storage when the client is "at rest"
> Cache – Responses indicate their own cacheability
> Uniform interface
> Layered system – A client cannot ordinarily tell whether it is connected directly to the end server, or to an intermediary along the way
>An application that adheres to the REST architectural constraints may be informally described as RESTful, although this term is more commonly associated with the design of HTTP-based APIs and what are widely considered best practices regarding the "verbs" (HTTP methods) a resource responds to, while having little to do with REST as originally formulated—and is often even at odds with the concept.
Kinda makes me disappointed in the authors especially when they link to the REST wikipedia page as if they know what it means.