PouchDB is a very good first step because of the way it is setup. SQLite
would also be a great first step for targeting SQL databases.

On Sun, Dec 1, 2019 at 9:30 PM TonyM <[email protected]> wrote:

> Jed,
>
> Great work, what a Wiz. I will have a closer look. With the pouchDB have
> any more persistence that local storage I wonder?
>
> Such node solutions are great but we must find an easy way to host such
> things online when needed.
>
> Regards
> Tony
>
> On Monday, December 2, 2019 at 10:06:26 AM UTC+11, Jed Carty wrote:
>>
>> After finding out that I have very little idea how syncadaptors work I
>> started playing with making a new one and ended up with a working pouchdb
>> syncadaptor.
>>
>> It is very rough but it works, it will create a database and save
>> tiddlers to it, delete them when appropriate and then load the tiddlers
>> when you open it up again.
>>
>> At the moment the implementation is just for one wiki, but extending it
>> to have multiple wikis on the same node process would be very straight
>> forward.
>> It has potential for some things people have asked for like being able to
>> search all tiddlers in all available wikis.
>>
>> As a note, this is not noteself, while it could be configured to connect
>> to a remote database, either pouchdb or CouchDB, it doesn't have any of the
>> nice features of noteself other than saving to a database.
>>
>> Considering how straight froward this was making similar adaptors that
>> work with the various flavours of sql databases wouldn't be too hard aside
>> from figuring out the appropriate database schema. That is something I have
>> absolutely no interest in doing but this may work as a reasonable reference
>> design for anyone who wants to make a sql database adaptor.
>>
>> There are instructions on how to use the adaptor in the readme, it is not
>> at all polished and requires node.
>>
>> https://github.com/OokTech/TW5-PouchDBAdaptor
>>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/952167f3-cc7f-44a7-8093-629b2b3ef1a3%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/952167f3-cc7f-44a7-8093-629b2b3ef1a3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSTCypzZmZy_P%3DXnhxWFSJRXFknZ3EYt_LXrhnHi8B%2BVWA%40mail.gmail.com.

Reply via email to