System Runtime

System Runtime

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

›Introducere

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

Prezentare generală

Construiește-ți sistemul

{  
 "firstName": "property",  
 "lastName": "property", 
  "nickname": "property",  
 "father": "link" 
}                        

Creazăti componentele

// get your component class 
const Person = runtime.require('Person');

// create a component 
const anakin = new Person({ 
 'firstName': 'Anakin', 
 'lastName': 'Skywalker' 
});

Încercaţi să actualizaţi un component cu un tip greşit

// Acesta este o actualizare care este neconform cu modelul
anakin.nickname(42);

System Runtime v-a loga mesajul acesta

rulare: tip invalid pentru propietatea 'nickname': (porecla) a așteptat 'string' (şir) in loc de 'number'(număr) pe componentul '11d4012f0c18734'

Navighează prin componentele tale

// adaugă o referința
const luke = new Person({
  'firstName': 'Luke',
  'lastName': 'Skywalker',
  'father': anakin
});
 țăran
// scrie-ți prenumele tatălui Luke
luke.father().firstName();

Manage your components

runtime.require('db').collections().Person.find({
  'firstName': 'Luke'
});

Anulează modificațiile tale pe sistem

runtime.require('history').back();

Bundle your system

runtime.bundle();

Instalează-ți pachetul in HTML

<link rel="system" type="application/json" href="system.json">
← What is Design First ?Quick Start →
  • Construiește-ți sistemul
  • Creazăti componentele
  • Încercaţi să actualizaţi un component cu un tip greşit
  • System Runtime v-a loga mesajul acesta
  • Navighează prin componentele tale
  • Manage your components
  • Anulează modificațiile tale pe sistem
  • Bundle your system
  • Instalează-ți pachetul in HTML
System Runtime is distributed under Apache License 2.0 - Copyright © 2024 Erwan Carriou