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 / Getting Started / Starting from Scratch. on: March 20, 2008, 03:03:39
Hi, I don't know if any of you guys had a similar situation but here it goes.
I currently have a main panel which is the main screen on my app, and im willing to switch state onFileLoad.
Now, I have defined my custom MainPanel.mxml extending from panel and when the click Event is hit, I sendNotification(ApplicationFacade.CARGAR_PCU,SinManager);

Where should I place my state code, can I create a ErrorListState.mxml(would be my 2nd state for mainPanel), and how can i make the transition when i send the notification ?

Another Issue regarding good coding practices, is about nested CommandCalls.
I think it is not Ok to invoke a command within a command, but I have done it once in my app.
Should the good practice be, send a notification from commandA so controller can decide which command to execute, and reduce coupling between my commands ?
Thanks
Tom
Pages: [1]