Sunday 28 August 2016

A website with... no JavaScript!?



Can you get the edge over competition by... getting rid of JavaScript? That's a questions I've recently stumbled upon. The idea is that some websites can be created using pure HTML and CSS. And I'm not talking about static websites... interested?


Before we get to how we can do something like this, let's go through the list of the biggest advantages avoiding JavaScript brings.

Advantages of giving up on JavaScript in some projects

Speed - it goes without saying. Websites that only use HTML and CSS are much faster as it is JavaScript that takes the most time in terms of server response. By minimizing JavaScript, you can advertise your web development services as optimized for speed.

Less Complexity - with less or no JavaScript, the source code is much easier to maintan and understand.

Effort - a lot less testing and the ability to avoid over the top complicated programming techniques.

Resources - you don't need developers specialized in JavaScript, which often cost the most to hire.

SEO - websties that use little JavaScript are better SEO-wise since JavaScript may make it more difficult for search robots to index your content.

Maintenance - as the website is easier to understand, it is also easier to maintan and improve upon.


Limiting JavaScript - first step

As you can see, there are a lot of benefits of minimizing the use of JavaScript. Enough to make it ot some extent a part of your strategy and a competitive advantage to get in outsourcing software development (see this article to learn more about being a competitive web development outsourcing company). And how to do that? There are many solutions. One of them is to something like Pages from restdb.io. This solution incjects the output in the HTML on the server before it is sent to the browser. This way, you can have dynamic websites without JavaScript on the client side.


What do you think about it? Are you interested? Do you know some other way to do that? Leave your comments below!







No comments:

Post a Comment