English 中文(简体)
Web应用程序转换为桌面应用程序[关闭]
原标题:Web Applications Converted To Desktop Applications [closed]

我一直在阅读这里的一些帖子,但还没有直接看到问题的答案。我是一名网络开发人员,需要将我的一些网络应用程序集成到某种桌面应用程序中。例如,假设一家企业有某种预订,它需要离线(办公室/商店的桌面)和在线,主数据库离线。我想知道的是做这样的事情的最佳方式和不同的选择。如果我能使用像PHP/MySQL这样的网络技术,然后使用像WinBinder这样的东西来处理所有的工作,那就太好了,但从我的研究中,我觉得这不是一个好方法。PHP/MMySQL是我主要用于后端开发的,但我知道一些其他语言,只是还没有掌握。

你们能提出一些方法来获得我需要的东西吗?什么语言等是最好的?我可以坚持使用web技术,但创建简单的安装包,以便客户端可以轻松安装应用程序吗?

提前感谢您的帮助。

最佳回答

我不鼓励使用PHP作为桌面应用程序。

你应该分开2个应用程序。

  • Web app using PHP
  • Desktop app using Java (or whatever you want)

在你的桌面应用程序中,你应该提供一个“日志记录”系统,可以保存用户离线进行的所有操作,并在用户联机时(或用户需要时)将其上传到你的PHP应用程序,这样你就可以在数据库中推送这些操作。

问题回答

听起来你需要一个丰富的互联网应用程序。这里有一个很好的解释。

http://searchsoa.techtarget.com/definition/Rich-Internet-Application-RIA

Microsoft Silverlight是最好的产品之一,因为它们可以集成在网页和桌面应用程序中运行。

Java Web Start和Flash也是类似的产品。

编辑:我只想说PHP对于这种类型的解决方案来说是错误的。

Today, with the new browsers, you can store a local db inside the browser like you store a cookie, my suggestion is to take some nice ui web framework like sproutecore or if you like php go for jqm php, and use it as desktop app, check the offline features that the frameworks offer before you start.





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签