![Static sites are great](/_gatsby/image/a80f479edfa95d99eab07d642ba1876f/e1cb4e5c5c5512d2b5fc186408d12ff5/denys-nevozhai-100695.jpg?u=https%3A%2F%2Fimages.ctfassets.net%2F1ove3zmijz58%2F4NzwDSDlGECGIiokKomsyI%2Ff68b3210f5bba0732e048f5f615f517c%2Fdenys-nevozhai-100695.jpg&a=w%3D750%26h%3D562%26fm%3Djpg%26q%3D75&cd=2024-07-09T15%3A36%3A07.151Z)
Static sites are great
Worry less about security, caching, and talking to the server. Static sites are the new thing.
The case for the static site generator
More and more developers are jumping on the "go static train", and rightfully so. Static pages are fast, lightweight, they scale well. They are more secure, and simple to maintain and they allow you to focus all your time and effort on the user interface. Often times, this dedication really shows.
It just so happens that static site generators are mostly loved by developers, but not by the average Joe. They do not offer WYSIWYG, previewing on demo sites may take an update cycle, they are often based on markdown text files, and they require some knowledge of modern day repositories.
Moreover, when teams are collaborating, it can get complicated quickly. Has this article already been proof-read or reviewed? Is this input valid? Are user permissions available, e.g. for administering adding and removing team members? Can this article be published at a future date? How can a large repository of content be categorized, organized, and searched? All these requirements have previously been more or less solved within the admin area of your CMS. But of course with all the baggage that made you leave the appserver-app-database-in-one-big-blob stack in the first place.
Content APIs to the rescue
An alternative is decoupling the content management aspect from the system. And then replacing the maintenance prone server with a cloud based web service offering. Effectively, instead of your CMS of old, you move to a Content Management as a Service (CMaaS) world, with a content API to deliver all your content. That way, you get the all the benefits of content management features while still being able to embrace the static site generator mantra.
It so happens that Contentful is offering just that kind of content API. A service that
from the ground up has been designed to be fast, scalable, secure, and offer high uptime, so that you don’t have to worry about maintenance ever again.
offers a powerful editor and lots of flexibility in creating templates for your documents that your editors can reuse and combine, so that no developers resources are required in everyday writing and updating tasks.
separates content from presentation, so you can reuse your content repository for any device platform your heart desires. That way, you can COPE ("create once, publish everywhere").
offers webhooks that you can use to rebuild your static site in a fully automated fashion every time your content is modified.
Extracted from the article CMS-functionality for static site generators. Read more about the static site generators supported by Contentful.