This session is for you if:
- You're a Front-end developer new to Drupal and baffled by the theme layer and you wonder if there might be a different way to go about it.
- You're a Back-end developer frustrated by your relationships with Front-end developers who struggle with Drupalisms.
- You're a team leader struggling due to a shortage of Drupal Themer talent, and you wonder if there might be a different way to distribute the work.
- You're confused about whether "Drupal Themer" is a front-end job or a back-end job and you wish to return to the days of a simpler two-part process.
Prerequisites: To benefit from this session, you need only to understand HTML, and Creating Content Types and Views with Drupal.
This session will provide a technical over and demonstration of a technique for creating pure HTML front-ends for Drupal managed content using Knockout JS, Backbone, and JSON data.
We'll walk through:
- Setting up back end data with the RestWS and Views Data Source modules.
- Knockout JS, Backbone JS, and Knockback, the library that blissfully marries the two.
- Adding the necessary attributes to your HTML mark-up to insert your dynamic content.
- How to compile pages with Drush to optionally include PHP output.
- Workflow recommendations including file layout in source control and automated compilation.
The notes/slides from the a previous presentation are published here:
Github repo for the step-by-step walk-through:
Matt has been using and contributing to Drupal since 2007. He's presented an several previous DrupalCamps, DrupalCons, and summits on a variety of technical topics, and is currently building products based on Drupal for an international media & events company.