Groups | Blog | Home
all groups > macromedia flash flash remoting > september 2004 >

macromedia flash flash remoting : AMFPHP or PHPObject ?


ERNYNAP
9/2/2004 9:17:40 PM
Hi

I would like to start to learn server side program , I read document about on
AMFPHP and PHPObject (ghostwire.com) but I not have the skill to understand
what is the different and what is the best to developper Applications with
Flash 2004 .

can someone help me ?

all the best

Ernesto
Stephen Beattie
9/3/2004 10:01:10 AM
AMFPHP uses flash remoting whereas PHPObject uses PHP's built in serializer
methods for passing complex objects. It's a matter of preference since both
are quite speedy. AMFPHP allows you to send back custom classes from PHP -
I'm not sure PHPObject does this.

You could also look at Sephiroth's Serializer Class for a stripped down,
lightweight way of passing objects. PHPObject might even use this class
since it now appears as a sourceforge project.

www.sephiroth.it

Stephen


[quoted text, click to view]

boyHowdy
9/23/2004 10:20:43 PM
I've had mixed results with PHPObject. The use of it in aScript is a little
rough. It doesn't try really to mimic Flash Remoting. PHPObject is a _very_
basic way to pass (or more accurately, pull) instances of classes into aScript
and use them pretty much as-is.

AMFPHP is the obvious choice if what you want is the features of Flash
Remoting (and its components) but with PHP. It's class library (on which it
runs) is large and complex.

Having now upgraded my server to PHP5 and have a brand spankin' new mySQL
4.1.x server to match. PHP/mySQL has just gotten a _lot_ easier with these 2
_major_ updates. The trick is how to get AMFPHP to work with it. Short of
them (AMFPHP) releasing a major update of their owm, it would appear that
scouring the gargantuan library line-by-line to bring the Classes into php5
spec. UGH.
AddThis Social Bookmark Button