[Arp] value Object for amfphp
Folkert (Nederflash)
info at swapdepths.nl
Tue Apr 19 02:24:52 PDT 2005
No thats not what i meant ;)
It's sure nice to have a class with data structures etc , but thats
beside the point of the valueObject.
As far as i can find there is no way (currently) to really implement the
same sort of working for amfphp, as it does with java.
So i will silently remove this valueobject from the example ;)
I'm surely interested in the primalscript cast thing however (that goes
above my head for now )
Thanx for you reply.
Folkert
Grant Cox wrote:
> I'm not very experienced in ARP, and I haven't really looked into the
> Birthday application example, however...
> In my Amfphp application I use the value objects as an Actionscript
> definition of the data structure passed over Amfphp. While it would
> be nice to share a class between the two, I still think it is quite
> useful to have a local Actionscript class for reference - so I don't
> have to keep flipping back to the PHP to see what properties are
> available. Plus, with Primalscript I get IntelliSense once the
> database result is cast to the VO.
>
> So, while it isn't quite what the VOs are intended for with OpenAMF
> etc (as I understand it - I haven't actually used anything other than
> Amfphp), I think it's still quite useful to have these intermediate
> classes for all objects sent through Amfphp.
>
> Regards,
> Grant Cox
>
More information about the Arp
mailing list