Hi, this is my first post so excuse the noob question. Still trying to get my head around the framework. Also this might be more related to AS3 in general.. not sure...
I have a hierarchical set of data that I need to represent in the model. The structure looks like this:
-- set of shapes ---- shape ------ shape id ------ shape name ------ shape colour ------ set of coordinates -------- coordinate ---------- x ---------- y
I've created one proxy and three VOs:
ShapeDataVO - contains an array of ShapeVOs ShapeVO - conatins shape details and an array of CoordinateVOs CoordinateVO - conatins x y coordinates
The proxy is responsible for providing an API for all three VOs.
Is it good practice to have more than one VO to a proxy? Perhaps I should create one VO that somehow represents the full data on its own?
Thanks in advance for any help!
|