Update of "Application Example: Silktorrent Package Manager"
Not logged in
Overview

Artifact ID: 2fb24b9601a5fab29885a69a8bdd2a33e324be5f
Page Name:Application Example: Silktorrent Package Manager
Date: 2016-07-01 08:05:38
Original User: martin_vahi
Parent: 91eabd72c7bcb1671f2f02b0f2ce507e4f13934c (diff)
Next b44f76d8feaf835f4707ed9fd7d114cdef4ee2c2
Content

Idea #1

If the silktorrent packet is a tar-file that contains folders 

payload

header

then the content of the folders payload and header can be referenced by using the tree encoding:

<tar-file name>/payload/<the file or folder relative to the folder payload>

<tar-file name>/header/<the file or folder relative to the folder header>

The <tar-file name> 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 <tar-file name>. 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.

http://www.first_site.com/<tar-file name>/payload/the_JavaScript_library.js

http://www.second_site.com/<tar-file name>/payload/the_JavaScript_library.js