[flashpro] Flash Remoting

hertogstaat edwin at hertogstaat.nl
Wed May 25 10:41:55 EDT 2005


Hi,
You don't need a "Flash Remoting Server". What I use is PHPAMF, it's 
just a bunch of php classes you put on the server.
It's free, the setup not difficult (well there's a few tricky ends), and 
then, there's just one server side script, a php class file.
The REAL advantage is, in php i just connect to the db and do a call, 
for instance like this:

//flash call (first you have to connect to the service)
myService.getGlobals();

//php file
function getGlobals() {
		return mysql_query("SELECT * FROM main");
	}

so no glue-ing together with "&" and counters and all the (*&&*^&^.
Then, in flash, i don't have to glue everything together again, mostly i 
do like

myService.getGlobals.onLoad = function() {
	var newArrayMainItems = result.items;
}

presto! Complete database records, no sweat, fast, ect. Only drawback 
is, all the returned values are strings. There's a new version in the 
make that will be even better and faster.
Works about the same with ColdFusion, except *that* costs a fortune.

-Edwin


Tyler Bullock wrote:
> Is there any REAL advantages to using a Flash Remoting Server versus using
> LoadVars and server side scripts? I thought I would ask the experts.
> 
> Thanks,
> 
> Tyler
> 


More information about the FlashPro mailing list