Producing Web Services in Drupal

I'm Matt Korostoff

I work for Blink Reaction

(and you should too)

Concepts covered

REST server

REST auth

SOAP server

What?

{
  "nid": 1,
  "title": "hello world"
}

Hello world

Why?

$

Mobile App Dev vs Web Dev 2013

Web                   Apps

revenue             $23 billion         $10 billion

growth                    3.6%                     49%

new products        ~50,000,000            73,000                           

Virtually all mobile apps require web services!

REST

Title Text

Views Datasource

 

Cons:

Hard to alter with code

Innately read-only

Pros:

Easy to create simple services

Familiar interface

views datasource example

RESTful Web Services

Pros:

no setup time

similar to drupal 8

read/write

accepts query parameters

Cons:

hard to add custom services

poorly documented

fewest features

 

 

 

restws example

Services

Pros:

By far the most features

Easily extensible

REST, SOAP, and XML-RPC

Best documentation

Cons:

Longest setup time

services example

SOAP

REST services automagically become SOAP!

soap example

Thank you

Further reading

Made with Slides.com