3 ms·
this is just JSON RPC? The "constantly serialize and deserialize it" statement is totally untrue too... The frontend makes 6 XHR calls just to render a single p
by zemnmez 7y ago
this is just JSON RPC? The "constantly serialize and deserialize it" statement is totally untrue too... The frontend makes 6 XHR calls just to render a single page and they're all just JSON. The idea of the frontend 'just calling' the backend with no API boundary is nothing short of atrocious for security.
The only feasible logical end to this is ASP, which was an interesting idea when it was launched 19 years ago
- mvila 7y agoThis has nothing to do with JSON RPC. Liaison uses Deepr (https://liaison.dev https://liaison.dev) as a communication protocol. Regarding the number of XHR calls, to be accurate, it is not 6 but 4. Once Liaison is complete and optimized, the number of calls should drop to 2. Also, please keep in mind that Liaison is made for building single-page applications. So, using it for a simple blog might not be the right choice. And about your security concern, please head over here: https://news.ycombinator.com/item?id=21660785 https://news.ycombinator.com/item?id=21660785