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 [2]
16  Announcements and General Discussion / General Discussion / Flash Demo? on: July 16, 2007, 07:20:01
Hi,

I am a Flash programmer and although I understand what you've done in Flex I have some little problems to apply to Flash as I don't want to start invoking or declaring function/command at the wrong place.

So I was wondering if you had any Flash examples with where you are using the framework. Even a very simple one would do...

Coz at the moment I am only sort of guessing what I am doing.
i.e. Flash uses a Document Root Class to initialise the application. So I'm guessing that's where I have to instanciate the ApplicationFacade, correct?

Flash Examples please?

Thanks
seb

17  Announcements and General Discussion / General Discussion / Re: memory management on: July 16, 2007, 07:08:04
Cliff,

thanks for the reply. I now undersand why you didn't use Dictionary since it relies on the Flash library and that you wanted to keep the Framework purely AS3.

I have quick question though what would happen if I was loading in a screen/pugin at runtime that would add its own commands and also create its own Mediator. These wouldn't be collected once done with them, or would they thanks to reference counting?

thanks
Seb
18  Announcements and General Discussion / General Discussion / memory management on: July 10, 2007, 03:34:53
Hi,

I have been looking at the 3 following frameworks PureMVC, ARP3 and Cairngorm 2.01.  And what stricked me the most in PureMVC (as well as ARP3) is that everything get stored in Arrays (views, commands...). So from my understanding since none of the instance classes will have weak references they will never be up for being garbage collected. This will just keep making the memory usage go up, won't it? and eventually make the computer crash.

Wouldn't it be more appropriate to use dictionaries ( new Dictionary( true ) ) to store the instances instead of arrays (new Array() )?

What do you think?

thanks
Seb
Pages: 1 [2]