REST in Drupal 8

By

This article was published in the print magazine Drupal Watchdog, Volume 4 Issue 2, 2014-09, on page 16, by Tag1 Publishing. The magazine was distributed at Drupalcon Amsterdam 2014, 2014-09-29.

The Web Services and Context Core Initiative (WSCCI) incorporates into Drupal 8 a RESTful server, thereby extending Drupal so websites and web apps can deliver content in forms other than traditional web pages. This includes reworking how Drupal core determines the current context information for each HTTP request, and unifying that data into a context object. Plug-ins will standardize how functionality can be swapped in and out using configurable components. Upon this foundation will be added the actual RESTful capabilities, such that any HTTP request is flexibly routed to a pluggable response handler, which might return a JSON object just as easily as an HTML page.

Copyright © 2014 Michael J. Ross. All rights reserved.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <address> <area> <blockquote> <br> <cite> <code> <dd> <div> <dl> <dt> <em> <fieldset> <h1> <h2> <h3> <h4> <h5> <h6> <hr> <img> <input> <li> <map> <ol> <p> <pre> <span> <strong> <sup> <u> <ul>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 6 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.