Design of temperature Alarm system
Target: Porting to the Arm-linux Development Board
1. Pseudo-Static Html+cgi+javascript
Dynamic clock design + dynamic text + visual dynamic effects (JavaScript operation data)
Advantages: can achieve most of the local dynamic effect, and JavaScript script will process the data in real-time, can not refresh the situation, maintain data operation, in the design function, can provide in addition to the display state function setting function
But the important drawback is that the local file cannot be read (1. The active plug-in does not use 2.cgi to read local files, cannot implement dynamic reads, each read request will be used as a CGI program, resulting in page data loss, can not reflect the temperature changes, (Windows available active plug-in (platform limit));
2. Pure static Html+cgi+javascript
Automatic refresh of +cgi program + configuration file (for text data Operations//(solve data storage and read problems-pseudo dynamic))
Features: Background monitoring effect can read the configuration file in real time
Web Design in the background