System Runtime

System Runtime

  • Languages iconRomână
    • ENGLISH
    • Ajutati-ne cu Traducerea
  • SUPPORT
  • GITHUB

›APIS

Introducere

  • What is System Runtime ?
  • System Runtime architecture
  • What is Design First ?
  • Prezentare generală

Ghiduri

  • Quick Start
  • How to install System Runtime
  • Design your model
  • Creează componente
  • Manage your components
  • Bundle your system
  • Extend System Runtime
  • Go deeper

Exemple

  • Un elementar ''hello world''
  • Create-a-bundle
  • Install a bundle client-side
  • Instalează un pachet in HTML
  • Instalează un pachet server-side
  • Package a bundle
  • Create a component
  • Crează tipuri noi
  • Crează o relație unu la unu
  • Crează multe relații unu la unu
  • Navighează prin modele
  • Inheritance between components
  • Listen to a change of state of a component
  • Use System Runtime NoSQL Database
  • Object-Document Mapper in action
  • Use System Runtime core apis
  • Use System Runtime history apis
  • Quick Start example

APIS

  • Component Clasă
  • runtime Component
  • metamodel Component
  • logger Component
  • Component db
  • history Component
  • Colecție Document

Despre

  • Cine este în spatele lui System Runtime?
  • License
Translate

runtime Component

bundle( ) : string

  • Description: Bundle the running system into a stringified JSON object and returns it.
  • Schema: _Runtime
  • Inherit: _Component
const bundle = runtime.bundle();

install( path , async ) : string

  • Description: Install a system given a relative path and returns the id of the installed system. async parameter is optional.
  • Schema: _Runtime
  • Inherit: _Component
const systemId = runtime.install('app.json');
  • on server, systems are installed synchronously (i.e. async parameter can not be set) and
  • on client, async parameter is set to true by default.

message( msg )

  • Description: Send a message to the system.
  • Schema: _Runtime
  • Inherit: _Component
runtime.message({
  'event': 'an_event',
  'from': 'system_id',
  'data': ['val1', true, {'key':'val'}]
});

start( id )

  • Description: Start a system given an id.
  • Schema: _Runtime
  • Inherit: _Component
runtime.start(systemId);

stop( id )

  • Description: Stop a system given an id.
  • Schema: _Runtime
  • Inherit: _Component
runtime.stop(systemId);

status( ): object

  • Description: Show the status of all the installed systems. It returns an object of all the systems and their status.
  • Schema: _Runtime
  • Inherit: _Component
const status = runtime.status();

system( ): System

  • Description: Get the current system.
  • Schema: _Runtime
  • Inherit: _Component
const system = runtime.system();

system( name ) : System

  • Description: Create a system.
  • Schema: _Runtime
  • Inherit: _Component
const newSystem = runtime.system('mySystem');

uninstall( id )

  • Description: Uninstall a system given an id.
  • Schema: _Runtime
  • Inherit: _Component
runtime.uninstall(systemId);
← Component Clasămetamodel Component →
  • bundle( ) : string
  • install( path , async ) : string
  • message( msg )
  • start( id )
  • stop( id )
  • status( ): object
  • system( ): System
  • system( name ) : System
  • uninstall( id )
System Runtime is distributed under Apache License 2.0 - Copyright © 2024 Erwan Carriou