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.
- Log in to post comments
Comments
mwrather replied on Permalink
NodeJS, Grunt, and Bower
If anyone is interested in a deeper dive into NodeJS, Grunt, and Bower, I can recommend a session from last year. :)
stevenator replied on Permalink
Sources
Thank you to all who came. While I fix/finish the slides, here are the sources of the presentaiton:
https://drupalreleasedate.com
https://www.lullabot.com/blog/podcasts/drupalizeme-podcast/47-drupal-ser...
http://berjon.com/web-2024
http://martinfowler.com/articles/richardsonMaturityModel.html
http://todomvc.com/
https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpg...
https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhi...
git@github.com:conradkleinespel/sphp-osx.git
https://github.com/angular/angular.js/wiki/Understanding-Dependency-Inje...
Drupal 8 REST source
https://drupalreleasedate.com
https://www.drupal.org/documentation/modules/rest
https://www.drupal.org/node/2096019 (GET on content entities)
https://www.drupal.org/node/2098495 (GET on views)
AngularJS Source
https://angularjs.org
https://docs.angularjs.org/guide
https://docs.angularjs.org/api
https://github.com/ngbp/ngbp.git
http://joshdmiller.github.io/ng-boilerplate/#/home