1
1
1k8-ru2015-05-05 11:13:14
iOS
1k8-ru, 2015-05-05 11:13:14

By what means to connect the ios application with the mysql database located on the site?

Greetings, I'm trying to organize a bunch of ios + mysql, but there is very little information about this, can someone tell me what means are best to organize this.
I used to bind actionscript 3.0 + php + mysql, found a couple of simple examples in this case and started from them, the php script gave out xml data, then I ate them without any problems, there was some kind of trouble, I couldn’t even get 1 variable, I tried use JSON, so it didn’t work out, which is the simplest method, better and more reliable (in terms of stability and understandability)? Tell me which way to dig? and more, how to organize tcp connection with the server? I made a server in java, I made a connection to it from flash without any problems, everything is clear and understandable, what should I use in IOS to organize a client-server application?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Gamega, 2015-05-05
@gadfi

rest is all you need, you know java write api in java, it's more convenient in php write in php ─ the client does not care what the server is written on.
example of creating rest api in php using slim

A
Alexey, 2015-05-05
@Leshgan

What is wrong with json? The server part returns the result in json, the ios application receives the data and works with it. I think it's better for security.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question