Drupal and Isomorphic Javascript
Isomorphic JS was introduced by Airbnb in 2013. Isomorphic JavaScript applications are applications written in JavaScript that can run both on the client and on the server. Because of this, one can write the code once and then execute it on the server to render static pages and on the client to allow for faster interactions. So, this approach takes the best of both worlds.
Today there are several frameworks that assist you in developing this kind of application. One of them – possibly the most well-known – is Meteor. Meteor is an open-source JavaScript framework, written on top of Node.js, that focuses on real-time web applications. Another project worth a mention is Rendr. It’s a small library developed by Airbnb that allows you to run Backbone.js applications on both the client and the server.
More companies are adopting Node.js for their products. Sharing code between the client and server is becoming a more common and natural choice, and in my opinion is the future of web development. This trend is enhanced by sharing templates through libraries like React.
What we will discuss
-
Introduction to Isomorphic javascript
-
Previously used technologies such as SPA (Single Page Application)
-
Issues faced with current technologies
-
How the current issues are handled by Isomorphic javascript
-
How to use Isomorphic JS in Drupal?
-
Drupal applications - real world scenarios
-
Isomorphic JS in Drupal - In depth Demo