I have some small problem in understanding Value Objects in Flex... I'm trying to get some data from PHP/MySQL and send it to Flex but I'm stuck in some (obviously) basic problems...Let's say That my object in Flex would look like this: \[code\]package some.package.VO { [RemoteClass(alias="VOPerson")] [Bindable] public class VOPerson { public var personID:int; public var firstName:String; public var lastName:String; public var personDetails:Array; }}\[/code\]In my case, \[code\]personDetails\[/code\] is an Array, and in theory, it could be some other object... But is it really necessary to make it an \[code\]object\[/code\]? I do not intend to use that data nowhere else except within my \[code\]VOPerson\[/code\] class. It is some associative array, and I can easily transform it to another object, but there will be lots of similar situations in my app, so I would like to avoid making unnecessary (value) objects if there is no need for it... Anyway, any tip/hint/link about my problem would be really appreciated!
Thank you very much!
Thank you very much!