top | item 20719773

(no title)

nullwasamistake | 6 years ago

Eh I guess I meant "traditional" web MVC where HTML template for the whole page is pre-rendered on the server.

We use gRPC web, so backend is a bunch of RPC endpoints. Front end is regular SPA.

This has worked great for us because it reduces backend to "shipping objects" instead of all the bs you normally have to deal with in HTTP.

With gRPC there's no use for rails, or any HTTP server framework. As far as I can tell, this is the future of web endpoints, so rails will die out.

discuss

order

bdcravens|6 years ago

> rails will die out

That'll suck. Hope your company doesn't use Github.

nullwasamistake|6 years ago

Amazon still runs a bunch of Perl in the back. Just because you're stuck with some design choice doesn't mean that framework has a solid future. People still write plenty of COBOL but you don't see any new applications using it

RangerScience|6 years ago

Pretty sure Rails is just adapting so that the V in the MVC is the SPA.

nullwasamistake|6 years ago

I'm convinced RPC frameworks are the future of REST. It's too crufty without them. Most of the rails stack just isn't involved in those calls, so there's not much purpose using it.