| In the general teaching process of the Internet of Things,students usually use the local integrated development environment for code practice.Using the local integrated development environment requires tedious steps such as installation and configuration,as well as the purchase of the corresponding hardware,which takes up the teaching time of the teacher and bring financial pressure to students.If students do not handle the hardware properly,it may cause damage to the environment.Therefore,it is necessary to reform this traditional practice method.With the development of technology,the web-based integrated development environment(WebIDE)becomes an ideal solution.At present,some companies have implemented WebIDE,but they have not provided a solution for the particularity of the teaching and studying of the Internet of Things that requires hardware support,so they cannot support the teaching and studying of the Internet of Things.The realization of a WebIDE oriented to the teaching of the Internet of Things needs to solve the following key problems: First,it can provide basic development capabilities such as writing,compiling,burning,and debugging of the Internet of Things device code on the Web interface.The second is to solve the user’s dependence on the Internet of Things equipment and reduce the user’s learning cost.The third is to be able to evaluate the user’s Internet of Things program and support the Internet of Things teaching work.Aiming at these key problems,this article based on Theia,React,Type Script,through the research of remote compilation,remote hardware,remote debugging,hardware simulation,online judgment and other technologies,designs and implements a WebIDE for the teaching and studying of the Internet of Things.It allows students to use the browser to perform code writing,code compilation,code burning,code judgment,hardware simulation,online debugging and other operations.Compared with other WebIDEs,the WebIDE implemented in this article can support experiments on multiple types of Io T devices,support the sharing of compilation and device resources among users,reduce the cost of users purchasing devices,and reduce human damage to the environment to a certain extent.The system is in service,which brings a good experience to users. |