Using Backbone.js with Drupal 8 & 7
Backbone.js is a lightweight JavaScript framework which is freely based on MVC pattern and allows developers to create single page AJAX-like web applications. It is also SEO friendly. With Backbone it is possible to update a web page quickly with a minimal amount of data transferred between a client and a server using a REST approach. Backbone becomes more popular day by day and is being used in a growing number of web applications and IT startups such as Groupon Now!, Foursquare, LinkedIn Mobile, Airbnb.
I have real working experience with Backbone.js and am currently writing a Backbone.js CookBook for Packt Publishing. In this session I will introduce you to the Backbone.js library and answer the following questions:
- What is the current state of JavaScript in Drupal 7?
- Why do people use Backbone.js?
- Why was Backbone.js committed into Drupal 8?
We will also:
- Find similarities between Backbone and Drupal (entities, views, hook_menu and even Form API).
- Get familiar with Backbone.js and Underscore.js.
- Understand data fetching techniques like bootstrapping or REST.
- Learn how to work with the Backbone module for Drupal.
For dessert we will:
- Understand what the WSCCI (“Whiskey”) initiative means for Backbone.js integration.
- Speak about better integration of Backbone.js with Drupal 8 core.
Comments
larskhansen replied on Permalink
Messy session
This session was poorly handled.
Internally jokes doesn't work in a group of strangers.
The slides weren't well organized.
Dealancer was very hard to understand.
dealancer replied on Permalink
Thanks for your feedback, it
Thanks for your feedback, it is helpful, will definitely follow your advice.
adrianmak replied on Permalink
no video on this session?
no video on this session?
dealancer replied on Permalink
Unfortunately video had some
Unfortunately video had some problems. But there is a video from DrupalCon Portland: http://www.youtube.com/watch?v=CziMatZMR4I