Very cool. Clicking the menu Blog link gives me a 500 error.
A SvelteKit template for building CMS-free editable websites
41–50 of 85 posts
Re: A SvelteKit template for building CMS-free editable websites
#42I edit the website and then refresh and changes don’t persist. Obviously they don’t want people editing their production website, but is it otherwise supposed to persist? If not, what’s the point? For this reason I find the demo a bit confusing.
> Obviously they don’t want people editing their production website, but is it otherwise supposed to persist? The repo notes that persistence requires editors to in with the (shared?) admin user and password. Although the pitch is "CMS-free", this is a Postgres- and S3-backed content management system. The in-place editing is extremely cool.
Glad you like the in-place editing. I'm also for the first time happy with the experience. You can press CMD+E for editing and CMD+S saving, and there's no layout shift, so it's really convenient for quick edits. :)
Re: A SvelteKit template for building CMS-free editable websites
#43Earlier quoted context omitted.
> Obviously they don’t want people editing their production website, but is it otherwise supposed to persist? The repo notes that persistence requires editors to in with the (shared?) admin user and password. Although the pitch is "CMS-free", this is a Postgres- and S3-backed content management system. The in-place editing is extremely cool.
"CMS-free" as in "does not depend on additional software to manage content". Postgres and S3 through MinIO are my preferred choices, but you can change that to anything you'd like to use instead. Glad you like the in-place editing. I'm also for the first time happy with the experience. You can press CMD+E for editing and CMD+S saving, and there's no layout shift, so it's really convenient for quick edits. :)
Cool! Postgres and an S3-compatible object store area are both listed as requirements, so you may want to update that.
So by "does not depend on additional software", does that means I can just use the filesystem?
Re: A SvelteKit template for building CMS-free editable websites
#44From a cursory look, the type of content it supports seems limited. Like something you would use for a minimalist journal. If it could replicate something like https://framer.com I'd be all ears. A gallery with code would help potential users better understand its potential.
Re: A SvelteKit template for building CMS-free editable websites
#45I think this pitch overstates the problem with CMSes. It seems for many organizations, their CMS is working well for them. Not saying this doesn't have benefit, but, as for me, I rather like my CMS and don't feel like this is a big win.
Re: A SvelteKit template for building CMS-free editable websites
#46I edit the website and then refresh and changes don’t persist. Obviously they don’t want people editing their production website, but is it otherwise supposed to persist? If not, what’s the point? For this reason I find the demo a bit confusing.
> Obviously they don’t want people editing their production website, but is it otherwise supposed to persist? The repo notes that persistence requires editors to in with the (shared?) admin user and password. Although the pitch is "CMS-free", this is a Postgres- and S3-backed content management system. The in-place editing is extremely cool.
Re: A SvelteKit template for building CMS-free editable websites
#47Is there some component library rather than "template" for doing this?
Intentionally there isn't. I wanted to demonstrate that a website with "editing" capabilities is no magic, and to encourage people to hack on every piece. My experience after 25 years of web development is that often examples > libraries. Not always true, but I think particularly for websites it works well and gives you full control over every pixel to be rendered.
Re: A SvelteKit template for building CMS-free editable websites
#48From a cursory look, the type of content it supports seems limited. Like something you would use for a minimalist journal. If it could replicate something like https://framer.com I'd be all ears. A gallery with code would help potential users better understand its potential.
yah, this is like the todo app of content management, being able to change the text (and perhaps add bold and some links), and has probably been built thousands of times by now in the short history of the web. building in-place editing for fixed text nodes isn't that hard, whatever the underlying toolkit. a CMS should be able to do that in its sleep. it's when you get beyond text into other media and into layout, spa…
Re: A SvelteKit template for building CMS-free editable websites
#49Earlier quoted context omitted.
I am sure I am in the minority at this point, but the lack of TypeScript proliferation to me is a plus.
You're not the only one. I don't hate Typescript, but I don't think it's necessarily worth using everywhere. I like using it for libraries that I might share or reuse, that contain some complex logic, in which case it helps my code keep guarantees. But for view-layer code, I really don't get why a lot of people are dying to use Typescript that way. Beyond that, pretty much every Typescript project I've been introduce…
TL;DR - Svelte's codebase will move to JSDoc types but still use TS.
To be clear - Svelte will still have full support for TS, nothing is changing for users of Svelte.