actionscript 3 - Route To Take For Creating A Cloud Based Application in AS3 -


ok, i'm writing web application in actionscript 3.0 , i'm pretty stuck... want cloud based (all data accessible where-ever on whatever device), honest don't know start or really... route take.

at moment i'm storing data created on local shared objects, login system, data created within software.

i've looked in remote shared objects, honest, i've been trying find tutorial explaining haven't.

i have few mysql databases don't know start in sending sharedobject data unique accounts via as3, php, , mysql. if knows tutorial on great too.

really, i'm looking lead me right direction, if have resources hugely grateful. thank much!

luckily you, as3, php , mysql work wonderfully together. within as3 application, can:

  • take complex user data contained within object (i'm referring object datatype)
  • write object bytearray
  • base64-encode bytearray, making safe send on http
  • post base64-encoded string server (your php script), along authenticated user-specific login details, , use php script save data mysql database.

then, can done in reverse order retrieve data. here great article on serializing as3 objects, this base64 encoder, , here basic article covering posting data as3 webserver. there lots of other resources around. hint, it's helping use debugger chrome's console (for example) see what's going on behind scenes.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -