Drupal 8 JavaScript in 3 Presentations
Loading & Using, Underscore, and Backbone
Sorry no post last week I was busy finishing these presentations.
So I had three presentations at SANDcamp: Drupal at the Beach in San Diego last weekend. Whew… 3 is a lot of talks to give in one day!
The first was JavaScript Fundamentals of Drupal 8
Which includes how the new “libraries” concept works, and loading and manipulating libraries and files. Since I was also giving talks later on Underscore.js and Backbone.js I included a portion introducing pragmatic functional JavaScript programming. The Drupal portion is replicated in my blog post Loading and Using JavaScript in Drupal 8.
The second was Underscore w/D8
Underscore.js is now included with Drupal 8 so I provide a “why” for Underscore, and walk through descriptions of the different areas of its methods, and provide plenty of code examples.
The third was Backbone w/D8
Also included in Drupal 8 is Backbone.js, and a number of core modules depend on it. While Backbone isn’t as sexy as React, Angular or others, it’s a solid, lightweight, easily-accessible workhorse, so if you’re doing D8, give it a shot. I provide code examples as I describe the important methods of the base Backbone Objects.
Please give them a look — any feedback is greatly appreciated, thanks!
