System Runtime

System Runtime

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

›Ghiduri

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

Go deeper

Use System Runtime core APIs

If you need more control to System Runtime core components, you can call directly System Runtime core APIs in your code (via Dependency Injection on System Runtime behaviors).

To do do, set the last parameter of on component method to true.

You will have access to:

  • System Runtime component module with $component:
component.on('eventName',  () => {
  const runtime = $component.get('runtime');
}, true);
  • System Runtime database module with $db:
component.on('eventName', () => {
  const result = $db.Person.find({'name': 'laure'}); 
}, true);
  • System Runtime metamodel module with $metamodel:
component.on('eventName', () => {
  const result = $metamodel.getParents('Teacher');
}, true);
  • System Runtime workflow module with $workflow:
component.on('eventName', () => {
  $workflow.process({
    component: 'luke',
    state: 'fullName',
    data: []
  });
}, true);
  • System Runtime behavior module with $behavior:
component.on('eventName', () => {
  const actions = $behavior.getActions('eventName','componentId');
}, true);
  • System Runtime state module with $state:
component.on('eventName', () => {
  const state = $state.get('componentId');
}, true);
  • System Runtime history module with $history:
component.on('eventName', () => {
  $history.start();
}, true);

With great power comes great responsibility

By using System Runtime core apis, you will be able to control the way System Runtime manages your system. You will be able to bypass some contraints and the compliance to your model can be incomplete.

← Extend System RuntimeUn elementar ''hello world'' →
  • Use System Runtime core APIs
System Runtime is distributed under Apache License 2.0 - Copyright © 2024 Erwan Carriou