> bindable, typed data object (which may or may not get sent across the wire).

Cool, that definition would take care of all 3 points I originally mentioned.

So, what do you actually put into the model package? Is it just the 
ModelLocator?

cheers,
-Jorge

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Muzak
Sent: 07 August 2009 03:14
To: [email protected]
Subject: Re: [flexcoders] cairngorm convention: vo or model?

> Say, I have a list of users. I would create a userList ArrayCollection and 
> stick that into the model (bindable and all that).
> Now, this ArrayCollection is actually a bunch of User objects.
> I would therefore put the User class into the model package, and not in the 
> vo package.

> Are you saying you would call this a UserVO and place it in the vo package?

Yup.

> This goes back to my "definition" of VO: objects that are sent across the 
> wire.
> So my reasoning was that if you send something across the wire and it's not 
> "part of the model", then it should be in the vo 
> package.

My definition would be more along the lines of: bindable, typed data object 
(which may or may not get sent across the wire).

regards,
Muzak

----- Original Message ----- 
From: "Jorge Maiquez" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 06, 2009 10:30 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?


>> don't belong in the model package though, that's where the model belongs, 
>> not data classes
>
> Erhm, then maybe I don't know what a model is :-)
>
> Say, I have a list of users. I would create a userList ArrayCollection and 
> stick that into the model (bindable and all that). Now, 
> this ArrayCollection is actually a bunch of User objects. I would therefore 
> put the User class into the model package, and not in 
> the vo package.
>
> Are you saying you would call this a UserVO and place it in the vo package?
>
> Thanks for the response btw!
>



------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links



Reply via email to