When I first started working with AMFPHP 1.9 I was using 
NetConnection to connect to AMFPHP.  It worked well for very simple 
object structures.  As structures became more complex it started 
costing me more time.

Once I started to learn the Cairngorm framework it gave me a reason 
to start learning about and using RemoteObjects.  While the setup 
takes a little more time, it saves time in the long run.  Since 
objects can come back from PHP as the proper type and not just "dumb" 
objects.

So take a look at your project.  If the server communication 
requirements are simple enough, using NetConnection might be the best 
answer.  However, using RemoteObjects is probably best practice and 
should probably be used in most cases.


--- In [email protected], "Mario Falomir" <[EMAIL PROTECTED]> 
wrote:
>
> Hi, which approach it is better for AMFPHP Flash Remoting, to use
> flash.net.NetConnection or the Flex Framework RemoteObject 
component? Are
> there any advantages/disadvatages from one over the other?
> 
> Regards,
> Mario
>


Reply via email to