Introduction To Headless CMS AJI

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

Introduction to

Headless CMS
Aji Kisworo Mukti
Co-founder at Sertiva
The Problem

Our company need a blog for content marketing

The blog should easy for content writers to use

Our SEO specialist don’t want your blog in separate subdomain

We already have custom made homepage

www.sertiva.id [email protected]
Solution A - Use CMS

Use wordpress for quick and easy-to-use setup

Separated from the homepage


Solution B - Custom CMS
● Write custom CMS backend for blog
● Implement custom blog interface in existing homepage
● “Raw” content writing experience from the backend
● Time consuming
Solution C - Combine Solution A and B
● Use Wordpress for easy to use Dashboard
● Add REST API plugin as a connector
● Implement custom blog interface in existing homepage
Solution D - Headless CMS
● Use Headless CMS
● Design API using builder
● Implement custom blog interface
in existing homepage

Cockpit
How we do it
● Create a Strapi project
● Create an article content type using the builder
● Add content to article and publish
● Consume the content types API at /articles

Check out the Strapi Quick Start Guide for details


Collection
API
Endpoints
● /articles
● /articles/1
● /articles/count
Parameters
● Filters
● Sort
● Limit
● Start
● Publication State
Implement
More possibilities
Mobile Client

https://dribbble.com/shots/14975376-Blog-UI
Landing Page Content

Header Single Type Endpoint /pages


Endpoint /header

Hero ● Name
● URL

Client ● SEO

Sections collection
Feature ● Title
Collection Type ● Component
● Subtitle
● Variant
● Content
● Image
Testimony ● Video
● Button
CTA

Footer Single Type Endpoint /footer


API

Endpoint Sections
● Hero ● Client
● /header ○ Variant Two
○ Variant One
● /footer ○ Title
○ Title
● /pages ○ Subtitle ○ Subtitle
○ Image
Pages Collection ○ Button
■ Client 1
■ Label
■ URL ● Image
● Name
○ Video ■ Client 2
● URL ● Image
■ Thumbnail
● SEO ■ URL
● Sections
The pros and cons depend on the context of your goals
and the resources you have available.

Thanks

You might also like