Drupal 8 REST and AngularJS

Note: this is an archived site. The current site can be found at http://drupalcampla.com.

Over the past several quarters, LA Drupal has been having show and tells. It came as a surprise to me that several of us were experimenting with AngularJS as a client side MVC to deliver the presentation layer of our Drupal organized data. AngularJS is only the tip of the iceberg of course (Ember.js, Underscore.js) and/or others? At work, we often have internal discussions about the best way to approach new projects and the best tool for the job. We always seem to come back to Drupal to handle the CMS. We love the admin, we love the hook system, we love the module, WE LOVE THE COMMUNITY.

In this session I will cover the very basics of the Drupal 8 REST module and the JSON state provided. We will develop a simple content type with a few fields that will be returned to the browser as JSON where we will meet it head on with an AngularJS app. There will be code a plenty (as far as javascript goes) and I will cover as much of the building blocks of AngularJS as I can (or as prompted), I will also briefly touch on nodejs, Grunt, and Bower. But the focus will stay mainly with the REST, Drupal, and if we get there, some caching strategies.

Code and Development
One hour