--- In [email protected], "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "valdhor" <stevedepp@> wrote:
> >
> > Does Charles (Or another HTTP Proxy) show typed objects being 
> returned?
> > 
> > Also, I don't know if there is a rule against extending other classes
> > - I just have never tried it. These are meant to be value objects -
> > ie. just values being passed around. Extending another class creates a
> > completely new type of object that probably doesn't match what's being
> > returned.
> > 
> 
> Hm, IMO an object that can't do any work or dispatch events is not 
> useful.  If necessary, I can loop through and copy the properties of 
> the objects I'm getting back to my typed objects, but that kind of 
> defeats the point, doesn't it?
> 
> It's really frustrating how poorly documented this functionality is.

Yes, it does take a while to figure it out. One day, I am going to
have to write a tutorial ;-}

A value object (Or Data Transfer Object) is just that. Flex and the
server side code serialize the data and send it in a binary format. As
each platform is different it would not make sense to serialize methods.

The best idea I have found is to create a class that has a VO as one
of it's members. Then you have all of the methods in this class.


Reply via email to