Drupal and Isomorphic Javascript

nikhilsukul
makbul_khan8

All of us from the beginning of web technology have used JavaScript in one way or another. Traditionally JavaScript was supposed to be the technology of Front-End, or in literal sense, a script which will be executed in the browser. It started off as a small snippet, performing mere calculations in the browser; to highly sophisticated AJAX requests. But all in all, it was all happening on the client side. Then recently, a new era of server side JavaScript took over. It has been a revolutionary concept, as it is a lightweight backend server with pretty cool features like push notifications (Node.js).  

But in spite of all these technologies, we were not getting an ideal seamless experience. Either the browser was having too much of JavaScript code or the web (backend) servers became heavy. We wanted to have a solution which is the best of both worlds.

Introducing Isomorphic JavaScript application, where same JavaScript code runs on both, the client and the server.It not only makes JavaScript code easy to maintain, but also enhances its performance and the overall user experience. The concept was introduced by Airbnb in 2013.  Currently there are various frameworks and libraries which are providing tools and methods to create Isomorphic applications. Some of the most popular ones are: React.js, Meteor, Rendr etc.

 

What we will discuss:

  • What is Isomorphic JavaScript?

  • Why Isomorphic JavaScript?

  • Sites using Isomorphic Javascript.

  • How to Isomorph?

  • Available libraries.

  • Isomorphic JavaScript with Drupal.

  • Hands On Demo

Session Track

Horizons

Experience Level

Intermediate

Drupal Version