ReactJS is the shiny new JavaScript framework that everybody wants to use in their next project. It's a component based approach to building JavaScript based web-applications and SPA's (single page applications). But any JavaScript front-end needs a RESTful service based back-end to store data and implement business logic. Drupal 8 has RESTful services built into core (Drupal 7 has it too, but in contrib modules). So if you have significant investments in Drupal, and need to implement specialized front-ends with Drupal back-end, or if you want to integrate rich web applications within your Drupal site, then this presentation could be useful.

Agenda:

  • What are JavaScript front-ends?
  • What are RESTful back-ends?
  • Why ReactJS?
  • Configuring Drupal 8 to serve RESTful services
  • Writing a ReactJS application that leverages Drupal
  • Pulling content from Drupal into ReactJS app
  • Creating Drupal content from a ReactJS app
  • Authentication & Security
  • Best practices

The code for a fully working demo can be downloaded from https://bitbucket.org/spinspire/d8-react

 

Click here to see the recorded screencast of this session.

Sponsors