3 ms·
I don't want to be a killjoy, but why do so many "REST frameworks" focus so much on the transport (HTTP) and not so much / or at all on tools to create and mana
by einrealist 8y ago
I don't want to be a killjoy, but why do so many "REST frameworks" focus so much on the transport (HTTP) and not so much / or at all on tools to create and manage hypermedia representations (links, actions, domain objects)?
- allover 8y agoPerhaps because hypermedia has yet to be proven useful? (Arguments and counterexamples welcome, I've been looking for them for years).
- einrealist 8y agoIt could have been better. I call the aera of SOAP and CORBA as one of the reasons why Hypermedia formats have been avoided for so long. But that is changing, slowly. The drivers for that are maturing experiences with HTTP-driven APIs. DDD is becoming more important again, especially for organizations, that evolve around service oriented software (and hardware) architectures. One example, that you find on HNs frontpage right now, is Solid ( https://news.ycombinator.com/item?id=18100895 https://news.ycombinator.com/item?id=18100895 ). Another example is Google's use of JSON-LD for meta data descriptions in HTML pages. And there is Mastodon, making use of vocabularies like ActivityPub. The best example though, is HTML and your Browser of choice.
- s1n4 8y agoI actually had a plan (around 2015) to make a DSL for REST API generation/automation on top of Leptus. But I couldn't afford to work on it.
- einrealist 8y agoThe least you can do is to emphasise the issue, maybe point to libraries that can be used in conjunction with your framework: a library for creating/using links and link templates, libraries for some existing vocabularies, like Siren or HAL. Keep it up ;)