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 / Architecture / How much does PureMVC add to SWF filesize on: November 06, 2008, 04:41:06
I want to use the framework to make some templates for banners we often have to produce. Banner development is very limiting in filesize (40-50 Kb Sales, 100-1000 Kb Rich-Media).

How much does the framework add to the SWF filesize?

Cheers,

Pascal
2  Announcements and General Discussion / Architecture / Validate form data, where to put it? on: December 23, 2007, 03:51:53
Hi,

I am making some forms in Flash (not Flex) and of course need to validate the data entered by the user.

I already made a model.helpers.ValidateHelper class to keep the validation code centralized.

But.. my question is where do I validate. Now I do it in the Mediator of the form, sending notifications to my AlertMediator to popup with a message.

I have also seen validation methods put in the VO, which seems a very good place , but I don't know if that doesn't clashes with sending to a  AMF service.

Anyone got a good practice on this?
3  Announcements and General Discussion / Architecture / RemoteProxy / Mediator without view / runtime creation Mediator on: October 24, 2007, 02:05:54
Hi,

I have some architectural questions for my Flash application.

Should put one query per RemoteProxy?
Because I cannot find a way to to add a token to my Remoting Call, so I can make a switch in the onResult/onFault handler.
Should I got for a multiple custom onResult/onFault or is there another way to distinct the calls in my non-Flex app?

Mediator without viewComponent
I have an ApplicationMediator that handles the visibility of the screens and a BrowserMediator, without a viewComponent, implementing SWFAddress (linking/urls for flashpages) in the navigation. http://forums.puremvc.org/index.php?topic=75.msg270#msg270
In short, is it supposed to be a mediator or a command?

Two mediators depending on one RemoteProxy call
I have a remoting call that will update a Mediator/View and create multiple other Mediator/View pair and update their content.
What is the best way?
I saw the HelloWorld application do a creation on the view and add the mediator.
That was a great help, but how do I get the specific data to the right mediator/view pair?
Or should it be a command? And if so can I manipulate the mediators directly via a retrieveMediator?

Please advise on best practice solutions.

I would love to see more non-Flex examples of a real application, the flash HelloWorld was not really a RIA. I am a monkey-see-monkey-do learner :-).

thanks,

Pascal

4  Announcements and General Discussion / Getting Started / Multi-View navigation in Flash on: September 13, 2007, 12:14:52
I really like pureMVC!

I want to use it for my Flash applications and website development. One thing I am still trying to 'purify', is how to navigate shen I have multiple views (screens) in my application and still keep modularity.

I really envy the Flex's ViewStack/Workflowstate and would like to implement a, kind of, similar setup in Flash. There is only one Flash pureMVC example, which didn't help me much with this issue.

Any one got a idea for this?

Pascal
Pages: [1]