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 / Architecture / Re: Cache frequently used assets... on: May 12, 2008, 08:40:15
AFAIK there's really no need to create a custom cache. Your browser's cache will do just fine.
I don't know the chapter in colin's book, but I want to bet that it has to do with stuff that doesn't get cached automatically (like, for instance, video streams, rpc responses, etcetera)
If you're using swf's and bitmaps this isn't necessary and will only bloat your application size.
17  Announcements and General Discussion / Architecture / Questions about Indexcards example and registering proxies on: April 02, 2008, 12:30:26
If I understand it correctly then commands are registered to one specific notification.
When I look at the commands in the Indexcards example, 3 of them check the notification name to perform different actions.
I don't quite understand how this works. I've searched through the code and found all of the commands to be registered to one notification, so how is this possible?
Do they still receive the other notifications, even though they're only registered to one specific notification? And if that's the case, then why register them to one notification at all?

Another question I had is concerning registering proxies. At the moment I have deferred instantiation of mediators, but all proxies are registered at startup, just because I didn't know where else to register them. Am I correct in assuming that they could be registered in a different command? And would it be ok if they are registered in mediators?

Probably these are questions with obvious answers, but I'm having a hard time figuring out what is good practice and what not.

BTW Cliff, congratulations on a magnificent job. I'm really enthousiastic about this framework, even though I don't fully grasp it yet.
18  Announcements and General Discussion / Getting Started / Extended example on: March 14, 2008, 01:54:01
Does anybody know of an extended/advanced example of using pureMVC? I know Actionscript very well, but design patterns and frameworks are pretty new to me and I'm considering using pureMVC for my next client, since it will be a pretty big and complex application. However, I  feel a little insecure about how to structure the whole thing and would really appreciate a large example with pureMVC. It doesn't have to contain all the code, just an application structure would be already very helpful!
Pages: 1 [2]