I currently work on an open source e-commerce platform (www.oscmax.com) and I am trying to work out if I can deploy an offline version that can run on an iPad.
I can not seem to find an iPad AMP (Apache MyS开发者_如何学GoQL PHP) application and was wondering if anyone could answer:
a) Does anyone know of an AMP version that will run on an iPad b) Is there another way to achieve this without recoding the entire application in XCode.
The idea is to have a local version of the online store that sales reps can use when selling to wholesale customers that will store the orders locally until they find a WiFi or 3G signal.
If I could get Apache, MySQL and PHP to run locally (like it does using WAMP, MAMP, LAMP, etc.) it would be great.
Any ideas?
You can't run server specific software on an iPad, think of it as a big phone, it just won't do it. The overhead required for mysql / php / apache to run is not something you want on a client side anyway. You need to re-do your app. Simple as that.
The iOS developer terms prohibit the use of interpreted code in native apps which would rule out running PHP through an iOS app. Your best bet would be to look into HTML5 technologies such as offline storage and build a web app.
iOS prohibits apps from spawning processes, and the standard AMP tools spawn lots of processes. So no.
There's an app that appears to serve this need (code and run a php server on an ipad): http://www.becomekodiak.com/kodiak-php.html
精彩评论