Ask HN: Is the web ready to require JavaScript?
But now, people I work with are making the claim that JavaScript can become a forced requirement for all future websites. In this world, if you're without JavaScript, you might only get a minimal, unstyled skeleton page via HTTP, so that search engines can index the URL and social sites can share it. Or even a blank page, if those things are handle by APIs.
The majority of the UI is then to be implemented with Backbone/Spine, Underscore templates and similar technologies. It will be fully HTML5 compliant, elegant and accessible, but it just won't work without JavaScript.
My question is, do you think the web is ready for this transition? Are there compelling reasons, other than just "historical principles", for this not to happen? Can we consider JavaScriptless users an increasingly ignoreable relic like IE6 users? Are there other key points to consider - are we throwing out some baby with the bath water?
20 comments
[ 4.6 ms ] story [ 58.3 ms ] threadIf I'm on a netbook, tablet, or phone, your JavaScript will chew my battery. I don't want that.
I don't trust you. Don't take it personally; I don't trust most websites. I haven't signed your key, and you haven't signed mine. I am not okay with letting you execute code on my machine.
Your JavaScript sucks. Again, don't take it personally; it's a tricky and frustrating language with lots of pitfalls. However, you messed up, and now your script is busy-looping or eating bandwidth with endless AJAX. I'm blacklisting your script until you fix it.
These are just off the top of my head, BTW.
Edit: Spelling.
Have you considered slimming down your walls of text? You seem to be using lots of words to say "no u," and it's tempting me to draw parallels between the simplicity of the JS-less Web and the relative complications of the JS-ful Web.
I would say the answer depends on what the target audience is, what kind of site it is, and how much time it will save.
While I am on the subject my group (the web) made the business case that having JSP and Javascript was redundant and added to the complexity and therefore the cost of development and maintenance. We where able to successfully transition away from back-end web frameworks two a pure JS/HTML/CSS front end. In doing so we where able to simplify our development model, which increased our defect resolution time as well as our new feature development time.
That said, people whose user agents don't support JavaScript get a big fat warning message after they log in to any of the web apps I've recently worked on.