DrupalCon Sydney: Drupal 8 Web Services

1,638 views

Published on

Learn about the brand new Web Services that are in Drupal 8. Core Drupal can now finally read and write entities via a RESTful web service. For example, a native mobile app or Backbone single page web app can now create/read/update/delete nodes, users, terms, etc. without going through the usual web forms. Views will soon offer a Service where you can retrieve view results via a Web Service.

Drupal is now cleanly exposed for other servers and software to interact with it. Furthermore, custom bits of Drupal can add their own Services quickly and easily

Learn more, and discuss next steps, including web services which Contrib can start building right now. Background information at http://groups.drupal.org/wscci

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,638
On SlideShare
0
From Embeds
0
Number of Embeds
931
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

DrupalCon Sydney: Drupal 8 Web Services

  1. 1. CODING AND DEVELOPMENT | Moshe Weitzman | FEBRUARY 7 2013 Drupal 8 Web ServicesThursday, February 7, 13
  2. 2. Demo This is the sub heading Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent vitae sapien sed nisi commodo posuere. Quisque sollicitudin nisi vitae mi. • Single page apps • Native Mobile Apps • Content staging - deploy module • Content sharing - Feeds Module • Add-on projects like Create.js 2Thursday, February 7, 13
  3. 3. Demo This is the sub heading Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent vitae sapien sed nisi commodo posuere. Quisque sollicitudin nisi vitae mi. • Single page apps • Native Mobile Apps • Content staging - deploy module • Content sharing - Feeds Module • Add-on projects like Create.js 3Thursday, February 7, 13
  4. 4. Demo • REST module backend • GET of an aggregator feed • GET results of a View • DELETE a node 4Thursday, February 7, 13
  5. 5. Use Cases • Single page apps (Backbone) • Native Mobile Apps • Content staging - Deploy • Content sharing - Feeds • Add-ons like Create.js 5Thursday, February 7, 13
  6. 6. REST Representational State Transfer • An IETF standard very related to HTTP 1.1 • Developed by Roy Fielding in 2000 • Verbs: POST,PUT,PATCH,DELETE 6Thursday, February 7, 13
  7. 7. Capabilities • CRUD Content Entities • Read View results • Read a dblog record 7Thursday, February 7, 13
  8. 8. Response Formats • JSON-LD • JSON • XML 8Thursday, February 7, 13
  9. 9. Developers • Easy: Use content entities (EntityNG) • REST module plugins (dblog) • Normalizers, Serializers (JSON-LD) • Docs: rest.module tests • D7: Restws and Services projects 9Thursday, February 7, 13
  10. 10. The Future • Update Entity Types to EntityNG • Basic Auth • Entity Reference • Config entities • Offline/Rich editors apps • Data sync/deploy/migration tools 10Thursday, February 7, 13
  11. 11. Credits • Klaus Purer • Lin Clark • Fago • Acquia 11Thursday, February 7, 13
  12. 12. 12Thursday, February 7, 13

×