Hi Stefan

Lazy loading in a TiddlyWiki context refers to the idea of packaging
"skinny" versions of some (or all) tiddlers into the HTML file. These
skinny versions lack the "text" field, making them much smaller than the
tiddler itself. Then, when the skinny tiddler is referenced from the
browser, it is automatically retrieved from the server.

There are more details here:

http://tiddlywiki.com/#LazyLoading

Lazy loading currently works with the Node.js client-server edition of TW5,
or with TiddlyWeb.

When using lazy loading, skinny tiddlers are searched as usual, but the
content of their text fields won't be searchable until they have been
retrieved.

Best wishes

Jeremy




On Tue, May 27, 2014 at 3:56 PM, <[email protected]> wrote:

> Maybe there are already clear answers to these questions but I wasn't able
> to make sense of available discussions/documentation/code. These questions
> seem to be very basic ones though:
>
> Suppose I have a really big TiddlyWiki. A single TiddlyWiki HTML file
> contains all tiddlers and they are all available immediately after page
> load. Is there a way to lazy-load tiddlers from the server? Is
> "tiddlywebadaptor.js" supposed to do this? As far as I can tell even on
> Node.js all tiddlers are loaded and compiled into a HTML file. Storing
> individual tiddlers works via the sync adaptor mechanism. But what if I
> just want to transfer a TiddlyWiki that contains no tiddlers except shadow
> tiddlers, whilst all other tiddlers are loaded on demand? And if this is
> possible, how does searching, filtering and bidirectional linking work? I
> mean, the index doesn't contain all items available at the server. The
> obvious solution would be to query the store. If so, are there
> implementations for this and how can I hook custom code to loading and
> querying events? Or is it the case that some search and filter operations
> just won't work in lazy-loading mode?
>
> Can someone point me in the right direction?
>
> Thanks,
>
> Stefan
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to