Very interesting!  Thanks :)  

On Wed, 2006-08-30 at 01:12 +0200, eka wrote:
> Hello :)
> 
> class mapping it's very cool ... but i prefere use EDEN
> serialisation/deseiialization :)
> 
> More information : http://live.burrrn.com/wiki/eden
> 
> you can use this tool in Javascript, AS1, AS2, AS3, ASP, .NET etc... and if
> you can't use remoting you can continue to keep your datas in .txt or other
> db files.
> 
> You can find Eden sources in the buRRRn repository located here
> svn://live.buRRRn.com (port 3690) with your SVN client :)
> 
> I use AMFPhp and EDEN in my works with Flex, Flash and FMS.
> 
> 
> EKA+ :)
> 
> 
> 2006/8/30, Julius Turnmire <[EMAIL PROTECTED]>:
> >
> > On Tue, 2006-08-29 at 18:17 +0200, Martin Wood wrote:
> > > Unfortunately the player wont do data type conversion when deserializing
> > the
> > > contents of an object returned via remoting.
> > Bummer :(
> >
> > >
> > > You have to make sure your types are right on the server so that when
> > the
> > > remoting gateway constructs the amf data to send to flash it has the
> > correct
> > > types already inside.
> > >
> > Yes, when they are correct on the server first, they do come in
> > properly.
> >
> > > Obviously this is more of a pain from something like PHP than say Java
> > as PHP
> > > has a much looser type system.
> > >
> > <nods in agreement>
> >
> > > For me the beauty of remoting is that you *do* get the datatypes that
> > you create
> > > on the server sent to you in flash.
> > >
> > Yes, I have had much success with remoting.  But I have some old code
> > that I'm working with that leaves a lot of things in strings.  I was
> > hoping that VO's and class mapping might help here, but apparently not.
> >
> >
> > > I think the other issue you are running into is that when the player
> > creates the
> > > actionscript objects from the remoting data it populates the object
> > *before* it
> > > runs the constructor.
> > That is very good to know, I'll have to look into it more.  I also had a
> > brief look at eka's article and I'll need to do some more looking into
> > this.
> >
> > >
> > > This means that it doesnt care about any getters / setters and you have
> > to be
> > > extra careful if you do anything in the constructor or are expecting
> > parameters
> > > to your constructor.
> > Yes again, I'll need to experiment to see exactly what's happening. If
> > it is populating the object before the constructor is run, then perhaps
> > I can use the constructor to do the type conversion if I do decide to do
> > the conversion in Flash and not on the server.
> >
> > Thank you very much for your insight!
> >
> >
> >
> > >
> > >
> > > Julius Turnmire wrote:
> > > > Ok, I've got it working as advertised.  I'm using VO's and my returned
> > > > values are being mapped to my VO classes.  But the problem is how
> > > > they're mapped.
> > > _______________________________________________
> > > [email protected]
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to