Over 10 years of community discussion and knowledge are maintained here as a read-only archive. New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC
|
|
|
Show Posts
|
Pages: [1]
|
1
|
Announcements and General Discussion / Architecture / Hi, an complex Vo question
|
on: May 21, 2009, 10:39:04
|
Hi,
I created two Vo.
Class BookVo { public var name:String public var type:BookTypeVo; }
class BookTypeVo { public var name:String public var name:String }
BookVo has a BookTypeVo as it's property. When I start my app.I created two proxies named BookProxy and BookTypeProxy to manager the two type of vos.
The question is when I create BookVo instance, I need a BookTypeVo instance. Is it better to retrieve BookTypeProxy in BookProxy directly? Or should I create a command to handle the BookVo's creation?
Thanks.
|
|
|
3
|
Announcements and General Discussion / General Discussion / Where to put the enumerated VO?
|
on: May 14, 2009, 07:23:27
|
Hi,
when I study the employeeadmin demo. I see the enum package. The author wrote two classes named RoleEnum and DeptEnum. He declared some static variable to hold the data.
In my application, I also need some enum data like the employeeadmin demo does.But the data will retrieve through a remote service.So I'm confused that where to put these enum data. i'm thinking put them into a Proxy. But I still need some static identifier to retrieve them.I don't know where to put these identifier.It's strange to put them in Proxy class.
Thanks. Daniel
|
|
|
5
|
Announcements and General Discussion / General Discussion / Which part to parse the loaded xml
|
on: January 17, 2008, 03:11:19
|
Hi cliff: I got a question recently.
I used puremvc in my Flash application and it need a defined xml files to get the data support. Then I considered to construct a proxy instance. The proxy instance need the data in this xml file and it in chager of load the xml itself.
But later on ,I found there are a lot of data get together in this xml file and other proxies need these data,too. Then I have no idea where to put my parse code and also questioned about whether to put the load xml code in that proxy instance.
Then I think to put the load xml code and parse code into a command.But I'm also think the command can't have the ability to retrieve data from server.
I'm so confused about this.
Thanks
Daniel
|
|
|
|
|
|