I have refactored the code that binds TW and vue. It is more appropiate 
now, as it gets data directly from the tiddlers with no middle values.

https://rawgit.com/Guitlle/vuewiki/build/build/docs.html

This also allowed me to bind external tiddler data (adding a watch for each 
tiddler field was quite bad). 

Also added 3 helper functions to manipulate arrays and objects. 

Now that I have a stable base, next step is including lists with filters 
and data tiddlers.

If you have some example applications using this, we can put it in the 
documentation.

El martes, 11 de septiembre de 2018, 10:09:28 (UTC-6), Guille Rmo escribió:
>
> Thanks for your comments, Josiah. 
>
> I am glad people find this useful. This may caught the attention of 
> javascript devs for tiddlywiki. 
>
> Will update soon with a more stable version of the plugin.
>
> El martes, 11 de septiembre de 2018, 5:07:00 (UTC-6), @TiddlyTweeter 
> escribió:
>>
>> Ciao Guille
>>
>> ... this definitely requires the user to learn about vue.js.
>>>
>>
>> Right. And understanding the visible "bootstrap type code" part of it is 
>> very helpful, I think. As you say ...
>>
>> ... Check out the UIV documentation 
>>> https://uiv.wxsm.space/getting-started . I am thinking on changing uiv 
>>> for another libray (suggestions are welcome). By having a library of 
>>> components  you can avoid writing javascript logic.
>>>
>>  
>>
>>>  This is limited to be used inside a tiddler. [My emphasis :-)]
>>>
>>  
>>
>>> ... I want to add support for lists with TW filters and data tiddlers 
>>> with indexes and json.
>>>
>>
>> Right. That would kinda "bridge the gap" with normal TW and help show how 
>> it can leverage off the store.
>>  
>> What users may not be so aware of is that your approach IS able to 
>> interrogate the internal store. It just needs some work to make it flow 
>> well.
>>
>> For now I think the main applications for this is having javascript 
>>> expressions inside tiddlers. I remember I posted a while ago a widget that 
>>> allowed you to update a field with a math expression and required math.js 
>>> plugin. I think things like adding or multiplying two fields should not be 
>>> that hard. In vue.js it is quite simple {{ self.fieldA * self.fieldB + 
>>> self.fieldC }}. 
>>>
>>
>> Good & useful. 
>>
>> Right now you can't transclude. It could be possible, as TW makes this 
>>> easy, but it needs more thought and work. 
>>>
>>
>> I think transclusion INTO vue type Tiddlers would be great if its 
>> possible. I notice there may be syntax issues?
>>
>> ... This definitely needs more examples. If you come up with nice example 
>>> ideas, I can write and add them to the documentation so people have a 
>>> better idea of what can be done.  
>>>
>>
>> For me better utilisation of Data Dictionaries and  JSON Tiddlers look 
>> like prime candidates? Showing how to use any array of data from the 
>> internal store would be useful.
>>
>> Just thoughts
>> Josiah
>>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d8bffb2e-748d-473e-b6f9-fd96d094235a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to