3 ms·
Thanks for the links! So I've had a look at the resources - [0] for example goes to great lengths explaining why JSON APIs are not true to the original "spirit"
by c7b 4y ago
Thanks for the links! So I've had a look at the resources - [0] for example goes to great lengths explaining why JSON APIs are not true to the original "spirit" of REST, but it doesn't exactly do a great job at explaining what problems would be solved (better) by hypermedia-based APIs rather than JSON (or GraphQL,...).
Tbh, some of this feels a bit like "What you're referring to as Linux, is in fact, GNU/Linux...". I am eager to do studying before I just hack away with whatever tool I don't really understand (hence why I created the post) and it seems there are some useful resources there. But my main goal is to study for the sake of building, not getting drawn into a niche for the sake of purism. For example, would I be able to create a nice-looking game app with smooth animations such as [1] using mostly basic HTML, like HTMX seems to encourage?
[0] https://htmx.org/essays/how-did-rest-come-to-mean-the-opposite-of-rest/ https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...
[1] https://figure.game/ https://figure.game/
- cxr 4y ago> For example, would I be able to create a nice-looking game app with smooth animations such as [1] using mostly basic HTML You will need CSS and/or SVG for the graphics and animation (or a graphics and animation library that builds on top of those). Games are different from form-based Web applications. The HTMX essays are about protocol design and application decomposition between client and server and what effect this has on how robust the app is, the user experience implications, etc. It's not super relevant if what you're doing is more or less a game that 15–20 years ago would have been created with Flash. > I am eager to do studying before I just hack away No, start hacking. No amount of study is going to enable you to arrive at an informed decision.