So I'll be kind of starting from scratch. I have a best practices question:
<<
(having decided that I'll be using TW5 with nodejs) Would it be better to make one TW per client and import any design changes from a "master" TW file (that was the plan with the TWc version), or would it be better to have one single TW5 (synced between computers) and access the multiple client "files" by unique tag in the one system? And if that were the case would it be better to develop it in tiddyweb (accessible only through intranet)?<<
Here's the use case: I'm a chiropractor seeing multiple patients a day, keeping track of various symptoms and test results that change gradually over time and depending on progress generates the need for various modifications of treatment modalities, e.g. exercises, etc, as well as running suggested prioritized diagnosis suggestion lists and plans of management options.
Although it would be nice and tidy to have one file per patient, I also at one point in the future want to be able to compare findings between patients, like for research (how many patients that I treated by method X got better by Y points over timespan Z; or, what's the average first measurement of neck range of motion between age 30 and 50?)), mainly using fields and tags.
Any time I describe what I want, most people just say I should build a database program, but a) I have no experience with them and b) I just really like tiddlywiki because its so flexible.
Lastly, I'm an intermediate level user with no formal computer programming training, slow but steady learner. I've modified plugins (TW classic) but never made one from scratch.
Any suggestions for a scenario like this?
Oh, one last thing... if I ever actually achieve what I'm dreaming of, what are the monetization implications given the current licence? Could I sell this to other chiropractors/ companies? If not, that's fine - I'm going to proceed anyway and may just eventually just release it if it passes muster.
(having decided that I'll be using TW5 with nodejs) Would it be better to make one TW per client and import any design changes from a "master" TW file (that was the plan with the TWc version), or would it be better to have one single TW5 (synced between computers) and access the multiple client "files" by unique tag in the one system?
And if that were the case would it be better to develop it in tiddyweb (accessible only through intranet)?
Here's the use case: I'm a chiropractor seeing multiple patients a day, keeping track of various symptoms and test results that change gradually over time and depending on progress generates the need for various modifications of treatment modalities, e.g. exercises, etc, as well as running suggested prioritized diagnosis suggestion lists and plans of management options.
Although it would be nice and tidy to have one file per patient, I also at one point in the future want to be able to compare findings between patients, like for research (how many patients that I treated by method X got better by Y points over timespan Z; or, what's the average first measurement of neck range of motion between age 30 and 50?)), mainly using fields and tags.
Any time I describe what I want, most people just say I should build a database program, but a) I have no experience with them and b) I just really like tiddlywiki because its so flexible.
Lastly, I'm an intermediate level user with no formal computer programming training, slow but steady learner. I've modified plugins (TW classic) but never made one from scratch.
Any suggestions for a scenario like this?
Oh, one last thing... if I ever actually achieve what I'm dreaming of, what are the monetization implications given the current licence? Could I sell this to other chiropractors/ companies? If not, that's fine - I'm going to proceed anyway and may just eventually just release it if it passes muster.
With the above mentioned tiddlywiki.info file, it would be possible to create a "big" edition, that "includes" all patients. You only need to take care, that there are no "naming problems". Eg if there are 2 tiddlers named "Mario", that last one, that is included will win.
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bacb94f5-83ca-4f7b-8470-bb4f96f1a31e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What I'm gathering is that Node.js is the way to go and mainly I have to decide whether to have it in different wikis or one big wiki. Isn't the main point (or one of them) of TW using Node.js that size is irrelevant? Or would a single TW with thousands of patients each with thousands of tiddlers become unwieldy even with node.js?
Also, lets say that was the case and I chose to go with individual wikis: would it be easier to just grep information (I know bash better than javascript, ha ha) for multi-patient reports, or is it conceivable to have a separate "Admin" wiki that, although slower, would be able to include the whole mass of them (that would be preferrable). I'm pretty sure that is what some of you have said or at least implied.
Also, isn't there a way to variably load subsets (patients) of tiddlers into the single TW, and just "purge and reload" the next one when needed, so it would behave like single multiple wikis, but it would still be just the one. Is that what you were getting at Mario when you mentioned tiddlywiki.info files? That way if you wanted to look at all patients with a certain diagnosis or demographic profile you could load just them...
In the CommunitySearch wiki this is done simply by renaming any tiddler
X from wiki Y as $:/Y/X.
But of course this option requires calling an external script, so some
might say it's like cheating ;)
Which OS?I'm using Linux
It'll mainly be text in tiny chunks like [ tiddler:RightCervicalRotation, fieldname:2015-09-28.11:40:19 AM, field content: 47 ] amalgamated into lists and summary tiddlers,
but probably hundreds of them per visit, and over a patient's lifetime they can have up to hundreds of visits.
It will be mainly me updating the data, but if I ever get it good enough to distribute to other docs, there are often multiple people accessing it in bigger clinics, although not usually at the same time.
Id imagine you could keep it all behind a firewall of some sort, backups like any other file structure I suppose.
What I'm gathering is that Node.js is the way to go and mainly I have to decide whether to have it in different wikis or one big wiki. Isn't the main point (or one of them) of TW using Node.js that size is irrelevant?
Or would a single TW with thousands of patients each with thousands of tiddlers become unwieldy even with node.js?
Also, lets say that was the case and I chose to go with individual wikis: would it be easier to just grep information (I know bash better than javascript, ha ha) for multi-patient reports, or is it conceivable to have a separate "Admin" wiki that, although slower, would be able to include the whole mass of them (that would be preferrable). I'm pretty sure that is what some of you have said or at least implied.
Also, isn't there a way to variably load subsets (patients) of tiddlers into the single TW,
and just "purge and reload" the next one when needed, so it would behave like single multiple wikis, but it would still be just the one. Is that what you were getting at Mario when you mentioned tiddlywiki.info files?
That way if you wanted to look at all patients with a certain diagnosis or demographic profile you could load just them...
The very basic system, that I did describe in my first post, will work well for a single user. ... But it doesn't scale very well. If you need multi concurrent users, you'll definitely need a much more sophisticated concept and a server side backend. The TiddlyWeb concept should work quite well here.
So imo you can start with a simple file based version, because it has much less "moving parts". But for you "end goal" you'll definitely need a real database with several indexes for fast access.
Also authentication and more importantly authorisation handling is completely missing.
That way if you wanted to look at all patients with a certain diagnosis or demographic profile you could load just them...
But only if you did your indexing. The nodejs server doesn't have such functionality at the moment.
I'd imagine you could keep it all behind a firewall of some sort, backups like any other file structure I suppose.
What I'm gathering is that Node.js is the way to go and mainly I have to decide whether to have it in different wikis or one big wiki. Isn't the main point (or one of them) of TW using Node.js that size is irrelevant?
@ Mario,The very basic system, that I did describe in my first post, will work well for a single user. ... But it doesn't scale very well. If you need multi concurrent users, you'll definitely need a much more sophisticated concept and a server side backend. The TiddlyWeb concept should work quite well here.I think he's a chiropractor, not running a chiropractical school.
So far, I did not hear Dave speak one word of multi-user.
... Could I sell this to other chiropractors/ companies?
It'll mainly be text in tiny chunks like [ tiddler:RightCervicalRotation, fieldname:2015-09-28.11:40:19 AM, field content: 47 ] amalgamated into lists and summary tiddlers, but probably hundreds of them per visit, and over a patient's lifetime they can have up to hundreds of visits. It will be mainly me updating the data, but if I ever get it good enough to distribute to other docs, there are often multiple people accessing it in bigger clinics, although not usually at the same time. Id imagine you could keep it all behind a firewall of some sort, backups like any other file structure I suppose.
So imo you can start with a simple file based version, because it has much less "moving parts". But for you "end goal" you'll definitely need a real database with several indexes for fast access.What's wrong with a filesystem and using grep?
Also authentication and more importantly authorisation handling is completely missing.When someone speaks of grep,that wouldn't be the first thing to come to my mind.
That way if you wanted to look at all patients with a certain diagnosis or demographic profile you could load just them...But only if you did your indexing. The nodejs server doesn't have such functionality at the moment.That would indeed be something very powerfulwhen building / serving a TiddlyWiki from node,I hope it will be something OS agnostic in the end.
Maybe we're back @ python and on a way TiddlyWeb5? :D...possibly node can be bent to achieve the same.
I was talking about the existing nodejs server implementation, which is missing authorisation.
I did have a closer look to hapijs but nothing to share yet.