[Updated on 9/11Â with Headless CMS Buyerâ€™s Guide link and my commentary]
I’m about to embark on a new website re-design / rebuild. Weâ€™ve decided to move to a headless CMS (content management system) for this project.Â If you’re not too familiar with the headless CMS approach you can learn more hereÂ and here. Also, headless and decoupled CMS terminology is often used simultaneously or interchangeably. It can be confusing and I found this article to be helpful in distinguishing the two.
One of the reasons for our decision to move to a headless CMS is so we can effectively ship content across multiple applications (Multiple websites, mobile apps etc.) using our own API. Weâ€™re planning to use React as our framework to render the front-end of our websites although there are many other popular options like Angular, Ember and Backbone. The existing site runs on Drupal and we havenâ€™t yet decided on the CMS weâ€™re going to use for the new one.
Most of my experience is working with Drupal and WordPress. This is my first headless CMS project so I didnâ€™t have a good grasp of the many nuanced methods and decisions that need to be made. While the technical aspects are numerous, my thoughts here are through the lens of a project / production manager and how choosing a headless system will affect the ongoing content creation of the site after it launches. After doing research regarding headless CMS websites itâ€™s clear that we are still in the early days and there are many different schools of thought on implementation methods and tools to use.
With so many different approaches itâ€™s important to understand that a headless website will most likely affect the existing functionality that is available to editors and admins of the website. Making sure you gather great requirements upfront with an understanding on how the execution of existing production tasks may change based on user roles (editor vs. developer) is important to understand up front.
Since the CMS will no longer render your pages you have many new decisions to make. One example in our case was to identify many of the site elements that are likely to remain static or change very infrequently and having those elements hard-coded on the front-end. Previously these could be easily changed by an admin through the CMS but now will be changed by editing code on the front-end. For example weâ€™ve determined that the menu navigation will be hard-coded. Currently we manage that through the CMS and a site admin can easily add or change the navigation. In the future it will require a developer to update the related code.
This shift in the responsibility of roles is an extremely important consideration based on the existing staff that works on the website. You may need to re-balance by adding (or training existing) people to be on your development team for the website content production process.
Understanding these subtle changes and what parts of the site can be managed by the CMS vs. what a developer will need to update is important as there could be huge implications to how you manage the on-going content production of the site. Getting these nailed for a headless project and having them documented and approved are crucial ahead making any architectural decisions. If you decide to make changes later down the line, they can have a much greater impact than with a traditional CMS website where you have so much functionality exposed to admins or added easily with a module or plugin.
Helpful Articles toÂ Read
Weâ€™re still in our planning process and Iâ€™m sure there are many more discoveries as we get closer to kicking off this project. Below I have provided a few articles I found that help illustrate the considerations necessary when researching headless website implementations. Note that some of these articles are CMS specific but the issues are universal regardless of which CMS you choose to use.
- Notable Quote: â€œConclusionâ€¦All in all, these diverse approaches to progressively headless Drupal have one thing in common: their close attention to each use caseâ€™s specific requirements.â€
- Summary: Article shows 3 different case studies showing varying methods of decoupling
- My takeaway: You need to make sure you understand your organizations requirements up front before you make architecture decisions that you wonâ€™t be able to easily change later.
- Notable Quote: â€œIf you expect to be able to build your next project by simply configuring a few resources and putting together some React components or Angular directives youâ€™re in for a disappointment. Itâ€™s going to take a little bit more than that.â€ (Iâ€™d say â€œa lot moreâ€)
- Summary: Article touches on many of the aspects related to setting up a headless website
- My Takeaway: Good breakdown of related issues when going to headless including loss of features taken for granted, performance considerations, and application dependencies.
- Notable Quote: â€œBe sure your decision to move to a Headless CMS is made only after working with a technology partner that understands both the business and technical cases for moving to a headless solution.â€
- Summary: Article provides several good use cases on when it makes sense to move to headless.
- My Takeaway: Make sure you are choosing a headless system for the right reason and again, make sure you gather proper requirements and that they are communicated effectively to the development team or vendor who is building the site to make sure everything is very clear.
- Notable Quote: â€œAt this point, you might be wondering why everyone isnâ€™t heading toward decoupled CMS. After all, as a marketer, being able to get content out to any device quickly is paramount. However, there is a price to be paid for this ability. In many cases, that price is quite high.â€
- Summary: Article provides several real-world scenarios where functionality from a CMS (in this case Drupal) didnâ€™t work as expected when shifting to headless. The article also provides several bullet points outlining issues that need to be considered to justify going headless.
- My Takeaway:Â Important considerations including a good example regarding meta tags. The Metatag module is developed to output the tags when Drupal renders the page but since that is no longer the case, custom code needed to be written to pull the meta tag data. This is just one example of how data won’t be rendered automatically when shifting to headless. Note that this will be the case with any CMS that renders its own pages.
Notable Quote(s):Â Â· â€œThe problem is that most of the WordPress ecosystem does not address API usage. For example, to enable custom-fields in WordPress requires a plugin and a self-managed WordPress instance. But once the plugin is setup and custom fields are created, thereâ€™s no documentation on how the custom fields would be fetched over an APIâ€¦ In cases like this, the plugin-based extensibility of traditional providers like WordPress become useless and potentially impossible to work around.
â€œ(regarding CMS selection)â€¦we recommend choosing your solution based on developer experience. Which CMS is the easiest to integrate? Which CMS has the best documentation? Which CMS has the simplest SDKs?â€
Summary:Â Article provides several good considerations for choosing a headless CMS. They discuss using what they call â€œtraditional providersâ€ such as WordPress and Drupal versus others that are built solely around API integration. The article also covers related topics such as self-hosted versus managed hosting and pricing.
My Takeaway:Â This article illustrates the problems with trying to retrofit an existing CMS like WordPress that wasnâ€™t designed for â€œAPI firstâ€ from the ground up in a similar way that the previous Drupal SEO article discussed the issue. However, there is a strong movement in the Drupal community to join the headless CMS revolution as evidenced by 2 new Drupal distributions.Â ContentaÂ is a Drupal distribution built with a foundation based in API capabilities at its forefront for the existing Drupal community.Â ReservoirÂ is another Drupal distribution created by Acquia (The pro arm of Drupal similar toÂ AutomatticÂ for WordPress) which also aims to capture the headless CMS market in a more agnostic approach catering to developers that may not have any experience with Drupal. Iâ€™m not aware of any such distribution projects for WordPress so please leave one in the comments if youâ€™re aware of any.
The article also illustrates how you shouldnâ€™t ignore the existing knowledge and skill-set of your existing team when making the technology choices for your CMS selection. I also like how they focus a little on off-loading the dev-ops aspect with regards to self versus managed hosting which while not specific to this type of project is something I feel is another very important consideration.
2 Good Articles on the Pros and Cons ofÂ Headless
So you’ve made the decision to go headless or decoupled? Make sure you start with eyes wide open by readingÂ The Hidden Costs of Decoupling