I am familiar with phonegap framework which convert html & jquery code to native app. But it does not support php. So i am looking for alternative.
-
PHP i unfit for this purpose. But everything you could do on a phone with PHP running locally you can also do with Javascriptdtech– dtech2013-04-27 09:20:29 +00:00Commented Apr 27, 2013 at 9:20
-
@dtech you mean using javascript php librarysandhus– sandhus2013-04-27 09:22:36 +00:00Commented Apr 27, 2013 at 9:22
-
What do you mean with "Javascript PHP library"? There is no such thing. I meant that every thing your code can accomplish in PHP on a phone can also be done with languages that are much better integrated in Android, e.g. Javascript or Java.dtech– dtech2013-04-27 09:26:59 +00:00Commented Apr 27, 2013 at 9:26
3 Answers
with Zend Studio 10 you can make your app using PHP Cloud Connected Mobile app is new entry for PHP Developers to make native apps(android, blackberry, windows phone) with just SINGLE click.
Comments
PHP is a server side language while jQuery and html being client side. What I mean is this that the PHP script is being interpreted on the server using the PHP plugin and compiler and so if it has to run on phone it need to be compiled in the phone with the required plugins.
Seems impossible to now because of that the PHP compiler is not available for android and for making such you should be able to port it to android.
Which I think takes a lot of time and digging the PHP compiler sources.
Comments
In my personal view, do not use a language designed specifically for web server-side purposes on a web client. Everything you can do with PHP locally on a phone you can also do with Javascript, and usually much easier because of its tight integration with the browser.
That said, there is a PHP for Android project which might provide what you want.