Friend2Friend Coding
Friend2Friend
is an XML-based, language for scripting a decentralised network of secure servers.
The first implementation of F2F is in PHP5.3. The class structure is as follows:
| Class
|
Description
|
| F2F Server |
One instance of this class is required. This manages group level encryption and communication between the personal servers.
May contains one or more F2F soft-systems.
|
| Soft Systems |
Sufficient for a single user, systems manages all that user's data, and installed software, as a set of XML files,
arranged in a tree of soft nodes. |
| Soft Nodes |
Independent environments with exclusive access to XML datastores
and XSLT-based filters and services, hosting a set of threads. |
| Threads |
Independent environments for interpreting F2F XML scripts,
may be ephemeral, or potentially unlimited in duration. |
| Requests |
The equivalent of programming commands, identified by URI, which are either
provided by F2F core, or are custom XSLT scripts. |
The decentralised equivalent of a standard webpage is an XSL script which runs serverside to
create that page. Hence, to the end user it could even appear identical.
However, the backend has a different model - instead of accessing data from a central database
on the webserver, it populates the page with data accessed live from the network of F2F servers.
| Downloads | Title | Author(s) | Date |     |  AE404 - Constructing An Internet Gift Economy (v2) | Robin Upton | 2005-11-25 |
|
This will be slower than a traditional website, but will decentralise access and remove
any one person from a position of power. Moreover, it greatly expands possibilites and
resolves problems of trust by
placing everyone's data under their own control.
|