In the thin embedded Web server based on AJAX and CGI, the HTML files are not easy to maintain and update. A thin embedded Wed server by AJAX processing mechanism combined CGI program is proposed. In the system, the client-side validation and processing, as well as the access server without refreshing are implemented with AJAX processing mechanism. The embedded Web server design can save server overhead, meanwhile it is more conducive to maintain and update the Web files. It is not only a low cost Web server method, but also easy to maintain and update the Web files.%针对AJAX与CGI的嵌入式瘦Web服务器软件结构,产生的HTML文件不易于维护和更新的问题,提出了建立一个AJAX处理机制结合CGI程序的嵌入式Web服务器软件结构.应用AJAX处理机制实现了客户端校验和客户端处理,以及无刷新访问服务器端资源.实现后的嵌入式Web服务器降低了嵌入式Web服务器开销的同时,使得页面文件易于维护和更新,是一种既降低成本又易于维护和更新页面文件的网络服务器设计方法.
展开▼