3 ms·
That’s a bit strong. I’ve extensively used both and there’s no advantage for an SPA with PHP over Ruby. If your goal is an SPA and your backend performance is
by brightball 8y ago
That’s a bit strong. I’ve extensively used both and there’s no advantage for an SPA with PHP over Ruby.
If your goal is an SPA and your backend performance is a concern you’re better off with Go or Elixir than either of them.
- lucidone 8y agoNo inherent advantage, but Laravel shipping Vue as a default requires 0 config and the community has crystallized around it as a result, whereas Rails' Webpacker isn't a default in the install and puts the onus of choice on the developer (no convention over configuration there) for framework, structure and best practices. If you're an experienced dev, this is a nitpick. But for new users, this is a major hurdle. Edit: as an aside, I'd rather use Rails or Laravel for an api unless the backend had to be a set of microservices for some reason. Less time writing architecture, more time writing biz logic :).
- brightball 8y agoThat makes sense. I can appreciate the pragmatism, especially if you're a Vue fan.