dScript, derived from devantech Scripting language, is a multi-threaded language for our internet connected modules. dScript compiles to efficient byte codes which are interpreted by the modules on-board runtime firmware. dScript is an Editor, Compiler and Programmer for all dScript enabled modules. Although dScript is not BASIC, the syntax of dScript will be familiar to anyone who has used Visual Basic or the small Basic chips and modules that are available.
Multi-threading is the ability to run many parts of your program at the same time. It is like having a separate CPU for each part, each running its own little program. Each part or section of your program is called a thread. dScript is a native multi-threading compiler. Any number of threads may be created, up to the limit of available RAM memory.
Using the dScript web server, you can write and upload your own web pages to the module. Your website can display your own variables in any manner you choose, using AJAX techniques to keep the variables live and updated. You can use buttons on the web page to control things on the module. And, of course, your own branding applied to the page. You can use CSS to format your website and include any images, logo's required.
Safe & Secure
Using a technique similar to the way banks verify you are the owner of a credit card, only your device/browser combination can access the web pages. The server sends three independent random numbers which select three random characters from a pre-stored password. These are hashed and the hash stored as a cookie. It is this cookie that enables the web page to be displayed. The cookie is deleted when the browser is closed and also invalidated by the server after a few seconds of inactivity or when you log out.
The result is that you, and only you, can access the web page.