This is an old revision of the document!
Table of Contents
Peonect Architecture
Overview
Site
Site is base compute unit of Peonect network. It consists of a web server that serves local connections and authenticates users. Its functions are:
- Authenticate user (a site normally has one user, preferably with unique domain)
- Execute memo apps (see later)
- Hold users memos, provide pserver interface
Memo App
Memo is data structure that has associated data handler, similarily to data and code separation in OOP. Code is written in Lua and is executed in sandbox. API methods to read and call referenced Memos allows writing sophisticated applications.
Exported Folders
Memos are stored into Folders in “Private” area, that is visible to owner only. User might choose to mark some folders as externally accessible, for others to be able to see them. Exported folders have mandatory “Epoch” and “Digital Signature”. They also might be encrypted with public key of intended recipients, thus limiting who can see the content.
