3 ms·
Our controllers use APIs. This was common before SPAs became all the rage.
by sbov 8y ago
Our controllers use APIs. This was common before SPAs became all the rage.
- dangoor 8y agoIndeed, that's true. While I'm not saying they're good for everything, one thing I like about SPAs is that the server can just serve up an API that is usable by both web and mobile clients. No duplication of templating/view logic between server and client as often happens when the server is serving up HTML.
- deleted 8y ago[deleted]