Artifact Content
Not logged in

Artifact b44f76d8feaf835f4707ed9fd7d114cdef4ee2c2:

Wiki page [Application Example: Silktorrent Package Manager] by martin_vahi on 2016-07-01 08:08:56.
D 2016-07-01T08:08:56.129
L Application\sExample:\sSilktorrent\sPackage\sManager
P 2fb24b9601a5fab29885a69a8bdd2a33e324be5f
U martin_vahi
W 1425
<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>

<p>Due to the possibility to use regular expressions, that solution does not
require code generation. It might be even usable with many existing IDE-s
without requiring any additional tools.</p>

Z 5f0c417e913708b2a5e3462282cc8ccf