[Arp] value Object for amfphp
grant at dvdomain.com.au
Mon Apr 18 17:25:31 PDT 2005
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.
Folkert (Nederflash) wrote:
> In the journey to rebuild the birthday application, i have a 'maybe
> silly' question.
> For the openAmf and java remoting you use the Value Object, also in
> the birthday app.
> I see no need for this in amfphp remoting, but maybe i'm not right.
> So the question, should i use the value object for amfphp use or
> should i not (and hopefully why ?)
> For now the test setup hangs on getting the personList (gives back the
> rows but all undefined values )
> Arp mailing list
> Arp at ariaware.com
More information about the Arp