Before decoupling, understand JS JavaScript for Drupalers: Let's learn this: DrupalCon Portland 2022

Speaker: Ashraf Abed

When it comes to building modern websites, JavaScript frameworks are clear frontrunners. Where does this leave seasoned Drupal developers? Should we abandon our favored languages in favor of JS? Not necessarily; Drupal is a stellar CMS which is more than capable of standing on its own. Because many of the JS frameworks focus on front-end development, and thanks to Drupal's API-first work, we can combine the best JS frameworks with our favorite frameworks. Empower yourself by learning the ins and outs of JS to enable yourself to dive into a JS framework.

Certain things about JS seem strange when you are either new to programming or come from a PHP background: var, let, const, this, ES62015, ES6, asynchronous programming, various shorthand syntaxes, and more. We'll go over these and much more to prepare you for the brave new world of JS.

In addition to learning the "how" of modern JS, we'll also learn about why so many people are integrating JS so heavily in their applications. What can JS do that PHP can't? And do JS frameworks really provide enough benefit that we should invest in decoupling Drupal projects?

Drupal is a registered trademark of Dries Buytaert.