如何将php Web应用程序转换为桌面应用程序并保留数据库 [英] How do I convert a php web application into a desktop application and retain database

查看:138
本文介绍了如何将php Web应用程序转换为桌面应用程序并保留数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个用PHP开发的Web应用程序。但是大多数客户一直都没有互联网连接。因此,是否可以将应用程序转换为桌面应用程序,使其独立运行并在有Internet连接时同步到Web应用程序?目前,我正在通过xampp在本地对其进行测试,并且可以正常工作,但是我不想在客户端PC上安装xampp或wamp。我是编码FYI的业余爱好者。对于示例,我将不胜感激。

We have a web-application developed in PHP. But most of clients don't have internet connection all the time. So, is there way to convert the app into a desktop application so that it works stand alone and it syncs to web application whenever there is an internet connection? Currently I am testing it locally via xampp and it works but I dont want to have to install xampp or wamp on a clients pc. I am an amateur at coding FYI. I would appreciate any precise answer with example.

推荐答案

为避免在每台客户端PC上安装服务器,您可以使用虚拟机,因此您将拥有相同的环境,只需复制到所需的每台PC。

To avoid installing server on every client pc you can use Virtual Machine, so you would have same environment and just copy to every pc you need.

要使源代码保持最新(连接时),请使用GIT或其他版本控制系统(SVN可能更易于使用)。

To keep the source code up to date (when connected) use GIT or other version control system (SVN may be easier to get into).

这篇关于如何将php Web应用程序转换为桌面应用程序并保留数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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