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

Pages: [1]
Author Topic: Registering Proxies  (Read 10614 times)
Courseware Beta
Full Member
Posts: 23

 - newtriks
View Profile WWW Email
« on: October 13, 2007, 01:51:22 »

Ok I am on a roll here with the queries, due to an execution problem i.e. I want the proxies to execute in a specific order, I have taken some proxy registration out of my StartupCommand and placed them into other commands initiated as the application develops.  So I now have a command other than StartupCommand which contains facade.registerProxy is this an acceptable practice (it works)?
Global Moderator
Hero Member
Posts: 2871

View Profile WWW Email
« Reply #1 on: October 13, 2007, 07:09:13 »

The only problem with that is keeping other code from asking for this proxy before it is created.

It really is best to init all proxies at startup before the view is prepped. You can always have the proxy not go fetch or create its data until it is first requested.

Pages: [1]