3 ms·
Flat file websites make sense when you have a blog and such. I don't even know why you'd use a CMS when Next.js or SvelteKit can just generate all the pages fro
by yawnxyz 4y ago
Flat file websites make sense when you have a blog and such. I don't even know why you'd use a CMS when Next.js or SvelteKit can just generate all the pages from a folder with markdown files. Just write your content in Markdown or pull your content in at the static build stage and your content is ready to go.
Can anyone explain how sites like Flatboard handle user input into a flat file system? How do they handle conflicts with just one file? What's the workflow and set up like — can you use serverless or do you have to have a full server?
- riidom 4y agoFunny you mention SvelteKit - my former blog version was written with Svelte/SvelteKit (using the static adapter). I wrote a bit about why I went away from this, but in a nutshell: I am not using "modern" deploying techniques, and upping the compiled blob each time I write a new post felt like a huge drag to me. This is a general problem pretty much baked into SSG's, but I have hope that someone will adress this problem in near future.
- colejohnson66 4y agoOne thing CMSes have that SSGs don’t is: the ability to create posts without editing the source. Simply login to your admin panel and start writing. No Git repository or build scripts required.
- replygirl 4y agoi've found that folks without git experience are fine to use github.com as a cms when you take 20 minutes to show them how to edit, submit as a pr, and check the preview deployment before merging
- marcosdumay 4y agoYep. There is a long line of people complaining that git is hard to learn on the internet. But I've never met anybody on the real world that had any problem with the basic cycle of edit - push - review - accept (or the even simpler edit - push).
- andi999 4y agoYou can directly push after edit? No add, no commit?
- marcosdumay 4y agoSome software join it all in one step. Like the GitHub GUI the GP is talking about.
- anamexis 4y agoThere are some really nice tools out there that bridge that gap, like Forestry: https://forestry.io https://forestry.io
- throwaway0x7E6 4y agoCMS/WYSIWYG functionality does not necessarily have to be baked into the application that serves the content
- zinekeller 4y agoCMSes and SSGs aren't necessarily mutually exclusive: WordPress can be an SSG. The only thing about SSGs are they don't static webpages for serving but the process of creating it doesn't matter, whether it's handcrafted (MarkDown) or integrated into a CMS.