Presentatie

Why
Because Drupal 8 will ship with backbone.js, a lot of Drupal developers will be exposed to it.

Backbone offers a framework to structure and organise javascript code. It simplifies maintainability but at the same time adds a layers of complexity by adding new abstractions and rules about organising javascript code. Backbone.js is easy to work with as long as we have an understanding of these rules and concepts.

To prevent it being "a pain in the ass", let's get to know backbone!

Content
The presentation focusses on backbone as a framework and does not talk much about the ways to use it in Drupal. The reason for that are the following:

We first need an understanding what backbone is and how we use it before diving in Drupal implementation strategies.

We need the time to properly address backbone,

Backbone can be implemented in different ways, some best practices may arise in the Drupal ecosystem. As they don't exist yet, it may be too early to address them.

Topics addressed:

What problem does backbone try to solve?

What are views?

What are models?

What are collections?

How they all play together: view render on model change events

We'll be addressing each of these topics with discussing what it is, the benefits and sample code. The topics are explained by creating a small demo application.

Audience:
Developers (front/backend) so they can leverage backbone in projects