[Arp] ARP via ASP

Davies, Grant M. grant.davies at nscorp.com
Wed Mar 15 10:08:47 PST 2006


Rock on Zoli!

Grant. 

-----Original Message-----
From: Arp-bounces at ariaware.com [mailto:Arp-bounces at ariaware.com] On Behalf
Of Zoltan Csibi
Sent: Wednesday, March 15, 2006 1:01 PM
To: 'General List for Ariaware RIA Platform users and developers'
Subject: Re: [Arp] ARP via ASP

Hi

To reiterate and add to Grant' emails:

- VOs are used for multiple reasons like modeling your business domain, to
model object hierarchies, to work with strongly typed custom objects

- we are using get/set because we are used to do it AND because we should
not manipulate an object's internal state directly (quote Flash help:
"However, in ActionScript 2.0, variables that are part of a class structure
should not be accessed directly. Write methods within the class that will
access these variables directly.")

- Flash Player does not currently honor getter/setter properties in object
serialization or deserialization

- remoting gateway implementations generally (as far as I know) honor
getter/setter properties on the server-side (Fluorine uses only
getter/setter properties and it doesn't reflect server side object fields)

The last 2 sentences above mean that AS class fields are mapped to server
side class properties (getter/setter) and vice versa.

- in order to class mapping work you must use Object.registerClass (this
should be on the first frame or before you begin to use the VOs)


Bye
Zoli





-----Original Message-----
From: Arp-bounces at ariaware.com [mailto:Arp-bounces at ariaware.com] On Behalf
Of Davies, Grant M.
Sent: Wednesday, March 15, 2006 4:16 PM
To: General List for Ariaware RIA Platform users and developers
Subject: Re: [Arp] ARP via ASP

The sets/gets are not sent over the wire, they are just used within flash to
setup the VO, the call is not a wire call the VO itsself is sent over the
wire.

I use set/gets as I'm a java developer so tend to have that habit, in newer
applications I use the "get/set" syntax that flash supports and the
"get/set" that .net supports.  And rember flash remoting does not use any
get/set functions on your value objects it populates the variables directly.

Cheers,

Grant 



_______________________________________________
Arp mailing list
Arp at ariaware.com
http://ariaware.com/mailman/listinfo/arp_ariaware.com



More information about the Arp mailing list