Forum C# Recommended workflow for database

Recommended workflow for database

Postby iainlobb » January 28th, 2010, 8:59 pm

I'm just trying to understand how I would allow users to have accounts etc. I take it I would have a database of my users hosted separately, and I'd make calls from my player.io C# server code to my host's .net / php page to read from / update the tables etc?
iainlobb
 
Posts: 1
Joined: January 28th, 2010, 8:52 pm

Re: Recommended workflow for database

Postby Cyclone103 » January 28th, 2010, 9:29 pm

Actually, once the database system is set up, there will be no need to host your own databases (though you certainly can if you wish)


Yes, the concept is pretty much that.
Cyclone103
 
Posts: 155
Joined: January 18th, 2010, 6:47 pm

Re: Recommended workflow for database

Postby Oliver » January 29th, 2010, 9:37 am

There are two slightly overlapping issues here.


Accounts and Authentication
If you want to integrate with your own account system, or facebooks, or myspaces or any other; what you have to do is generate the arguments for the connect method (http://playerio.com/documentation/refer ... io#connect) on your server (including the auth argument if you want it secure) and then pass it into the flash file. You can either do this by making login-web-requests from your flash file (URLLoader i think it's called) OR just use flashvars if the logged in user is known when the page the game is on is loaded.

Databases
We will be providing a persistance/database solution. Details yet to be announced.

External Integration
If you want to do web requests to other servers or sites from the server, we currently don't support that, but it's on the wishlist for future versions.

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Recommended workflow for database

Postby Oliver » May 28th, 2010, 8:41 am

Hi Guys

Just a short note to let you know that we've launched the persistence/database solution i mentioned earlier

It's called BigDB, and you can read more about it here:

http://playerio.com/features/bigdb/
http://playerio.com/documentation/bigdb/

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am


Return to C#