本文介绍了PHP for iPad或其他解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个棘手的问题。

我正在为iPad安装一个Web应用程序,它将作为自助服务终端安装。该应用程序基本上是一个测验。不需要将数据存储在数据库中,但需要将数据从1页处理到另一页(从问题页面到结果页面)。

I'm developing a web app for iPads that will be installed as kiosks. The app is essentially a quiz. Wont need to store data in a database, but will need to process data from 1 page to another page (from questions page to results page).

原始解决方案是简单的PHP 。我现在已经被告知wi-fi / 3g将无法访问信息亭,因此他们无法访问具有魅力的php的网络服务器。应用程序需要基于浏览器。

Original solution was simple PHP. I have now been informed that wi-fi/3g will be unavailable to the kiosks, so they wont have access to the webserver w/ php that has been working like a charm. App needs to be browser-based.

寻找在iPad上安装PHP的解决方案,例如来自Cydia的PHPPOD,但不确定这是否是iPad的一个选项......我们不会越狱它们。这甚至可以用PHP完成吗?

Looked around for solutions for installing PHP on iPad, like PHPPOD from Cydia, but unsure if that is even an option for iPad...and we wont be jailbreaking them. Can this even be done w/o php?

推荐答案

如果你不会越狱它们,试图找到一个可用的PHP对他们的翻译可能并非不可能,但它可能至少令人烦恼(并且Apple不太可能批准他们的应用程序商店中的随机PHP解释器)。

If you won't be jailbreaking them, trying to get a working PHP interpreter on them might not be impossible, but it'll probably be at the very least annoyingly difficult (and it's unlikely Apple would approve random PHP interpreters in their app store).

我建议尝试将应用程序移植到Javascript。如果只是一个简单的问题 - >结果流,用jQuery编写一个基本的Javascript Web应用程序来帮助,如果需要的话应该不会太痛苦。

I'd suggest trying to port the app to Javascript instead. If it's just a simple questions -> results flow, writing a basic Javascript web app with jQuery to help out if need be shouldn't be too painful.

这篇关于PHP for iPad或其他解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 16:21
查看更多