Textpattern CMS 4.8.0
textpattern.com
textpattern.com
It got a lot of attention and love back in the day, because everything is in the database. No template files or anything. You just backup your database.
(It would be great if SQLite was officially supported, or anything but MySQL)
It has a large (for the time) ecosystem of plugins. Which are base64-encoded strings that you upload in a web form in the admin interface. The horror, I know! But back then it was seriously cool.
All templates, forms etc in the database also means you don't have a file lying around. Which means you cannot point your favorite text editor you it. You either use the builtin "editor" (just a form field) or copy and paste it into your editor and back, if you need syntax highlighting, validation or whatever.
Textpattern was pretty much dead a few years ago, but then development picked up again, and now you get a new release every now and then. The development team finally made XHTML optional and HTML5 possible (already quite some time ago), they expanded the builtin template language with new tags. It's tasteful development, not hectic.
Textpattern is great! I'm thinking about using it for a new project as a quasi-SSG, building my site and then wgetting it into static files.
This is an interesting idea - presumably a sitemap-esque file could be generated for an SSG to parse and then bulk download. I've never thought of that. Thanks for the tip!
Edit: Turns out, you can do sitemaps natively, like that: https://github.com/colak/neme/blob/master/pages/sitemap.tpl
That was indeed true, but no more. With the advent of themes from v4.7.0, you can export template files and CSS to the filesystem for version control or whatever purposes you require.
Textpattern still reads all its template/tag data from the database by default, but you can import/export the files however you see fit to suit your workflow, or bundle them up to share/reuse.
Auto-sync of files<->database during development is supported by a plugin. The reason it's not a core feature is because we've separated the live/dev workflow in the latest version so you can iterate/revamp/update/overhaul your sites on the live server without needing to do the separate staging server dance. See:
https://textpattern.com/weblog/424/the-end-of-the-web-develo...
There are so many ways this could be utilised, we felt it better to leave workflow decisions to the site admin.
> It would be great if SQLite was officially supported, or anything but MySQL
We support MySQL clones such as MariaDB and Percona. Not tried any others yet. PDO support is on the list, but it requires some refactorisation internally so we've been putting it off!
This has changed a bit. From Textpattern 4.7, there is support for front-side theming in externally-editable files. Although the markup, styling, and other text components are stored in the database, they can be imported from (and exported to) theme files. These theme files can be edited outside of Textpattern, and then ingested into the database. Made changes in Textpattern. Export the current version to the theme files, and you're all synced up.
Textpattern was created by the late Dean Allen, a great early web designer and typographer -- and creator of the also somewhat forgotten Textile, an early markup system that's somewhat like a more complete Markdown.
My memories about it are plenty vague now though...
They got bad press years later when they didn't honor TextDrive's "lifetime account" anymore, which TextDrive had used to get early funding.
http://web.archive.org/web/20140810052728/http://kaizengarde...
Edit: though I do have a vague memory of Dean wanting to resurrect TextDrive and not getting very far:
I suspect we'll never know the true story of what happened with Dean Allen; looking back, there were definite signs even from as far removed as I am of him battling with depression, but of course, I'm writing this now with hindsight. At the time I'm pretty sure I just felt mildly annoyed that he seemed to have vanished from both TextDrive and Textpattern.
Or he just liked to drink. Have you seen this piece from Om Malik?
https://om.co/2018/01/18/dean-allen-rest-in-peace/
There's a story in there about Dean Allen getting drunk and locking Om Malik out of the apartment. ;)
I remember the drinking part of the story, but as with any story, there's more to it than we'll know.
I suppose this is a good moment to say, RIP Dean Allen. This is another moment where we remember you at HN.
Regardless of the history of Textpattern and all that followed (including the hosting) - I spent many hours happily hacking on tools provided from that shared journey. It was a great ecosystem, or we wouldn't still be talking about it.
Thanks to everyone who participated.
Thanks for giving our server a good workout today!
Wow. That was a long time ago! Custom fields are standard these days, albeit limited to articles and 10 maximum, though there are plans to extend to unlimited custom fields in core.
Of course, if you give us that, we will always ask for more, until you have implemented half of Kirby (https://getkirby.com/docs/guide/blueprints/introduction). :-)
They are strings. I don't know of any plans to extend the core beyond that, though speaking for myself it sounds like plugin territory.
>Having a date picker for date customs fields etc. would be great.
A valid case. The argument for x feature is sometimes a tricky one, as a lot of things fall into plugin territory until a critical mass of people want it, and then it's considered for core. Unfortunately, many Textpattern plugin authors have moved on to other projects, and some often-used plugins end up being orphaned, adopted and repurposed for current releases.
It's a somewhat tricky situation – have a feature spun out to a plugin, sites become reliant on said plugin, plugin author moves on, and the community ends up fixing the plugin for current versions. There's no animosity at all, as far as I know, it's just not an ideal scenario. Thankfully many (most?) plugins are open sourced with appropriate licences.
Yes! The next custom fields implementation is, as far as I'm aware, one of a kind in that it a) uses the 'best' field type to store the data under the hood in the database (int for numerical data, datetime for dates, and so forth), and b) will permit you to output any html component to support that data type at input time. So, yes, a date picker for dates if you like.
All the built-in data wrangling is customisable by plugins so they can override/extend data storage and offer different input methods as needed. Though we do have to finish that bit of code yet! The branch is still lurking in our repo, awaiting final tweaks for prime time.
https://github.com/textpattern/textpattern (CMS)
https://github.com/textpattern/textpattern.github.io (docs)
https://github.com/textpattern/ (project)