flat-file CMS and TiddlyWiki

389 views
Skip to first unread message

Handoko Suwono

unread,
Sep 26, 2014, 7:39:33 AM9/26/14
to tiddl...@googlegroups.com, tiddl...@googlegroups.com
I came across an article about flat-file CMS like Ghost, Kirby, Statamic and Jekyll. But not WordPress since the latter is database driven.

The definition goes, "A flat-file CMS is a content management system that stores content in files and folders rather than in a database like a traditional CMS. "

http://www.typeandgrids.com/blog/goodbye-wordpress-2014-will-be-the-year-of-flat-file-cmses

I wonder is TiddlyWiki and TiddlySpace can be categorized as flat-file CMS too?

Handoko -
Surabaya, Indonesia

PMario

unread,
Sep 26, 2014, 4:14:53 PM9/26/14
to tiddl...@googlegroups.com, tiddl...@googlegroups.com

For vanilla TiddlyWiki I think it is true. It's even more. It's a single file, file based CMS.

TiddlySpace has a mySQL database as a data store. So .. no.

TiddlySpace is based on TiddlyWeb. .. The very basic store for TiddlyWeb is a text based store. So for a basic TiddlyWeb installation ... yes.

TiddlyWiki5 ... is also a single file based CMS
TW5 has the possibility to create a static representation of every tiddler. .. It's pure html no javascript needed.
TW5 also has the possibility to store its content as single file tiddlers  ....

TW5 is a yes, yes, yes flat file CMS at the moment :)

-mario

Jeremy Ruston

unread,
Sep 27, 2014, 3:52:12 AM9/27/14
to tiddl...@googlegroups.com, TiddlyWiki
 "A flat-file CMS is a content management system that stores content in files and folders rather than in a database like a traditional CMS. "

That description categorically applies to TiddlyWiki5 when it is run under Node.js to generate static HTML files from a wiki folder that contains individual tiddler files. Being able to operate in that configuration was a significant design goal driving the development of TiddlyWiki5.

For example, the main dynamic TW5 site is http://tiddlywiki.com

There is a static snapshot of the default tiddlers at http://tiddlywiki.com/static.html

Then there are static HTML snapshots of individual tiddlers, for example: http://tiddlywiki.com/static/AllTiddlers.html

Try clicking the links in those snapshots and you'll see that they have been mutated to point to the static renderings of each tiddler.

They are better described at "static-page-generator" CMSs; another terms that's been used in the past is "baked instead of fried".

TW5 supports both baking and frying :)

So, since a wiki page has to live-render which WikiWords are active links, it can't be baked

TW5 renders links according to the status of the target tiddler at the time of rendering. So, the italicised/non-italicised status reflects the state at the time of baking. That's OK, because it's generally better to re-bake the entire file set whenever the underlying tiddler files change.

Best wishes

Jeremy


--
You received this message because you are subscribed to the Google Groups "TiddlySpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlyspace...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Handoko Suwono

unread,
Sep 29, 2014, 8:22:48 PM9/29/14
to tiddl...@googlegroups.com
thanks Mario for clarifying the difference between flat-file and
databased CMSs.
thanks Jeremy for a good intro to TW5, the site is just great and
encouraging people to use.

Handoko -
>>> <https://ghost.org>, Kirby <http://getkirby.com>, Statamic
>>> <http://statamic.com> and Jekyll <http://jekyllrb.com>. But not
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/72AN4SkpWhY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
Reply all
Reply to author
Forward
0 new messages