Best Practices at a Glance for Building ThingWorx Solutions
Consider the following best practices when you build your IoT solution:
• Include entities in a project. Use only one project for one solution.
• 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 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 further used in mashups.
|