Skip to content

Definitions

Äkwav edited this page Sep 17, 2019 · 2 revisions

User

A User is a real person using some App on some Device. It is represented by the CoflnetUser object and can link to AppData for some type of App.

Device

Is a physical or logical Device that can run Apps. It is possible that The same physical Device exists multiple times eg. on different servers or because of privacy settings.

App

An App is the Application you write, executed by some User on a Device.

AppData

The so called AppData is an object created by the User on the Apps server. It an contain commands for changing its internal state wich validate that the User is allowed to do a particular action. For example Kill a monster in a game receive coins for that and buy a sword for these coins. If the coins origion is unknown or invalid, the stored balance would be not enough to buy the sword and the user would not receive the item. By default it also supports a KeyValue Store in wich you can save global settings for an App

Installation

An Install is the link between a Device and an App. It is created by a Device and has access to AppData.

Diagram

This diagram may help with understanding what coresponds to what in which way.

graph LR;
Device-- runs Instance of--> Installation 
Installation-- is instance of-->App
User-- grants acces to--> AppData 
AppData-- is owned by -->App
Installation-- saves Data in-->AppData
User -- uses --> Device
Loading

Clone this wiki locally