Pass flash variables to server - the best way?
I am using URLVariables at the moment to pass flash variables to the server via php script and update a database rows.
var variables:URLVariables = new URLVariables();
At the moment around 9 variables are sent which are then updated in the mysql db.
I have read that calls to the database via php are the main source of traffic or at least one of them. I am talking about 100 - 500 concurrent users.
Obvously I am going to need expert help medium term but I would like to give things a go myself.
I have read about amfPHP but I don't seem to understand it too well.
Also, I can cut down the amount of php calls per user as I have them all over the place for lots of games and mini exercises.
BUT is it possible to get those nine variables into an object and pass the object. Would one object be faster than passing 9 variables and would that object be placed into one cell of the mysql databse.
What would that look like? At the moment I can read my db easily but if there is an object in there, how do you read that?
Is that what serializning is? Passing an object and all the data is converted to binary etc...
As you see I'm a little lost.
Thanks in advance.
