Slight update of the Local Storage Prototype, and I've added the Session 
Storage Prototype.

Both TiddlyWiki instances are the same, except for how they interact with 
their BASIC applications.  And vice-versa:  how the BASIC applications 
interact with TiddlyWiki.

Note that when these TiddlyWiki instances are opened, they both show two 
tiddlers in the story river.

Compare side by side both TiddlyWiki instances to see behaviour of 
applications.  Worth comparing the "Startup Init" tiddlers between the two 
TiddlyWiki's.


   - https://basicanywheremachine.neocities.org/LocalStoragePrototype.html
   - https://basicanywheremachine.neocities.org/SessionStoragePrototype.html
   




On Thursday, February 17, 2022 at 12:33:08 AM UTC-4 Charlie Veniot wrote:

> https://basicanywheremachine.neocities.org/LocalStoragePrototype.html
>
> Updated version of this prototype makes use of Eric Shulman's action 
> timeout widget 
> <https://tiddlytools.com/timer.html#TiddlyTools/Time/action-timeout.js>.
>
> Now both TiddlyWiki and the embedded (in an iframe) BASIC programming 
> automatically retrieve / send values to local storage as a way of sending 
> values to each other.
>
> So TiddlyWiki instances, iframe-embedded content in those TiddlyWiki 
> instances, and any other html and web apps (caveat:  all of them must have 
> "same site" origin): each of them can play the role of "server" and/or 
> "client" in a client-server relationship, or as "peers" in peer to peer 
> relationship.
>
> Something like that.  Not sure if I'm using the right lingo.
>
> On Sunday, February 6, 2022 at 2:02:38 PM UTC-4 Charlie Veniot wrote:
>
>> And I'm thinking of building a "local storage" manager in TiddlyWiki.  
>> (Maybe something already done, but a fun "brain-age" exercise.)
>>
>> Kind of like a file manager, but rather a "key/value" manager.
>>
>> You want to manage your local storage items for all of the TiddlyWiki 
>> instances (and whatever other web pages) at a particular host/port?  Just 
>> drop the TiddlyWiki local storage import into a TiddlyWiki that is "there".
>>
>> Manage the key/value pairs (whatever you would do in a file manager), 
>> export/backup, print.  Drag some key/values showing in one Tiddly Wiki at a 
>> host/port to another TiddlyWiki at some other host/port for local storage 
>> related to that.  Anything at all.
>>
>> On Sunday, February 6, 2022 at 9:30:58 AM UTC-4 hww...@gmail.com wrote:
>>
>>> Okay, I finally "get" how this works.
>>>
>>> Now I am thinking I need to "Get" how to "apply" or "use" it in my work.
>>>
>>> Thanks for sharing this and for your enthusiastic promotion of it.
>>>
>>> Cheers,
>>> Hans
>>>
>>> On Saturday, February 5, 2022 at 11:25:41 PM UTC-5 cj.v...@gmail.com 
>>> wrote:
>>>
>>>> https://basicanywheremachine.neocities.org/LocalStoragePrototype.html
>>>>
>>>> BASIC could definitely be used for complex scripting in TiddlyWiki.
>>>>
>>>>
>>>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6bf121c4-2a4b-4078-bb75-59b20a6fbcabn%40googlegroups.com.

Reply via email to