Creating Your Own Mobile Application - Based on PHP Web Application

I have developed a PHP application. I want to use phonegap.com or a similar approach to develop my own applications based on the same MySQL database. In other words, connect mobile apps to the web interface.

He must do one or two things differently. First, use your own GPS features to determine where the user is. I assume this can only be done through HTML5?

Secondly, send push notifications every time a web application user receives a notification.

All information is already in the MySQL database, and all but the two functions above function properly.

I currently have an API designed for the entire web application, which makes it API oriented. It will be easy in my head to connect two versions via the API.

For example, a user logs in to a web application. He is then offered the iphone application for download.

Is it possible to get him to log in with the same via iPhone. On the other hand, is it possible for him to search for a database, via iphone and “add a new friend” - to make a connection of two users in the friends table - in this, is a friend also a friend on a web application?

I read a lot about all the options available, and I'm still very confused! Any help would be very helpful.

+5
source share
5 answers

, Android-, - , , -. GPS , HTML5 ( , ).

, /, HTTP- script.

, : , , :

1.Mobile →

2.App HTTP- script →

3.script (, ) →

4.script →

5. .

, .

+3

Im :

Objective-C

, . GPS-, . , - . . : MySQL C-API , . , SQL-.

API, , , , , RESTful API, iPhone. RestKit, JSON , .

-

- - HTML5. , Android, webkit. , , Android , . , , - Google Google , , . , . HTML5 .

Phonegap

PhoneGap - HTML-, Objective-C, , , , . , - , - , , Objective-C . iOS. , , , .

+3

. Phonegap script - , php . AJAX script, php app/api.

Phonegap GPS , , .

( ) . 1. javascript ajax . 2. Push Notifications ( iOS APN Phonegap) - http://devgirl.org/2012/10/19/tutorial-apple-push-notifications-with-phonegap-part-1/

phonegap . , /, . , , -, , - jquery mobile, , . , .

, .

+1

Zend Studio. Zend Studio PHP . . : News

0
source

Simply put, the best way is to use a php web service with a break in the phone.

You can also go through android using PHP and android. This is a very good and easy way. Try the tutorial here

0
source

All Articles