Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

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

* | |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / General Discussion / Re: Proxy on: January 28, 2010, 12:48:47
Ooops, just realized that flash has no RPC
2  Announcements and General Discussion / General Discussion / Re: Proxy on: January 27, 2010, 09:11:10
wow! that's simple! thank you very much cliff!!!
3  Announcements and General Discussion / General Discussion / Proxy on: January 27, 2010, 02:42:42
Hello everyone,
Thanks for answering my questions. Here's another problem i encountered during my development with pureMVC: The application i am currently working on need to load different type of xmls from time to time, I want to create a universal xml loader to load the data, then use different VOs to content them. I found the appskeleton demo is useful, but the LoadXMLDelegate uses classes from Flex, I am not sure how this can be done inside Flash.

The basic problem i am facing is, if i use a xml loader to load different data, how does it call back the same proxy which called it and transfer loaded xml back to that proxy? (without mx.rpc.IResponder) Obviously I can't create event type for every xml type.

4  Announcements and General Discussion / General Discussion / Mediator or Command? on: January 20, 2010, 03:31:28
I am new to PureMVC, and the current site I am building is the first one will be built with PureMVC. It's with several sections, and each section has some elements, some of them are similar, like all sections will have main menu, but the menu on the home page will be different from the inside pages, and there are two sections have product detail box, but one of them are verticle, another is horizontal.

My questions:
1. Should I use mediator or command for sections? I thought I can build mediator for each elements, like menu or product detail box, then use command to load them together into the stageMedaitor. But it's also possible to use one mediator for each section. Which method should I choose?

2. If I use mediator for different sections, should I build one for each, or should I use one mediator for all sections? For example, should i build HomePageMediator/ProductPageMediator/ContactUsMediator or should i just build sectionMediator then writing code inside to load other different mediators?

Thanks a lot for the help from you guys.
5  Announcements and General Discussion / Getting Started / Re: From where do you get the component for a Mediator to mediate? on: January 18, 2010, 09:37:20
If you create the component in the onRegister(), then how do you write the get function in the mediator?
Pages: [1]