kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Docs tweaks
rodzic
ac9dc6ee53
commit
d300bb1f7d
|
@ -8,6 +8,7 @@ Welcome to the developer documentation for TiddlyWiki (https://tiddlywiki.com/).
|
|||
|
||||
* An assignment by Christian Jurke and Christian Heigele, two students working on their Master's degree in Information Technology at the Gießen University of Applied Sciences (Technische Hochschule Mittelhessen). Their work can be seen in the [[Introduction]] and the tiddlers that link from it.
|
||||
* New developer documentation
|
||||
** [[Data Storage in Single File TiddlyWiki]]
|
||||
** [[Continuous Deployment]]
|
||||
** [[GitHub Branches]]
|
||||
** HookMechanism
|
||||
|
@ -29,4 +30,4 @@ Welcome to the developer documentation for TiddlyWiki (https://tiddlywiki.com/).
|
|||
** [[Scripts for building tiddlywiki.com]]
|
||||
** SyncAdaptorModules
|
||||
** WidgetModules
|
||||
** WikiRuleModules
|
||||
** WikiRuleModules
|
||||
|
|
|
@ -3,12 +3,4 @@ modified: 20140710081051087
|
|||
tags: doc
|
||||
title: Data-Storage
|
||||
|
||||
TW has two approaches to save the user data. These approaches depends on way you use TW. either you use node.js as a server for TW its saves the tiddlers as plain text in different files or you use TW as standalone in a browser it persists the data within the HTML-File in two Div-Areas depending on whether the encryption of the TiddlyWiki is activated or not. If the TiddlyWiki is not encrypted the data is stored in the Div-Area called "~StoreArea". Every created Tiddler is stored in a own Div-area with a few custom values. An example of a saved Tiddler is shown below (\prettyref{lst:data-div}).
|
||||
|
||||
```html
|
||||
<div created="20140611153703343" modified="20140611153734589" tags="testTag" testfield="testvalue" title="TestTiddler" type="text/plain">
|
||||
<pre>testText</pre>
|
||||
</div>
|
||||
```
|
||||
The Div-Area has the same attributes like the standard tillder fields, listed in [[TiddlerFields|https://tiddlywiki.com/#TiddlerFields]], all attributes which are not in this list are parsed as a custom field. The only required attribute is the name attribute, all other attributes are optional.\\
|
||||
With a activated encryption the data is stored in a special Div-Area called "encryptedStoreArea". TiddlyWiki uses the Standford [[JavaScript Crypto Libary|http://bitwiseshiftleft.github.io/sjcl/]]. The encrypted Tiddlers are saved in a JSON string within this Div-Area.
|
||||
{{Data Storage}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
created: 20210525165258247
|
||||
modified: 20210614134705320
|
||||
tags: Data-Storage doc
|
||||
title: Data-Storage in Single File TiddlyWiki
|
||||
tags: Data-Storage doc [[Data Storage]]
|
||||
title: Data Storage in Single File TiddlyWiki
|
||||
|
||||
The single file version of ~TiddlyWiki saves the tiddlers within the HTML file.
|
||||
|
||||
|
@ -47,8 +47,7 @@ If the ~TiddlyWiki is configured to encrypt its content, the tiddlers are stored
|
|||
<pre id="encryptedStoreArea" type="text/plain" style="display:none;">
|
||||
```
|
||||
|
||||
~TiddlyWiki uses the Standford [[JavaScript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]].
|
||||
|
||||
~TiddlyWiki uses the [[Stanford JavaScript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]].
|
||||
|
||||
---
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
created: 20140708085814626
|
||||
modified: 20210525165526997
|
||||
tags: doc
|
||||
title: Data-Storage
|
||||
title: Data Storage
|
||||
|
||||
~TiddlyWiki has two approaches to saving the user data (tiddlers) depending on whether you are using the single file version, or are using the node.js server.
|
||||
|
||||
~TiddlyWiki on node.js saves each tiddler in a separate text file. For details on the file formats supported for tiddlers on node.js, see [[Tiddler Files|https://tiddlywiki.com/#TiddlerFiles]].
|
||||
|
||||
The single file version of ~TiddlyWiki saves the tiddlers within the HTML file. See [[Data-Storage in Single File TiddlyWiki]]
|
||||
The single file version of ~TiddlyWiki saves the tiddlers within the HTML file. See [[Data Storage in Single File TiddlyWiki]]
|
||||
|
||||
|
||||
|
Ładowanie…
Reference in New Issue