Re:I Turned Off JavaScript for a Week
by WorldMaker on Thursday November 19, 2015 @11:01AM
(#10595461)
«Similarly, whatever happened to progressive enhancement?»
In one word: Frameworks.
In more words: Building HTML in two different places is typically not very DRY (Don't Repeat Yourself) and if you are assuming a lot of very dynamic content that want to update on the fly from the JS side of things all the way down to micromanaging the HTML generation at run time, well then all of your HTML building moves into JS to keep things DRY.
The hope for the future is so-called "Universal" JS (which is interesting in that its kind of circling back to the origins of JS (LiveScript Server) and ASP Classic): now that we have a somewhat standardized JS platform on the server side (NodeJS) we can use the same JS to build HTML on the server or in the client...
In one word: Frameworks.
In more words: Building HTML in two different places is typically not very DRY (Don't Repeat Yourself) and if you are assuming a lot of very dynamic content that want to update on the fly from the JS side of things all the way down to micromanaging the HTML generation at run time, well then all of your HTML building moves into JS to keep things DRY.
The hope for the future is so-called "Universal" JS (which is interesting in that its kind of circling back to the origins of JS (LiveScript Server) and ASP Classic): now that we have a somewhat standardized JS platform on the server side (NodeJS) we can use the same JS to build HTML on the server or in the client...