2 ms·
I 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
by Alifatisk 3y ago
I 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!