用PHP制作一个可分发的独立程序 [英] Making a distribultable standalone program in PHP
问题描述
我决定用PHP编写一些应在用户计算机中脱机运行的应用程序.但是,我似乎找不到易于使用的安装向导来创建将在其中运行脚本的本地服务器.有任何想法吗?
I've decided to code some applications in PHP that are supposed to run offline in the user's machine. However, I can't seem to find an user-friendly install wizard to create a local server in where the script will run. Any ideas?
PS:这是我想要的示例: http://www.nolapro.com >
PS: Here's an example of what I want: http://www.nolapro.com
推荐答案
您可以转到旧的学校路线并尝试使用PHP-GTK.
此处为文本教程:
You could go to the old school route and try using PHP-GTK.
Text Tutorial here: http://www.kksou.com/php-gtk2/References/Compiling-standalone-PHP-GTK2-applications-on-windows-using-PriadoBlender.php
或者您可以走我认为有更多希望的路线: Adobe AIR + PHP
它具有在任何平台上运行的额外好处!
此处的视频教程: http://www.vtc.com/products/Adobe-AIR-PHP-Development-Tutorials.htm
or you could go the route that I believe has much more promise: Adobe AIR + PHP
It has the added bonus of running on any platform!
Video tutorials here: http://www.vtc.com/products/Adobe-AIR-PHP-Development-Tutorials.htm
游戏中还有一个新玩家, Appcelerator .它使您可以使用所需的任何语言(PHP,Ruby,Python等)编写代码,并针对所选平台(iPhone,Android,Windows,OSX)进行编译.它的某些部分仍处于测试阶段,但看起来令人难以置信的光滑&很酷,并且有很多教学视频. http://www.appcelerator.com
There's also a new player in the game, Appcelerator. It lets you write your code in whatever language you want (PHP, Ruby, Python, etc) and compile it for the platform of choice (iPhone, Android, Windows, OSX). Parts of it are still beta, but it looks unbelievably slick & cool, and there are lots of tutorial videos. http://www.appcelerator.com
这篇关于用PHP制作一个可分发的独立程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!