开发者

Offline version of a web site [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 2 years ago.

Improve this question

I've written a web app in PHP and MySQL that permits users to insert orders from a catalog开发者_如何学Go.

The customer now asked me to create a version of the website that runs on the agent's PC even when they are not connected to the Internet. they must insert orders and then, when connected, send the orders to the DB. The agent's webserver has to be synchronized with the product images and previous orders.

Do you know what can I use to obtain this result? I've seen Server2go, but it runs only on Windows. I would like something more portable.


You'll probably need to look at html5 and client-side databases, which you can sync next time a connection is made.

You'll need to do some magic as you won't be running PHP anymore, it will all be on the client machine, so Javascript will probably be your weapon of choice.


server2go looks like it will not synchronize once a connection to the server has been made.

There may be some turn key solutions for this, however, these type of off-line web applications usually require that they be designed with this in mind.

This question offers some more insight on the topic: Offline web application

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜