by orangechicken · 14y ago · 0 comments
Leave the rendering of the app to the client. Leave the ins and outs of the data to the API (driven by Rails, Node/Express/Railway, Django, what-have-you).
That's definitely applicable to mobile and web apps.
It would make more sense just to pipe JSON through IRC since it's much less verbose and was designed to be symmetrical (and session based) from the start.
Because its the best option. When WebSockets what whatever socket protocol becomes ubiquitous you'll probably see less HTTP use.