I'm trying to make my cordova game send/receive data to an online database. Such as being able to see everyone's high score. Even more deep, I would like to also maybe add a very simple multiplayer online.
I've looked into node.js but it doesn't seem like it's my sort of thing currently. Plus it's a bit expensive to have it up and running. And I'm really more looking for a database rather interactivity for now.
I've been looking into PHP/MySQL but it seems the security might be pretty bad on it if I have researched correctly.
Basically, all I really want to do is for the cordova game to:
1) Send Data to www.mywebsite.com (website belongs to me)
2) www.mywebsite.com stores data
3) www.mywebsite.com sends data to every app owner
4) App receives www.mywebsite.com data
5) App Display data
If this makes sense. And of course, as securely as possible. I'm thinking maybe every user gets assigned a 32 character passcode or something.
I've been able to successfully make a single player app and publish it. And am trying to move slowly into the online process, but I am a bit confused and have no idea where to start.
Thank you for your help