Writing maintainable and performant Javascript for Drupal

Javascript is gaining the power and becoming more and more popular nowadays. Amount of JS features is drastically growing on average site. To be able to successfully extend your old code it should be written according to Drupal best practices.

In this session I will show and explain you:

  • How to avoid common Javascript pitfalls in Drupal
  • Techniques for writing maintainable Javascript in a Drupal way
  • What reduces your JS performance and what to do with that
  • Ways to process Javascript on Drupal side

Disclaimer: This session affects only Drupal module and theme JS development. Single page applications and native mobile applications mostly don't use Drupal core JS.

Experience level: 
Beginner
Speaker(s): 
Siarhei Semashka

Session Tracks (DrupalCamp NJ 2015)