When you code, you do not create an application, you create in fact a system:
A system is a set of interacting or interdependent components forming an integrated whole.
A system has structure, it contains parts (or components) that are directly or indirectly related to each other.
A system has behavior, it exhibits processes that fulfill its function or purpose.
System Runtime give you the APIs to create the model, components and behaviors of your system.
Use System Runtime APIs to create your system:
// create an applet app = runtime;// add code in the start methodapp;// run the appappstart;
Now you can bundle your system into a JSON object:
// create a bundleruntime;
It will return this JSON:
Just add a link tag in your HTML to install and start your bundle:
<!-- install your bundle -->
Just call install API to install and start your bundle:
// require System Runtimelet runtime = ;// install your bundleruntime;
System Runtime contains a metamodel to help you to design your model. The definition of the model is made on a JSON format called MSON, no code is needed.
With MSON you can define types, classes, one to one / one to many relationships and multi inheritance between classes.
System Runtime uses the Model-Driven Architecture approach to create classes based on your design. Use them to instantiate your components.
System Runtime acts as an ODM (Object-Document Mapper) to manage your components as NoSQL Documents.
System Runtime has a micro NoSQL Database that stores your components and you can export/import them into another System Runtime NoSQL Database.
Thanks to System Runtime NoSQL Database, you can compose your model with an another one.
System Runtime checks at runtime if the signatures of invoked methods are compliant with your model.
With System Runtime your components really behave the way you designed them.
Clone the repository:
# Clone the repository$ git clone https://github.com/design-first/system-runtime.git# Go to the repository$ cd system-runtime
Once you have cloned the repository:
# install dependencies$ npm install
# run tests$ npm run test# clean$ npm run clean# build System Runtime (on /dist/)# it will generate System Runtime core system (from /src/system/)# and package System Runtime client library# it will also run jshint and server/client tests$ npm run build
Do not use System Runtime if you do not believe in Equality and Diversity.
System Runtime is not for people of hate.
Copyright 2017 Erwan Carriou
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.