Thinking about :

๐Ÿ‘ all the gets generated on the server; the source of truth.

๐Ÿ‘Ž every manipulation requires a network request.

๐Ÿ‘ easier to reason about.

๐Ÿ‘Ž app behavior declared in bespoke attribute DSL; harder to reason about.

๐Ÿ‘ no need to duplicate state on the .

๐Ÿ‘Ž no offline support.

#hateoas #hypermedia #webdevelopment #web #webdev #frontend #backend #declarative #dom #html #htmx

Last updated 1 year ago

@VamptVo

a) HTML attr based DSLs give me Angular flashbacks. It's declarative, but sometimes I think declarative is harder to grok than imperative.

b) if your UI change required a network request anyway (even if only for confirmation of success) then the performance is the same. but for minor UI state changes, you probably have a point.

@macdonst says that can lead to network request bloat when you need to make a chain of multiple requests to get some resource.

#hateoas

Last updated 1 year ago

How do you build an infinite scroller with ?

#htmx #api #javascript #html #http #rest #hateoas

Last updated 1 year ago

Mark Gardner โ€:sdf: · @mjgardner
734 followers · 5234 posts · Server social.sdf.org

@b0rk @randomgeek @hbuchel Itโ€™s funny how most โ€œโ€ have similarly missed the full point of @fieldingโ€™s actual โ€œjust normal web thingsโ€ style by not using hypertext as the engine of application state ().

Theyโ€™re just replaying all of โ€™s and โ€™s sins by relying on a fixed interface that is either revealed through documentation or an like .

#restful #webservices #rest #hateoas #soap #corba #interfacedescriptionlanguage #openapi

Last updated 1 year ago

Rodion Borisov · @vintprox
99 followers · 1392 posts · Server techhub.social

@jorgealvarez @mxbck

I'm really confused as to why this is so novel to those who comment here. was not even a part of : it is usually not *representing* anything and is *not* self-explanatory. Clients somehow have to catch up to API changes all the time, and backend can go chill??? This must be an obvious flaw with .

And yet, the concept of responses, that and try to remind us of, seems alien to most. Oof, now that's the power of gaslighting in development circles! :rickwhoah:

#json #rest #hypermedia #htmx #hateoas #jsonapi

Last updated 1 year ago

Tomas Ekeli · @tomasekeli
702 followers · 2432 posts · Server snabelen.no

i've been making a lately.

real rest, you know, hypertext-as-the-engine-of-application-state

it's kind of nice, actually. i like it.

did the half-whispered fever-dream of general (front-end) clients that can let a user navigate such an api ever lead anywhere?

#rest #api #hateoas

Last updated 2 years ago

I released the new version 2.0.2 of JSON:API for Spring HATEOAS, see github.com/toedter/spring-hate.

This is a bug-fix release, based on Spring Boot 3.0.2.

#rest #API #jsonapi #spring #hateoas

Last updated 2 years ago

Nicolas Frรคnkel · @frankel
638 followers · 321 posts · Server mastodon.top

I released the new major version 2.0.1 of JSON:API for Spring HATEOAS, see github.com/toedter/spring-hate.

This is a bug-fix release, based on Spring Boot 3.0.1.

#rest #API #jsonapi #spring #hateoas

Last updated 2 years ago

Asbjรธrn Ulsberg · @bitbear
230 followers · 759 posts · Server icosahedron.website

@mogsie @mamund Cool! I have had a thought simmering in the back of my head for a few years now about using a PlantUML statechart to generate the stubs of a hypermedia-driven API. This sounds like much the same, only without the hypermedia โ€œfront-endโ€.

I believe the request/response dependency you describe can be decoupled with hypermedia by describing each response as a distinct type the client knows how to process, without knowledge of what it has processed before or what it is supposed to process next (iow: statelessness).

I try to describe this decoupling in the following article:

nordicapis.com/rest-state-mach

I would love to know what you think.

#rest #hypermedia #hateoas

Last updated 2 years ago

The 2.0.0-SNAPSHOT of "JSON:API for Spring HATEOAS" is now based on Spring Boot 3.0.0. Try it out before I release 2.0.0! See github.com/toedter/spring-hate

#rest #spring #hateoas #jsonapi

Last updated 2 years ago

Alexander Zeitler · @alexzeitler
240 followers · 344 posts · Server mastodon.social

Since implementing my first API, it has taken me almost 15 years to actually write an article on Hypermedia and HATEOAS for a journal.

Maybe I should have done this earlier.

#rest #hateoas #hypermedia

Last updated 2 years ago