Hi all, 

I'm only semi php- and js-literate, but i'm wondering if this could work 
in  theory? 

I'd like to have the benefits of lazy-loading etc of a syncadaptor on my 
cheap shared hosting. If i'm reading the developer docs correctly, there's 
only a few  mandatory methods for a sync adaptor. 

*Here's my rough idea: *

On a web-server: 

empty+plugins.html  <--- the core wiki with plugins baked in
content1.tid   <--- a .tid file to be synced
content2.tid  <--- a .tid file to be synced
content3.tid   <--- a .tid file to be synced
getSkinnyTiddlers.php  <-- a php script that compiles a set of skinny 
tiddlers from all .tid files and echoes as json
saveTiddler.php <- a php script that takes a file upload and saves as a .tid
loadTiddler.php <- that takes a GET parameter as a .tid file name and 
echoes the full tiddler as json
deleteTiddler.php <- that takes a GET parameter as a .tid file name and 
deletes that file

In a corresponding sync adaptor plugin: 

- the constructor method
- methods corresponding to each of the 4 php scripts, doing an http request 
to that script


That's it. No database back end, python, or nodejs. 

Possible? Practical? Someone done it already? 


-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/97305243-ff16-4c5a-952d-4fb0a8357d93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to