Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 8 Blueprints

You're reading from   Drupal 8 Blueprints Step along the creation of 7 professional-grade Drupal sites

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781785887567
Length 262 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Alex Burrows Alex Burrows
Author Profile Icon Alex Burrows
Alex Burrows
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

1. Introduction and Getting Set Up FREE CHAPTER 2. Telling Your Own Story with Drupal 3. Get Fundraising with Drupal 4. Recruit Using Drupal 5. List Properties with Drupal 6. Express Your Event with Drupal 7. Get Teaching with Drupal 8. Go Static with Drupal

Go Static with Drupal

Becoming increasingly popular, we are seeing websites and applications using a CMS like Drupal as a content management framework that outputs JSON to a static frontend using popular JavaScript Framework, such as Angular, Node, or React. For this chapter, we will look at Drupal's built-in REST API and how we can send data from Drupal to a frontend framework.

This kind of functionality is becoming used more for applications, but a lot of websites are using this too and harnessing the power of Drupal as a content management system.

We will look at using Drupal's built-in REST API and allowing our frontend to read the data and output it by covering the following topics:

  • Creating our content type
  • Enabling the Drupal core modules needed
  • Creating our view to show our content output
  • Creating our frontend using React
This chapter will get hands on with...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image