What is Drupal good for? That’s easy: Content management. Most people know that, but did you know that Drupal is also good at sharing that content? Using a couple of key modules, you can turn your Drupal-powered site into a full-fledged API or web service. By serving your content out in this manner you are freeing it! Now other applications and web pages can query against your site and pull out that content.
This is highly useful for those attempting to achieve the “Create Once, Publish Everywhere” strategy so popularized by NPR. You can leverage Drupal’s content type capabilities to create authoritative, canonical editions of copy that you write and update in only one location, but that will update in any place that is consuming the content. Some examples include articles, buildings, rooms, lending devices, people, etc. Create or change the content on Drupal and the changes are seen immediately by every app and page that’s consuming the data.
What You'll Learn:
- How Drupal can organize content
- The basics of a web service
- How to turn your Drupal site into an API
- How to interact with this web service to display content