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 / Multiple State Machines? on: September 12, 2009, 01:13:17
Is it possible/advisable to have multiple state machines in an app?

For example, have a state machine for the entire app (i.e - startup as used in the sea of arrows) and then have another state machine that is used for some forms that appear in a popup window (i.e a sort of like the FSM as described in the puremvc.tv).

Or should I just use the state machine for startup related things and then have a separate mediator handle the form and it's various states?

2  Announcements and General Discussion / General Discussion / Extending a proxy on: September 10, 2009, 04:08:43
I would like to extend a Proxy that is calling a webservice; however, I'm not sure if this is advisable.  The scenario is I have 2 webservices that expose the same webmethods; however, they have different return types, i.e. the first service might have methods that return a type "Cat" and the other service have methods that return a type "Striped Cat". 



Would I have to recreate the exact same proxy twice?
3  Announcements and General Discussion / General Discussion / Mediator to View relationships and Webservice method to commands on: September 09, 2009, 02:25:03
I am so far just reading and learning about puremvc and just wrote my first few lines in converting an app (very old AS 2 v2.0 components) to flex/puremvc.

so question 1:
is it best practice to have a 1:1 relationship btwn a mediator and a view?

question 2:
if i have a webservice with 3 methods, I should also have 3 Command classes?  i.e. webmethods to Commands are also 1:1?

Pages: [1]