D & T

Gut Thurnsberg, KranzbergD & T

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.

IMG 0572
IMG 0545
IMG 0518
IMG 0562
IMG 1027
IMG 1068
IMG 1059
IMG 1057
IMG 1016
IMG 1064
IMG 1053
IMG 1015
IMG 1030
IMG 1028
IMG 1061
IMG 1055
IMG 2059
IMG 1022
IMG 1023
IMG 1021
IMG 1025
IMG 1079
IMG 1080
IMG 1004
IMG 1002
IMG 1088
IMG 1097
IMG 1216
IMG 1125
IMG 1128
IMG 1087
IMG 1184
IMG 1198
IMG 1226
IMG 1199
IMG 1191
IMG 1264
IMG 1272
IMG 1346
IMG 1307
IMG 1336
IMG 1420
IMG 1289
IMG 1323
IMG 1386
IMG 1329
IMG 1426
IMG 2049
IMG 1474
IMG 1288
IMG 1285
IMG 1380
IMG 1438
IMG 2050
IMG 1543
IMG 2041
IMG 2052
IMG 2024
IMG 1446
IMG 2043
IMG 1350
IMG 1370
IMG 1371
IMG 1383
IMG 1356
IMG 1394
IMG 1364
IMG 2038
IMG 2034
IMG 2039
IMG 2021
IMG 1407
IMG 1486
IMG 1480
IMG 1485
IMG 1520
IMG 1514
IMG 1885
IMG 1883
IMG 1893
IMG 1899
IMG 1911
IMG 1907
IMG 1724
IMG 0574
IMG 0619
IMG 0645
IMG 0635
IMG 0597
IMG 0652
IMG 0677
IMG 0863
IMG 0918
IMG 1711
IMG 1645
IMG 1653
IMG 1593
IMG 1672
IMG 1614
IMG 1608
IMG 1943
IMG 1951