This is an old revision of the document!
ARCS.js is a component oriented programming framework dedicated to augmented reality applications. It is written using the javascript language. The targeted platforms are:
The framework introduces a component and an application model in order to run applications:
Components are javascript prototypes with a few additional traits. The idea is borrowed from signal/slot's Qt paradigm. In a nutshell, slots are inputs and signals outputs. A slot has an implementation whereas signals do not dispose of it. Components communicate through signal/slot communications which are synchronous and can transport data. Components can be initialized by two different means:
In ARCS.js, an application is considered to have a lifecycle going through several different states (initialisation, normal mode, recovery mode, etc). Each state is characterized by a set of omponents and a set of signal/slot connections. Such configuration is called a sheet. The application is then controlled by a finite statemachine, each state of it corresponding to one sheet. When a transition is triggered in the statemachine, it activates a change of sheet.
The sheet is composite structure. It contains components as well as other data: