News for hackers. Stuff that matters.
Re:What I'm Up to Now by alisonkisk on Sunday August 29, 2021 @04:19PM (#28350118)
REST is a model for CRUD, but modern apps have far more complex interactions with server data.
Re:What I'm Up to Now by dragonwriter on Sunday August 29, 2021 @07:38PM (#28351496)
> REST is a model for CRUD

CRUD covers all possible interactions with data, and, in that sense, this description is correct.

“CRUD application” is sometimes used to refer to an application which presents only the most simple operations data operations to users, and saying REST is for CRUD applications in that sense would be the opposite of the truth. In fact, its the opposite, its a mechanism which facilitates creating applications of arbitrary complexity from components exposing simple, self-describing interfaces.

Re:What I'm Up to Now by recursivedoubts on Sunday August 29, 2021 @07:26PM (#28351428)
This is a category error. REST is a novel network architecture, the most distinct aspect of which is the uniform interface[1], and has nothing to do, conceptually, with CRUD apps.

It may be associated with web 1.0 CRUD apps, but the actual REST/hypermedia model generalizes and HTML, with a bit of help[2], can produce sophisticated UIs well beyond "CRUD".

--

[1] https://en.wikipedia.org/wiki/Representational_state_transfe...

[2] https://htmx.org/examples