Using Headless CMSs
Learn how to use Contentful, Drupal, Shopify, etc., as data sources for Gatsby.
We'll cover the following...
Introduction to CMS
A content management system (CMS) is software that allows content creators to create and manage content with minimal technical knowledge. Here, we look at how to integrate some of the most popular CMS solutions into our existing (and new) Gatsby sites.
Types
There are two major kinds of CMSs: traditional and headless.
Traditional CMS
Unlike modern types, traditional CMSs are tightly coupled. This means that they handle both the backend, where the content and data are managed and stored and the frontend part, where this content is displayed to visitors using the site. When the admin creates or adds content to the database of a CMS service or software using some form of an admin dashboard, this software also handles the rendering of content to visitors.
Headless CMS
In modern or headless CMSs, the admin can add content to the database, and this content is made available through the use of structured data, fetched most likely with an API. The developer or owner can then decide which software to use to render the content to end-users. That is, headless CMSs serve the purpose of just the backend, while the frontend can be any software of choice that can fetch and display the content of the headless CMS.
CMS in Gatsby
When using a CMS as a ...