Part 1 - Initialize
Welcome to the ClearBlade Tutorial
- This tutorial will help you get familiar with the ClearBlade Platform
- By the end of this tutorial you will know how to create a System, User, Collection, Service and Library
- You will also be introduced to ClearBlade messaginge over MQTT, messaginge from a service, creating a trigger, scheduling a timer and view analytics
- Enjoy and ask a lot of questions!
Begin by completing part 1 of the tutorial. When you are done, click the button below to check that initalization was successful
Part 1 - Success
Way to go! You have initialized anonymously
You can allow Anonymous users to
- Read and modify data
- Execute code services
- Register users
- Message over MQTT2
Click Next to start Part 2
Part 2 - Authenticate
Complete part 2 of the Tutorial.
Test your work by entering a user and password, then clicking the login button
Part 2 - Success
Congratulations! You have logged in
The users in system
- are assigned roles with granular permission
- have custom attributes
- are tracked with analytics
- ... of course your system is secure by default
Click Next to start Part 3
Part 3 - Collections
Start working with Data - With ClearBlade you can
- Create new data structures
- Perform rich queries
- Create connections to 3rd party databases like Microsoft SQLServer
- Permission and protect the data confidentiality
Complete Part 3 of the tutorial. When you are done, click the button below to check and make sure everything is working
Part 3 - Success
Congratulations! You've got data
Here's whats currently in your weather collection
Click Next to start Part 4
Part 4 - Create a service
Implement your Web API by creating a new service that is secure and runs your business logic
- Are written in standard Javascript
- Take custom parameters and respond with standard JSON objects
- and of course be permissioned to ensure your system stays secure
Get to work on Part 4 of the tutorial and click the button below to see it all work
Part 4 - Success
Good work - here is the response from your first service
Click Next to start Part 5
Part 5 - Getting busy with logic
Update your service to implement business logic that
- Fetches and writes data from a collection
- Gathers user info
- Authors comparison logic to ensure unique information is saved
Complete the steps in Tutorial Part 5 and then click below to check your work
Part 5 - Completed
Good work - here is the response from your service.
Does it look wrong?? Click the back button to try again
Click Next to move on to Part 6
Part 6 - Libraries
Create logic that you can re-use across your system
- Define a new library
- Author reusable logic
- Add your library to your service as a "requires"
Complete the steps in Tutorial Part 6 and then click below to check your work
Part 6 - Completed
Good work - here is the response from your service that includes your library logic.
If it doesn't look like you exepected click the back button to try again
Click Next to move on to Part 7
Part 7 - Messaging
The ClearBlade Platform uses a secure scalable implementation of MQTT for messaging. MQTT - a protocol on top of TCP that is lightweight making it the open standard for IoT communications. It uses a publish subcribe idiom where a user chooses a topic to publish on or subscribe to. A publish can occur on one topic, but a subscriber can be subscribed to many topics. Additionally, there are various quality of service (QoS) states that can be applied to a published message to assure that that the subscribers receive the message.
Lets go!
- Get connected!
- Subscribe to a topic
- Publish data in realtime
Move onto Tutorial Part 7 and click Next
Part 7 - Messaging
Subscribe to 'weather'
Parts 8, 9, and 10 will all be completed in your ClearBlade system. Stay here and keep an eye on your message box to see the results of those activies