Indeed - though in practice, there are quite a few significant
differences: CouchDB is (mostly) a pure/dumb data store, while TiddlyWeb
operates at a different level, with more structure and stricter
expectations (think bags, recipes, filters, serializations etc.).
> So my question is: has anybody had experience with both tiddlyweb and
> couchdb?
A few of us played with CouchDB and CouchApps a while back:
https://github.com/saqimtiaz/TiddlyCouch
https://github.com/UnclePhil/TiddlyCouch
https://gist.github.com/310251
(Personally, I struggle with the pre-defined views, so I'm more
interested in MongoDB lately.)
> What were the major advantages of one over the other for single-page js
> applications?
Well, it comes down to the usual: If you buy into the tiddler model and
philosophy and that model is a good fit for your use case, TiddlyWeb is
awesome. But the tiddler model is not (meant to be) universal, so some
scenarios have requirements which make CouchDB (or some other solution)
the better choice.
> Would it make sense to try to create JS code in a way that could use
> either tiddlyweb or couchdb, or is this inrealistic in practice?
Emulating TiddlyWeb's HTTP API was one of the goals of TiddlyCouch, but
that turned out to be quite tricky due to the constraints of CouchDB's
design (e.g. I don't recall the details, but I think URI structure was
one issue).
-- F.
-- F.
--
You received this message because you are subscribed to the Google Groups "TiddlyWeb" group.
To post to this group, send email to tidd...@googlegroups.com.
To unsubscribe from this group, send email to tiddlyweb+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlyweb?hl=en.
> Some more advanced patterns with replication you can think of is the
> "continuous" replication. This way the changes from the couch you
> replicate from are automatically "replicated" inside your own.
> For a "small"group this can be interesting:
> B>continuous-replicate A
> C>continuous-replicate B
> D>continuous-replicate C
> A>continuous-replicate D
This sounds very interesting.
> Some future ideas might be to look how to handle a single tiddler like
> this:
> http://bijl.iriscouch.com/bijl-ctw/c5cae55cec09f222af6e9ab4af030ee8
> Perhaps someone (FND-Chris) can make some cheese of that so it can be
> used elsewhere (in space).
Oh noes! FND and I are merging into the same person. I don't think the
world is quite ready of a whitespace obsessed, recovering sysadmin,
you're doing everything completely wrong, curmudgeon.
I'll have to leave this question to FND. One of my
it's-a-good-problem-to-have regrets with TiddlySpace has meant that
its success has narrowed my focus and attention to such an extent that
I'm not exploring around the boundaries as much as I would like.
--
Chris Dent http://burningchrome.com/
[...]
Indeed!
>> Some future ideas might be to look how to handle a single tiddler [...]
>
> I'll have to leave this question to FND.
Unfortunately, I'm not quite sure what the question really is. This
might well be due to my current state of mind - but I'd appreciate an
explicit description or some ideas.
> Oh noes! FND and I are merging into the same person. I don't think the
> world is quite ready of a whitespace obsessed, recovering sysadmin,
> you're doing everything completely wrong, curmudgeon.
You're missing a hyphen there.
-- F.