Versions Compared

Key

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

Steps to develop IoT applications using TQL:

Design

Develop 

Model-led approach

1. Start by writing models (DataModels and ThingModels) - you can leave the ThingModels without ThingFacets at this time. The idea is the get a list of relevant entities in your domain and start to construct your domain logic. This approach gives you an overall picture before detailed implementation.

2. Add ThingFacets where you get access to actual devices or service APIs. For each ThingFacet you write and combined with a ThingModel, you can deploy and test with a few queries (Create queries, Find queries and Subscription Queries in some cases).

3. Create inter-model relationships. Sometimes you need to build business logic between different models. 

References (including Smart References)

Cherry-picking

Queries

Subscriptions

 

Thing-led approach

 

ThingFacets and ThingModels

...