[flashpro] Flash Remoting
Tyler Bullock
tyler at tabullcreative.com
Wed May 25 11:01:09 EDT 2005
Great. Thanks.
On 5/25/05 9:41 AM, "hertogstaat" <edwin at hertogstaat.nl> wrote:
> 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
>>
> ------------------------------------------------------------------
> send message to the list: mailto:flashpro at muinar.org
> [FlashPro] list info, subscribe, archive: http://flash-list.com/
> There's also a WebPro mailing list: http://webdesign-list.com/
> cutting-edge sounds for flash: http://flash-sounds.com/
More information about the FlashPro
mailing list