News for hackers. Stuff that matters.
Re:Real-Time Web Apps with Zero Lines of JavaScript by zaro on Tuesday October 08, 2019 @01:17AM (#21188992)
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.

Re:Real-Time Web Apps with Zero Lines of JavaScript by vearwhershuh on Tuesday October 08, 2019 @12:31PM (#21194041)
These articles might help:

http://intercoolerjs.org/2016/01/18/rescuing-rest.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?

Re:Real-Time Web Apps with Zero Lines of JavaScript by adamstep on Tuesday October 08, 2019 @03:01PM (#21195827)
Like 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.