Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • install and operate the node pico engine
  • manage picos with the pico engine developer UI.
  • understand basic KRL ruleset structure
  • register a ruleset with a pico engine
  • install a ruleset in a pico

Contents

Table of Contents
maxLevel2

Concepts

Getting started with KRL can be a big leap because there are so many things that are different about programming in KRL:

  • KRL is a rule-based language. 
  • KRL primarily follows an event-based programming model. 
  • KRL programs execute with a cloud-based model; there is no way to execute them from the command line.
  • KRL programs are loaded from the cloud using HTTP. 
  • KRL programs execute in a system where identity is pervasive; all events are raised on behalf of a specific entity.
  • KRL programs have built-in, entity-specific persistent storage; there is no need for external databases.

The result of these properties is a programming model that more closely resembles programming cloud-based persistent objects than anything else. We call these persistent computational objects "picos"

KRL is executed by your instance of the node pico engine, an open-source, cloud-based rule processing system. All of the properties listed above are present in any KRE system. 

To be executed, a ruleset must be

  • available via HTTP and identified by a URL
  • The URL must be registered with one or more pico engines where it will be known by a ruleset ID or RID
  • The RID must be installed in one or more picos
  • The pico must receive a request via the Sky Cloud API or the Sky Event API

, not all topics can be covered here, so please refer to rulesets and other documentation as needed.

Contents

Table of Contents
maxLevel2

Prerequisites

To complete the Quickstart, you will need

...

Notice that you are allowed to delete from the pico any ruleset that you install.

Next Steps

Having completed this quickstart, you should are prepared to continue with Events and Queries Lesson

...