Speakers: 
rtraviss
Track: 
MADCamp (Alice in Wonderland)
Audience: 
Intermediate

Headless Drupal has been a hot topic lately, and if you're an advanced-level developer, you already know exactly what this is, and why it's useful.  On the other hand, if you're not part of this club, you're probably asking yourself WHAT IS THIS NEW THING AND WHY DO I WANT TO USE IT?

I'll start from a basic level, and explain exactly what a RESTful web service is, and why they've become so popular.  Then, I'll explain some current solutions in the Drupal ecosystem, before focusing on my main topic, the RESTful module in Drupal 7.  I'll show you how, with two files, you can create a simple REST API that you can use immediately on your site.

After a quick break for questions, we'll dive into the second half, where I'll show you how to consume your new REST API using a variety of client-side technologies, from the lowly cURL to the mighty (Backbone?  Angular?  jQuery?  I haven't decided on this part yet).

My intention is to keep this as simple and beginner-friendly as possible, but due to the fact that we'll be playing with PHP and JavaScript code, I've marked it as intermediate-level.

Length: 
50 minutes