Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Coding Style

Macro calls

  1. The ThingFacet layer interacts with external things (sensors, actuators, devices) via events and messages. it captures the partial or complete behavior of the device.
  2. The model layer represents the current persisted states of any entity. There are ThingModels (e.g. a truck, an irrigation motor), AppModels and DataModels. Thing Models represent actual physical active objects. Data Models are used to represent logical concepts (invoice, purchase order, etc.) and passive things like (parking lot, lamp post, etc.). App Models are used to encapsulate domain logic, which may include computations and integrations with other software services. 
  3. The client layer (i.e. apps or external systems) use TQL queries to interact with both things and data via the models, and use TQL subscriptions to receive messages on change of model states. 



  • No labels