Drupal 8 + AngularJS

Artem Miroshnyk

Web Developer at FFW

Drupal 8

RESTful era

  • In core based on Symfony 2 components
  • Faster out-of-the box then Drupal 7 + contrib
  • Ready to go after some clicks
  1. Enable REST, HAL, Serialization modules
  2. Create view representing REST results
  3. Access route with "Accept: json+hal/text"

AngularJS

The most "modern" web tool

npm install -g grunt-cli bower yo generator-karma generator-angular

yo angular d8-angular && cd d8-angular

grunt serve

Authentication

  • Basic HTTP Auth
  • CSRF token
  • Same subdomains

Drupal 8 + AngularJS

By Artyom Miroshnik

Drupal 8 + AngularJS

  • 894