Best Practices at a Glance for Building ThingWorx Applications
Consider the following best practices when you build your IoT application:
• Include entities in a Project.Use only one Project for one application.
• Tag entities with Model Tags.
• Make all extension entities non-editable.
• Create localization tokens for all user interface labels.
• Use JavaScript for implementing services.
• Use Thing Shapes to define services and properties.
• Use a unique namespace prefix for entity names, properties, and services.
• Define Organizations and User Groups for entities to set visibility and permissions.
• Split large applications and solutions into smaller extensions.
• Do not use fixed asset Things to execute services in Mashups. Asset Things should be dynamically selected or looked up, and then their services should be executed.
|
To avoid problematic scenarios, use the services of helper or manager Things. These services take the name of an asset Thing as the input parameter that is later used in Mashups.
|