Skip to content Skip to sidebar Skip to footer

Is It Possible To Create A Php Based Iphone/android App With Phonegap Or Appcelerator?

I want to be able to make an iphone and android app using php. I have looked at phonegap and appcelerator and it seems like only html and javascript can be used. These frameworks w

Solution 1:

Yes and no. There is no reason why you cannot have PHP running on your own server computer that returns HTML or XML that gets consumed by your mobile application, but to the best of my knowledge, there is currently no way to have PHP running on the mobile phone, itself (although even if you could, PHP is typically a server-side technology and not a client-side technology, so that would be unusual).

I should add that most mobile applications are merely thin clients for web services. You are best off first implementing the web service (using whatever language you find most appropriate), and then creating mobile phone application that simply provides a UI for invoking the service and displaying the results.

Solution 2:

Yes, HTML and PHP are seamless when used in a web setting. You can directly modify content in your HMTL with PHP and Javascript to plug into PhoneGap.

Although I have never seen the PhoneGap SDK, I'm sure you could fit PHP in there somewhere.

Post a Comment for "Is It Possible To Create A Php Based Iphone/android App With Phonegap Or Appcelerator?"