API in PHP to use in Xamarin

1

I am creating an API to create the connection to MySQL. Can I use PHP to create this API? Can I use this API on iOS? I've seen in many places ( example ) I can use this API for Android, but I did not see anyone using it for iOS.

    
asked by anonymous 25.09.2018 / 04:52

2 answers

0

A Rest API is just for the application to communicate with the database in any client environment, such as IOS or ANDROID.

In this way your application will communicate via URL with its API that can be developed in any server language, such as PHP or Ruby.

And you can integrate any application independent of your platform, as long as it can do URL requests, the only disadvantage is that your application will depend on the internet to communicate with the API.

    
25.09.2018 / 12:14
1
You probably have not figured out what each thing is yet. PHP will run on the server, it has nothing to do with iOS or Android. Your client will run on those operating systems and communicate with the server via HTTP (probably) and there will be the API. REST API is universal.

    
25.09.2018 / 04:55