2 ms·
Probably interesting in this context is ROCA, Resource-oriented Client Architecture. The basic idea is to deliver HTML and beeing RESTful, while using JavaScrip
by cryptos 6y ago
Probably interesting in this context is ROCA, Resource-oriented Client Architecture. The basic idea is to deliver HTML and beeing RESTful, while using JavaScript only to enhance user experience ("Progressive Enhancement").
However, one practical problem with this approach is that HTML forms currently only support POST and GET, although PUT and DELETE were needed in many scenarios. Without JavaScript the only solutions are using POST for everything or using POST + hidden form field with the desired HTTP method and rewriting the request on the server side.
https://roca-style.org/ https://roca-style.org/