如何在客户端工作。最后将数据发送到服务器 [英] How to work client side. Finally send data to server

查看:81
本文介绍了如何在客户端工作。最后将数据发送到服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士,



这里有一段时间服务器到客户端节点的网络问题。当服务器没有连接时,我们想与客户端一起工作。然后在服务器连接所有客户端数据后发送到服务器。



请任何人给出建议或任何参考链接。

Dear sir/madam,

Here some time network problem in server to client node. when server not connect time we want to work with client side. Then after server connecting all client side data send to server.

Please any one give suggestion or any reference link.

推荐答案

这种情况被称为 离线网络应用。您可以创建一个没有任何问题的脱机应用程序,并允许您的客户或用户像处理您的应用程序一样工作。唯一不起作用的是在线内容访问。例如, Google云端硬盘以相同的方式工作



W3.Org还编写了标准文档来创建离线Web应用程序。有许多技术,例如将数据存储在 localStorage 对象中,当互联网访问可用时,您将该数据上传到服务器并存储它,或者如果您有任何其他想法你也可以使用那个。阅读关于W3.Org的此文档 [ ^ ]并阅读他们为您提供的参考资料。



有关 localStorage 的更多信息,请阅读 MDN文档 [ ^ ]。
Such scenario is known as, "Offline web applications". You create an offline application that operates without any problem and allows your clients or users to work as they would work with your application. The only thing that doesn't work is online content access. For example, Google Drive works in the same way.

W3.Org has also written a documentation for the standard to create offline web applications. There are many techniques, such as storing the data in localStorage objects, and when internet access is available you upload that data to server and store it or if you are having any other idea you can use that one also. Read this documentation on W3.Org[^] and also read the references that they have provided you with.

For more on localStorage, please read this MDN documentation[^].


这篇关于如何在客户端工作。最后将数据发送到服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆