Universal JavaScript for Drupal developers

prestonso

"Universal JavaScript" is a term that has gained considerable momentum in the front-end world since the onset of the ongoing JavaScript renaissance. The traditional definition of universal JavaScript involves code shareability across client and server through a server-side framework such as Node.js, where a client-side framework is executed to output the initial render before being reexecuted on the browser. Since the advent of MV* frameworks such as Angular, Ember, and React, universal JavaScript has led to an explosion of adopters from across the programming spectrum.

New paradigms are afoot in the JavaScript community, and these rapidly shifting patterns are fundamentally transforming how JavaScript is written, especially as new transpiled languages emerge and ES2015 matures. How have ideas like functional reactive programming manifested themselves in the JavaScript world? What is this new world of universal JavaScript in the larger universe of PHP and other server-side technologies? Most importantly, how can you as a Drupal developer writing PHP quickly get up to speed with the new JavaScript?

Here's what we'll explore, with an eye toward how it relates to Drupal development:

  • A brief history of JavaScript
  • Universal JavaScript
  • The beginning of MV* in JavaScript
  • ES2015 and ES2016
  • Transpilation and compilation to JavaScript
  • Functional reactive programming in JavaScript
  • Other JavaScript paradigms
  • Epilogue: The future of JavaScript

This session will be useful for Drupal developers who wonder what all the fuss is about these days when it comes to JavaScript. If the last time you touched JavaScript was before jQuery, this session will be useful for you.

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version