Greetings friends,
I'm testing the following. I have a webservice running a database. In this database I have the history file of the player's events.
I want the game I've done in Gideros to connect to that server and download a list of XML or Json with this player history data and make that data available in an array or a variable.
Which method do you think is best for lua/gideros?
Soap? XML? Json? Sql? Get and Post HTTP?
Thank you.
Comments
Soap is really complex to implement, far too rigid imho. XML is quite difficult to parse and generate. SQL is not really an exchange protocol, and anyhow you should never expose direct database access to the internet.
JSON on the other hand is quite fast to process, and gideros as a plugin for that, and UrlLoader will do the http part.
My servers have JSON-RPC support so I use that since I find it easier to deal with than REST, but most webservices I know do JSON REST.
Likes: Apollo14, kinrpg
I teste this.
Likes: Apollo14
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
Likes: Apollo14, talis, SinisterSoft, hgy29, keszegh
Likes: kinrpg