Headless CMS
My podcast for this article
What headless cms mean?
A headless content management system, or headless CMS, is a back-end only content management system that acts primarily as a content repository. A headless CMS makes content accessible via an API for display on any device.
Ok, there is no theming like WordPress no custom, and strike writing in the frontend.
A headless CMS is: backend CMS used as a repository for data which we can use it in the frontend app with REST OR GraphQL endpoints
Headless came from the assumption of website is a person with a body and head ... Head is the frontend and body is the backend so the headless means only backend 😆
Difference between headless and Monolithic, regular or coupled CMS like WordPress
Monolithic
Monolithic or Traditional CMS like WordPress consists of :
- Database to store data
- Backend to perform CRUD operation to the data
- SET of structure and tech to use them to create the frontend
Headless
Headless consists of :
- Database to store data
- Backend to perform CRUD operations on data Like admin interface in Wordpress
What is the problem with traditional CMS?
1- Traditional CMS force me to use some technic to show the frontend, but headless can consume the APIs and show it as they want ...............only DATA ...........
2- I can't use it with existing e. i E-Commerce website and if I have products in DB and want to show it in another website, I can't do that.
3- The system is difficult to scale
4- Headless i can use it in any device VR, Smartwatch, Smart TV and so on.
Do I need a headless CMS?
Nowadays, we see many stacks to write a website and every stack take a hive at first
And you go to learn it then another one appears.
Stacks like
- MEAN (Mongo, Express, Angular, Node)
- MERN
- Meteor.js Stack
The LAMP Technology Stack
So with headless, you will write your own lovely frontend with your own lovely frontend framework of your choice.