DEV Community

Muhammad Hamza Hijazi
Muhammad Hamza Hijazi

Posted on

What is the purpose of a Headless CMS ? and which one to chose

Recently I came across the term Headless CMS. what they are , why we use them and which one to choose as I am MERN stack developer with Next.js.

Top comments (2)

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

Headless CMS is just a CMS where you can plug a front-end to call APIs directly to display your content.

It is usually a separate component so it helps a lot in speed & performance. This makes it easier for different people like marketing to focus on using/editing the content in the CMS or you calling the API from your front-end without dealing with the backend. Since headless CMS offers great documentation in their API to make it easy to pull data from the CMS.

Collapse
 
dennisfrijlink profile image
Dennis Frijlink

A headless CMS is a content management system that provides the Data over an API. The term “headless” comes from the concept of chopping the “head” (the front end, i.e. the website) off the “body” (the back end, i.e. the content repository). A headless CMS remains with an interface to add content and a RESTful API (JSON, XML) to deliver content wherever you need it.

The Headless CMS I love is Directus: directus.io/. Not sure you are experienced with Wordpress, but you can also use WP as a headless CMS with the API they provide: developer.wordpress.org/rest-api/