Artifact Content
Not logged in

Artifact 2fb24b9601a5fab29885a69a8bdd2a33e324be5f:

Wiki page [Application Example: Silktorrent Package Manager] by martin_vahi on 2016-07-01 08:05:38.
D 2016-07-01T08:05:38.877
L Application\sExample:\sSilktorrent\sPackage\sManager
P 91eabd72c7bcb1671f2f02b0f2ce507e4f13934c
U martin_vahi
W 1229
<h1 style="text-align: left;">Idea #1</h1>

<p>If the silktorrent packet is a tar-file that contains folders&nbsp;</p>

<p><b>payload</b></p>

<p><b>header</b></p>

<p>then the content of the folders payload and header can be referenced by
using the
<a href="http://bitrary.softf1.com/index.php?title=Art_:_Source_Code#Tree_Encoding">tree
encoding</a>:</p>

<p><b>&lt;tar-file name&gt;/payload/&lt;the file or folder relative to the
folder payload&gt;</b></p>

<p><b>&lt;tar-file name&gt;/header/&lt;the file or folder relative to the
folder header&gt;</b><br>
</p>

<p>The&nbsp;&lt;tar-file name&gt; can be also a name of a local folder or some
folder at some publicly hosted web page. The include/require/src/uses
statements of various programming languages and configurations files, including
HTML, can be modified by changing the pfefix of the &lt;tar-file name&gt;. That
allows an HTML-page to be switched from using JavaScript libraries from one
site to using the very same JavaScript libraries from another site.</p>

<p><b>http://www.first_site.com/</b>&lt;tar-file name&gt;/payload/the_JavaScript_library.js<br>
</p>

<p><b>http://www.second_site.com/</b>&lt;tar-file name&gt;/payload/the_JavaScript_library.js<br>
</p>

Z f91dec8b78b2344b4405df5affe7144f