2 ms·
Yeah. I boggled a bit at: "Still when one took the MVC approach and is now lacking an API, the easiest thing to do is to add a few views that output JSON and c
by twic 13y ago
Yeah. I boggled a bit at:
"Still when one took the MVC approach and is now lacking an API, the easiest thing to do is to add a few views that output JSON and call it a “restful API”. [...] it does not scale and is horribly slow"
Why would rendering a view be any slower than serialising some objects to JSON or whatever? The only reason i can think of is that you've incompetently chosen to use some very slow rendering framework. So don't do that.