Bruno Pedro's public notes


Found at “simple is better - JSON-RPC” on 2022-05-06 10:57:41.

Especially for web-applications, it’s sensible to split the frontend (data-presentation, user-I/O) from the “real” application. This cleanly separates the presentation from the logic, and (additionally to the advantages above) simplifies the creation/use of alternative frontends and last but not least improves security because the frontend (usually running with webserver-rights) doesn’t have direct access to the data, but may only call some functions of an other process.