(no title)
megadal | 1 year ago
> this completes the move from the server side to the client side
OK, how does that benefit end users, developers, or administrators? I have never had a person approach me to make a website with a client side database.
> REST (so called, see[1]) was the first step, GraphQL the second step and now this completes the move of pushing the expressiveness found on the server side over to the client side.
Again, I don't see the point..? Who does this benefit..? Front-end only devs who want think doing everything on the front end makes a website more modern/app-like..?
Web architectures aren't separated in front end/back end because of technological limitations. We could've been running databases in the browser for decades now. We don't because of Separation of Concerns...
The front end is for presentation tier logic.. the backend is for business logic.
Just because you can do something doesn't mean you _should_, and when something has been possible for a long time but hasn't been done very often, you should ask yourself why that is.
> [1] - https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...
How was this article at all relevant to your point..? GraphQL APIs in the wild also 9/10 require API docs (the schema).
Have you ever heard of OpenAPI?
Wait until you find out about JSON:API. Or that you can use OpenAPI with JSON:API.
No comments yet.