ObjectProxy dispatched change events when properties change.  Object does not.

If you write your VO’s to have only get functions, they are effectively 
immutable.


On 7/23/10 8:56 AM, "Richard Rodseth" <rrods...@gmail.com> wrote:






Interesting. I haven't used that one either.

The docs emphasize the addEventListener capability, which I guess distinguishes 
this from plain old Object, which can also hold arbitrary properties.

http://livedocs.adobe.com/flex/3/langref/mx/utils/ObjectProxy.html

As an aside, I would love to have language support for designating VOs as 
immutable.

On Thu, Jul 22, 2010 at 6:11 PM, Alex Harui <aha...@adobe.com> wrote:





ObjectProxy is a generic VO.  It is dynamic and can hold any properties and 
values.  And it is slow.  Best to create custom Vos that are strongly typed.



On 7/22/10 2:52 PM, "mark.embrey" <mark.c.emb...@gmail.com 
<http://mark.c.emb...@gmail.com> > wrote:






I'm trying to wrap my feeble brain around these concepts.

Are they the same? -similar? -completely different?

Your feedback will be appreciated by this greenhorn.

Mark






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to