Aller au contenu principal

← All talks

Javascript for backend developers

2015

JavaScript for PHP developers who sort of care about the frontend and just want things to work. A quick tour of the JS landscape and its buzzwords, and the pitfalls that catch backend developers: variable scope, callback hell, 'use strict', types and "associative arrays".

Then the Drupal parts that you need: Drupal.behaviors with attach and detach, the context after an AJAX call, and once() so that your code doesn't run twice. JavaScript speed is rarely the problem, DOM repaint and reflow are.

Event

City

Language

English

Slides

Companion code

Related