SSG and CMS

Original link: http://afoo.me/posts/2023-10-03-ssg_and_cms.html

SSG_and_CMS.jpg

SSG and CMS – Wang Fuqiang’s personal blog: An architect’s thoughts and reflections

SSG and CMS

Wang Fuqiang

2023-10-03


When the topic of SSG 1 was discussed in the Guo group that day, many people seemed to be confused about the relationship between SSG and CMS, so I drew a picture…

SSG_and_CMS.jpg

The basic logic is that there are two paths from the era of traditional static page websites (web1.0):

  1. One is to introduce a database and increase the management of dynamic content; (web 2.0)
  2. One is to introduce translation and composition during compilation, but retain the static nature of delivery; (web 1.5?)

Originally, a web application would have a foreground program and a background program, with a database in between to maintain shared state. As a type of web application for dynamic content management, CMS has the same structure, but the implementation details include a series of peripheral and runtime infrastructure such as versioning, CDN acceleration, and release deployment.

Today, this scenario has basically been upgraded by Block-based content management solutions on the cloud, such as Notion/Feishu Documents, etc. But the underlying logic has not changed. It is still the structure of frontend + database + background program during runtime.

However, the ecology is diverse. Combining the traditional static solution with the CMS solution (hybrid does not sound good, hybrid is more advanced) has also formed a new ecological appearance, that is, the SSG + headless CMS solution. User-edited content and contributed content are still done in the CMS. However, if you are not satisfied with the default front-end of the CMS or want to use other solutions to customize it, you can pull the content in the CMS through the API provided by headless CMS, and then Use it in your own SSG solution or SSR solution.

This is a simple interpretation of the above picture.


  1. Students who don’t know what SSG is can go to related topics on Architecture Encyclopedia ↩



On the planet “Crazy for AI”, Teacher Fuqiang is discussing interesting AI topics with his friends. Do you want to join us? ^-^
here

  1. Not only does it have timely and fresh AI information and in-depth discussions
  2. Also share AI tools, product methods and business opportunities
  3. There are more systematic high-quality paid content waiting for you. Join Planet (https://t.zsxq.com/0dI3ZA0sL) to get it for free. ( Be sure to read the pinned message after joining!)

Knowledge Planet QR code


In the era of inventory, saving money is making money.
In the era of incremental growth, saving money is actually losing money.
Avoiding pitfalls is a way to save money, and it is also the choice of truly smart people!
Although the detour is also a road, you can still take it as little as possible. Behind it is the high cost of trial and error.
Subscribe to “Fu Bao” , avoid pitfalls, take fewer detours, and take one more step, which means a different winning rate!

Subscribe to "Fu Bao Premium Subscription"



Copyright © Wang Fuqiang’s personal rights reserved – Since 2004 (Everything is homebrewed with Pandoc and Markdown, little Scala also included.)

This article is reproduced from: http://afoo.me/posts/2023-10-03-ssg_and_cms.html
This site is only for collection, and the copyright belongs to the original author.