mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
format
This commit is contained in:
parent
84b25cd31c
commit
393b0bb70c
@ -21,6 +21,7 @@ insert_anchor_links = "left"
|
||||
* [Template Fragments](@/essays/template-fragments.md)
|
||||
* [10 Tips For Building SSR/HDA applications](@/essays/10-tips-for-SSR-HDA-apps.md)
|
||||
* [View Transitions](@/essays/view-transitions.md)
|
||||
* [REST Copypasta](@/essays/rest-copypasta.md)
|
||||
|
||||
|
||||
### Older [intercooler.js](https://intercoolerjs.org) Essays
|
||||
|
@ -8,13 +8,15 @@ tag = ["posts"]
|
||||
show_title = false
|
||||
+++
|
||||
|
||||
# For Reference
|
||||
# Ackshually...
|
||||
|
||||
<div style="font-family: monospace">
|
||||
|
||||
```
|
||||
I'd just like to interject for a moment. What you're referring to as REST,
|
||||
is in fact, JSON/RPC, or as I've recently taken to calling it, REST-less.
|
||||
JSON is not a hypermedia unto itself, but rather a plain data format made useful
|
||||
by out of band information as defined by swagger documentation or similar.
|
||||
JSON is not a hypermedia unto itself, but rather a plain data format made
|
||||
useful by out of band information as defined by swagger documentation or
|
||||
similar.
|
||||
|
||||
Many computer users work with a canonical version of REST every day,
|
||||
without realizing it. Through a peculiar turn of events, the version of REST
|
||||
@ -23,9 +25,10 @@ not aware that it is basically the REST-ful architecture, defined by Roy Fieldin
|
||||
|
||||
There really is a REST, and these people are using it, but it is just a
|
||||
part of The Web they use. REST is the network architecture: hypermedia encodes the state
|
||||
of resources for hypermedia clients. JSON is an essential part of Single Page Applications,
|
||||
but useless by itself; it can only function in the context of a complete API specification. JSON is
|
||||
normally used in combination with SPA libraries: the whole system
|
||||
is basically RPC with JSON added, or JSON/RPC. All the so-called "REST-ful"
|
||||
of resources for hypermedia clients. JSON is an essential part of Single Page Applications,
|
||||
but useless by itself; it can only function in the context of a complete API specification.
|
||||
JSON is normally used in combination with SPA libraries: the whole system
|
||||
is basically RPC with JSON added, or JSON/RPC. All these so-called "REST-ful"
|
||||
APIs are really JSON/RPC.
|
||||
```
|
||||
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user