System Runtime

System Runtime

  • Languages iconENGLISH
    • Română
    • Help Translate
  • SUPPORT
  • GITHUB

›APIS

Introduction

  • What is System Runtime ?
  • System Runtime architecture
  • What is Design First ?
  • Overview

Guides

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

Examples

  • A basic "hello world"
  • Create a bundle
  • Install a bundle client-side
  • Install a bundle in HTML
  • Install a bundle server-side
  • Package a bundle
  • Create a component
  • Create new types
  • Create a one to one relationship
  • Create a one to many relationship
  • Navigate through the model
  • 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 Class
  • runtime Component
  • metamodel Component
  • logger Component
  • db Component
  • history Component
  • Document Collection

About

  • Who is behind System Runtime ?
  • License

metamodel Component

create( )

  • Description: Create a model.
  • Schema: _Metamodel
  • Inherit: _Component
runtime.require('metamodel').create();

model( name, définition ) : string

  • Description: Override a model. It returns the id of the model.
  • Schema: _Metamodel
  • Inherit: _Component
const modelId = runtime.require('metamodel').model('Person', {
  'name': 'string',
  'firstName': 'string'
});

schema( name, definition ): string

  • Description: Define a schema. It returns the id of the schema.
  • Schema: _Metamodel
  • Inherit: _Component
const schemaId = runtime.require('metamodel').schema('Person', {
  'name'; 'property',
  'firstName': 'property'
});

type( name, definition )

  • Description: Define a type. It returns the id of the type.
  • Schema: _Metamodel
  • Inherit: _Component
const typeId = runtime.require('metamodel').type('color', ['blue', 'white', 'red']);
← runtime Componentlogger Component →
  • create( )
  • model( name, définition ) : string
  • schema( name, definition ): string
  • type( name, definition )
System Runtime is distributed under Apache License 2.0 - Copyright © 2024 Erwan Carriou