zlacker

[parent] [thread] 3 comments
1. azangr+(OP)[view] [source] 2025-12-04 08:57:45
> Intentionally?

It's RPC. Remote procedure calls. An approach that has made a comeback in the front-end space recently. There was tRPC; then react made a splash with the release of its server components; then other frameworks started emulating the approach. I think Svelte now has something similar with its "remote functions". And Solid has been working on something similar; so that SolidStart now has a "use server" pragma. They probably don't replicate React's protocol; but the idea of calling functions on the server is similar.

replies(2): >>throwu+35 >>morshu+o61
2. throwu+35[view] [source] 2025-12-04 09:39:21
>>azangr+(OP)
> An approach that has made a comeback in the front-end space recently.

It wasn’t really a “comeback,” RPC never lost popularity. We just called them “REST” APIs that were a barely disguised adhoc JSON RPC format with a few CRUD verbs tacked on for routing requests.

replies(1): >>morshu+A61
3. morshu+o61[view] [source] 2025-12-04 16:39:12
>>azangr+(OP)
RPC is normally more explicit than this, or when it's not, it's server2server stuff like in Erlang.
◧◩
4. morshu+A61[view] [source] [discussion] 2025-12-04 16:39:54
>>throwu+35
If people even bothered with the CRUD verbs instead of making everything POST
[go to top]