3 ms·
So this is being done just for the sake of not writing JS? I don't see how this will be in any way better or more maintanalbe. Also it means writing more Djang
by zaro 7y ago
So this is being done just for the sake of not writing JS?
I don't see how this will be in any way better or more maintanalbe. Also it means writing more Django/Jinja templates.
- vearwhershuh 7y agoThese articles might help: http://intercoolerjs.org/2016/01/18/rescuing-rest.html http://intercoolerjs.org/2016/01/18/rescuing-rest.html http://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.html http://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.ht... Apps written in this manner (when properly decomposed) are very maintainable and often markedly simpler than a client-server SPA model. It isn't a popular approach right now, but that's OK. We are all independent thinkers here on HackerNews, right?
- adamstep 7y agoLike I mentioned in the article, our main motivation is increased productivity. By avoiding JS for feature development, we write fewer lines of code and ship faster. Better maintainability comes from a smaller codebase and no duplication of business logic between the frontend and backend.