3 ms·
I've been building and iterating little toy CMSes for years, each one a little better. Current version pros: - SQLite makes deployment and backups a breeze. I
by et1337 11y ago
I've been building and iterating little toy CMSes for years, each one a little better.
Current version pros:
- SQLite makes deployment and backups a breeze. I can also copy the SQLite file to create two versions of the site: "draft" and "live". Hitting "publish" syncs them.
- From the developer's perspective, it's just a regular Python app, except you can insert user-editable elements into any template.
- From the user's perspective, you can edit stuff right in the page.
Works fairly well. Two big hurdles remain:
- I rely on medium-editor[1] for in-page WYSIWYG editing. It's the best open source solution I've seen, but it's still horrible. Generates crap HTML[2].
- For major layout changes, the developer has to create a new template with placeholders for content creators to fill in. Ideally, developers would create building blocks that creators could then drag and drop in to place.
[1] https://github.com/yabwe/medium-editor https://github.com/yabwe/medium-editor
[2] https://twitter.com/etodd_/status/644898235836989440 https://twitter.com/etodd_/status/644898235836989440
- chrisacree 11y agoHave you tried Scribe editor? https://github.com/guardian/scribe https://github.com/guardian/scribe I've found it has better HTML output than medium-editor (though still not perfect) and has a more flexible design, though it requires a bit more developer involvement to get up and running.
- PebblesHD 11y agoI took this same route after trying to make a site with (an older version of) wordpress. My current version has everything I need for most of the websites I make, dynamic content, 'blog' style posts, comments integrated, analytics, and most importantly the actual page code is really clean. +1 for putting in the effort
- evunveot 11y agoHave you tried the "inline" option in TinyMCE 4? Basically you just give each editable element on the page its own, independently configured TinyMCE instance. TinyMCE's markup output is probably as good as it gets. http://www.tinymce.com/tryit/inline.php http://www.tinymce.com/tryit/inline.php
- bhhaskin 11y agoI haven't seem this before.... might have to give this a try.