This post feels like a uninformed and undifferentiated rant against "things are too complex". Let's start with the first paragraph: What does the JavaScript fetch API have to do with data management? How can you compare the fetch() API with Swagger (an API documentation format) with Protobuf (a serialisation format)? That doesn't even make sense. Second paragraph: "The UI should automatically update everywhere the da…
I think the post is a bit unfortunate in its wording and this seems to have sent you off on a wrong track. From how I read it, this the post is not specifically about JS and a discussion of the specific technologies mentioned but rather concerned with the following very general situation: 1. There's a user sitting in front of a browser. 2. There's a backend server providing data and points of interaction with that da…
Data fetching on the web still sucks
41–50 of 98 posts
Re: Data fetching on the web still sucks
#42Architectures are what help solve these sorts of problems - not tools or libraries. Placing the blame on tools means the real issue has not been identified.
Re: Data fetching on the web still sucks
#43Earlier quoted context omitted.
I think the post is a bit unfortunate in its wording and this seems to have sent you off on a wrong track. From how I read it, this the post is not specifically about JS and a discussion of the specific technologies mentioned but rather concerned with the following very general situation: 1. There's a user sitting in front of a browser. 2. There's a backend server providing data and points of interaction with that da…
Apollo client and Elixir LiveView are solving most of these.
Re: Data fetching on the web still sucks
#44Earlier quoted context omitted.
Apollo client and Elixir LiveView are solving most of these.
Yes. But do they automagically create and maintain database indexes for the most common requests made by your webclients?
Re: Data fetching on the web still sucks
#45Earlier quoted context omitted.
I'm saddened to see that almost a decade after Ember's release, the front-end world still insists rolling their own (terrible) reimplementation of it. I would've expected that a decade later we would've settled on an Ember-like framework for the front-end and moved beyond constructing URLs and parsing JSON responses manually but apparently not.
The rest of the world moved on from Ember because Ember is a pain in the ass to use.
Re: Data fetching on the web still sucks
#46Re: Data fetching on the web still sucks
#47What are examples of data-fetching libs/standards outside the web, that check all (or a relevant subset) of those criteria?
Re: Data fetching on the web still sucks
#48Logux is one of the example of this approach:
Re: Data fetching on the web still sucks
#49Re: Data fetching on the web still sucks
#50This post feels like a uninformed and undifferentiated rant against "things are too complex". Let's start with the first paragraph: What does the JavaScript fetch API have to do with data management? How can you compare the fetch() API with Swagger (an API documentation format) with Protobuf (a serialisation format)? That doesn't even make sense. Second paragraph: "The UI should automatically update everywhere the da…
Half of the stuff he mentioned are covered by apollo-graphql and libs in that eco-system: query batching, notifications (via subscriptions), automatic state updates via cache, typesafety with typescript and grapqhl-codegen. It doesn‘t seem like he even looked at the libraries he listed. :(
Also graphql forces you to a certain way to resolve your data which may not always be the best fit.