What is HaaS Lab?
HaaS Lab is an online laboratory for HaaS development boards jointly developed by the Alibaba Cloud Intelligence HaaS team and Zhejiang University LinkLab .
On HaaS Lab, users do not need to purchase a HaaS development board, they only need to log in to the HaaS Lab website and write HaaS applications on HaaS Lab, and then they can run the program directly on the remote development board via the network.
Initial experience of HaaS Lab development
HaaS Lab Led lighting experiment
Why do you need HaaS Lab?
Before HaaS Lab, HaaS developers who wanted to develop HaaS applications needed to purchase HaaS development boards, and they needed to be familiar with the compilation and burning process of HaaS development boards. This is a big threshold for some junior developers. .
In order to continuously lower the barriers to entry for HaaS developers, the HaaS development team has created HaaS Lab. Developers do not need to purchase a development board, and they do not need to understand the specific details of the development board compilation and burning.
You only need an Alibaba Cloud account, and you can experience HaaS application development after logging in to the account.
HaaS Lab overall architecture
HaaS Lab as a whole has 5 major components:
- WebIDE front end,
- WebIDE server,
- SaaS server,
- Development board server
- Development board device side
The WebIDE front end is the WebIDE interface that users see when logging in to HaaS Lab; the WebIDE server and SaaS server are deployed on a remote server, and the WebIDE server is responsible for the WebIDE background service;
The SaaS server is responsible for account management and some file template services. The development board server is responsible for the distribution of remote development boards and code compilation and burning. The development board device side is the actual physical device side of the development board, which receives the development board services. End instructions to complete specific operations.
HaaS Lab function introduction
HaaS Lab supports developers to develop HaaS Python applications online (the introduction of C/C++ & JavaScript will be considered in the future). The current main functions include:
Cloud Development Board
HaaS Lab currently deploys the HaaS100 development board in the cloud to support remote compilation and execution by users. After the developer has written the application, he only needs to click "Romote Run" under HaaSLab in the menu bar to submit the current program to the remote development board, and Run directly. During the running process, the developer can see the log output result of the remote development board during the running process in the LDC Shell below.
HaaS application template
In order to reduce the learning cost of developers, a number of application development templates are provided. These templates have provided specific code implementations. Developers can directly run them as required (some templates need to provide Alibaba Cloud service information). Currently, there are not many types of templates. , And more abundant application templates will be added in the future.
Application interactive panel
In order to improve the development experience, an interactive panel is designed for some application template examples. Developers can see the feedback results of application running through the interactive panel. If not needed, they can also close the interactive panel through the interactive panel switch on the upper right side.
WebIDE that supports Python language
In the process of Python application development, WebIDE supports Python function prompts, syntax error correction and other functions;
Developer technical support
If you need more technical support, you can join the DingTalk developer group, or follow the WeChat public account
For more technology and solution introduction, please visit the Aliyun AIoT homepage https://iot.aliyun.com/