AngularJS

Blog posts related to AngularJS.

Notes on Building a Drupal 8 Module, With a Little AngularJS

Submitted by Matthew on Sun, 03/20/2016 - 13:01

For the moment, I just want to explore some of the features that I found particularly interesting in the module I wrote to show the old Drupal 7 posts in the left sidebar.

First, to access the JSON data that comes through the web service I set up on my Drupal 7 installation at http://webmech.biz, I used the Guzzle HTTP client library, which was added to the initial Drupal 8 release.  The Guzzle API is object-oriented and easy to use: