Steps to develop IoT applications using TQL:
Design
Develop
ThingFacets and ThingModels
Other Models and Model facets
Create queries or subscriptions
Simulate
Deploy and test
Write queries
TQLStudio
You can use your account to login into TQLStudio. TQLStudio provides the complete development lifecyle for IoT application development
Model → Deploy → Instantiate → Use
Using Model editor, you can create appModels, ThingModels and DataModels.
Using ThingSpace→Deploy, you can manage engines and deploy projects containing models.
ThingSpace→Instantiate allows you to create new instances of things or entities.
ThingSpace→Runtime
Eclipse
XMLEditor
Gliffy | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The development lifecycle of TQL applications consist of four main steps:
1. Model (Definition)
Define models and model facets to define the structure and behaviors of the things and the business domain (e.g. sensor model, zone models, greenhouse model)
2. Deploy
Deploy the models (model definitions) to the A-Stack(s)
3. Run & test (Query)
Including three steps
(1) Instantiate: provide instance data to the A-Stack, and the A-Stack will automatically create model instances
(2) Activate: if not already done in (1), provide or modify instance data to the model attributes associated with actions or workflows, thereby activate the actions or workflows
(3) Interact: run any quries or create any subscriptions against model instances
4. Create apps
Use queries or subscriptions for various apps
Gliffy | ||
---|---|---|
|
Note | ||
---|---|---|
| ||
Development in TQL Models is extremely flexible and incremental. 1. You can incrementally and independently deploy and test any model(s) without affecting each other 2. You can extend any model, or extend with new models both before and after deployment. That is, your development time never really ends. |