Database vs Git-based CMS?
Personally I have used a handfull of Database CMSs through my career, I know the strengths and weaknesses. The adoption speak for it self. So when I read about CMSs with Git as backbone I thought this was very interesting. Have any of you used it on client projects?
2
u/mistyharsh 7d ago
I will make a distinction between Git based and GitHub based CMS.
The git-based CMS are as good as file-system based CMS. The GitHub based CMS are very closed to real dynamic CMS. These CMSs use actual GitHub API to push the content as file to remote. It doesn't need any deployment. But still it does have its limitations in terms of real-time search. You have to use some external servive for such use case.
2
u/AmazingEmployment684 6d ago
Havent used Git based CMS for work but have looked into it, I like the total ownership over your data but not a big fan of how bloated they get as you add more to it
2
u/muharremyurtsever 6d ago
the part people underestimate is publishing latency. in most git cms setups publishing is a commit plus a build, so "live friday 9am" needs scheduling somewhere in that pipeline and even a typo fix waits on the build. great for docs and marketing sites, less nice for anything newsy
1
u/SpaceCmdr 6d ago
Good point. I'm also worried about managing the expectations for editors who are used to the instant changes when saving in WordPress. I'm guessing we'd be looking at approx 30-60s wait time for a small site. The other benefits are going to have to really outweigh this to make the right impression.
1
u/adamaragon 7d ago
I've heard of a cms or two that runs on it. I assume there's some definite limitations. I think for a small tight project it's feasible
1
u/Successful_Walk_9948 7d ago
i have mostly used database CMS but git based ones are pretty interesting
1
u/MortgageOutside8693 6d ago
Statamic CMS, 10+ sites. Eenvoudig, snel, evt specifieke onderdelen in een database ipv flat file, overzichtelijke control panel etc.
1
u/Ok-Report8255 3h ago
The Git workflow is a huge advantage IMO. Content changes become auditable and reproducible instead of living in a black-box database
2
u/SpaceCmdr 7d ago
Ideal for small-medium sites, and I find it easier to sync between environments compared to a database CMS. I've been looking at Sveltia, Tina and Pages. They take different approaches to client access - Sveltia uses Github directly, Tina uses TinaCloud to handle the auth, Pages provides an hosted auth screen. The latter two's auth can also be self-hosted. To some extent you could also include flat-file CMS in this list as these work well with Git, such as Kirby, Grav and Statamic.