简体   繁体   English

如何在使用php,javascript,html的嵌入式产品中使用推技术?

[英]How to use push technology with embedded product using php, javascript, html?

I am looking to implement push technology with embedded product. 我希望通过嵌入式产品实现推送技术。 can anyone please help me? 谁能帮帮我吗? Actually I am working on a GUI using php, smart, prototype.js, html, css from where a user of wi-fi product can change the settings on board. 实际上,我正在使用php,smart,prototype.js,html,css在GUI上进行工作,而wi-fi产品的用户可以在其中更改板载设置。 and the size of that product is very less only 8MB where we have around 6MB's files already. 而且该产品的大小非常少,只有8MB,而我们已经拥有大约6MB的文件。 Actually every time we are sending the AJAX request to wi-fi board to get the latest information about GPSvalues but sometimes nothing has been changed in board but AJAX requesting to board. 实际上,每次我们向wi-fi董事会发送AJAX请求以获取有关GPS值的最新信息时,有时AJAX要求登机的情况都没有改变。 So my question is that is there any way that board will let browser know whenever new data is there?? 所以我的问题是,只要有新数据存在,董事会有什么办法让浏览器知道? Please reply if you have the answer.... 如果您有答案,请回复。

is that is there any way that board will let browser know whenever new data is there? 板有什么办法可以在有新数据时让浏览器知道?

Yes, via 304 Response Status 是,通过304响应状态

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.5 http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.5

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM