3 ms·
Seems like a cool project. I really like rails and for projects where you only want to use it as an API this seems great. Feels like DHH has been so obsessed wi
by padjo 3y ago
Seems like a cool project. I really like rails and for projects where you only want to use it as an API this seems great. Feels like DHH has been so obsessed with killing JavaScript recently that rails has lost its way a bit.
- Alifatisk 3y agoI think DHH want to keep it as a full-stack framework and not only backend-framework. I appreciate DHHs and his teams attempt at providing an true alternative to front-end frameworks.
- padjo 3y agoI mean that’s fair enough, it’s his framework he can do what he wants. But the last two places I’ve used rails it was being used as backend only. I suspect that’s a very standard way to use rails these days and no amount of DHH telling me it’s wrong is going to change that.
- jon-wood 3y agoThat's fine, if you don't want all the frontend bits you can run in API mode, which will skip loading them: https://guides.rubyonrails.org/api_app.html https://guides.rubyonrails.org/api_app.html
- Alifatisk 3y agoI find Rails API-mode hard to work with, integrating the frontend towards Rails crud-like api is cumbersome because of all the endpoints you have to manully work with. While using Rails own templating engine creates all the links and urls for you!
- Lio 3y agoI'm not sure it's fair to say DHH wants to kill JavaScript, only that he wants to use JavaScript only where he thinks there's no better alternative. i.e. progressive enhancement. There's still nothing stopping you from jettisoning view support and just using Rails as an API if you want to.