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 3 [4] 5 6 ... 10
46  Announcements and General Discussion / General Discussion / Re: Orchid and PureMVC Studio. Where?? on: December 01, 2008, 01:23:37
he's twittered on it in the last 6 months...

Certainly not holding my breath though ;)
47  Announcements and General Discussion / Public Demos, Tools and Applications / Re: Social Media Poker App using PureMVC and StartupManager on: December 01, 2008, 10:13:57
That is pretty cool. How was it developing for the facebook? I like how the 'chips' system is there to generate revenue. Has it been profitable?
48  Announcements and General Discussion / General Discussion / Re: What are the benefits of using pureMVC over a hand coded MVC? on: December 01, 2008, 10:09:17
PureMVC is rock solid, production tested, has many utilities/demos/extensions, is fully unit tested, follows best practices, is true to the patterns it implements, and works really well over all.

That is why I use it.
49  Announcements and General Discussion / General Discussion / Re: Orchid and PureMVC Studio. Where?? on: December 01, 2008, 10:04:59
Orchid UI is from the same cat that was working on Saffron UML, no? He's all but dropped off the face of the planet. My understanding is that he got so wrapped up in Orchid that he was rewriting Saffron to use it. The screens of Saffron were so sweet, it should be nice when it finally sees the light of day.

http://www.levelofindustry.com/

His website has been down for months and months (damn, almost a year!).
50  Announcements and General Discussion / General Discussion / Re: Err 1009 after a cast of event.result to my VO object on: November 13, 2008, 09:43:37
It might also be helpful to run a monitor like Charles to see what is coming back from the service.

Also, I've found that I have to create an instance of my VOs in the root of my application:

<vo:MyVO />

or AMF doesn't want to recognize the typed object. Casting an object as will return null if the type isn't correct, so I'd assume that is the problem. Something about the signature doesn't match.
51  Announcements and General Discussion / Architecture / Re: singletone pattern implementation - what for? on: November 07, 2008, 09:11:44
http://www.as3dp.com/

Actionscript 3 Design Patterns is an awesome text also. It isn't a replacement for the GoF book, which is THE foundation, but it is a nice supplement and puts it in context.
52  Announcements and General Discussion / Getting Started / Re: AppSkeleton not conform FAQ? on: November 07, 2008, 07:25:37
It makes sense now that I think about, but makes me sad because everything I have written violates this principle ;)

Now where did I put my "can't talk refactoring" hat...
53  Announcements and General Discussion / Getting Started / Re: Where is the best place to declare a global variable on: November 06, 2008, 02:03:37
Thanks, really apreciate.

One more doubt on this.
Is it okey to declare global variable in ApplicationFacade
and  get the data through proxy and use facade to get the global variable.

ApplicationFacade
{
    public var myGlobalVariable;

   ApplicationFacade( ){
     var myProxy:MyProxy = facade.retriveProxy(MyProxy.NAME) as MyProxy;
     myGlobalVariable =  myProxy.retrieveGlobalVariables();
   }
}
[/color]
and then access the global variable using facade

Thanks,
Mansoor

There is 100% no reason to do this as any mediator, command, or proxy can access the proxy by calling facade.retrieveProxy(MyProxy.NAME)

I recommend removing 'global variable' from your vocabulary in terms of PureMVC applications. ;)
54  Announcements and General Discussion / Getting Started / Re: AppSkeleton not conform FAQ? on: November 06, 2008, 10:24:05
Proxies shouldn't access ApplicationFacade constants?
55  Announcements and General Discussion / Getting Started / Re: Where is the best place to declare a global variable on: November 06, 2008, 09:19:24
I would access the XML in a proxy and then access that proxy in your mediators, commands and other proxies.
56  Announcements and General Discussion / Architecture / Re: Tips for helpful tools on: October 22, 2008, 10:34:23
I use mind maps for planning almost any major project. MindJet MindManager is my favorite commercial solution, but Freemind is a decent OSS tool.
57  Announcements and General Discussion / General Discussion / Re: How to handle multiple views of the same type? on: October 20, 2008, 03:16:21
Thanks for the feedback! I took the same road like Joel proposed (after making sure the mediator name is unique through createUID). I don't understand however that (Pure)MVC doesn't have support for something essential like this out of the box  ???

My guess is that the framework is supposed to be 'as simple as possible, but no simpler' and this sort of solution is one that will vary from project to project. Using the Notification body and/or type parameters is effective for this sort of thing, so really it does support it out of box.

If you have a good way to plumb something up, you might consider writing a utility to do so. I'd love to check it out. I'm running through solutions in my head, but I get stuck at the way I've always done it (as described in my other post).

Cheers
58  Announcements and General Discussion / General Discussion / Re: How to handle multiple views of the same type? on: October 20, 2008, 07:27:49
You'll have to pass around some sort of identifier (the mediators name?), so I guess that is a yes to your plumbing question.
59  Announcements and General Discussion / General Discussion / Re: Call functions and hold references from other ViewComponents allowed? on: October 18, 2008, 09:39:24

@Joel, Proxies (denizens of the Model region) are not conceptually a good place to store view components.

-=Cliff>

I assumed (didn't read closely enough) that an ArrayCollection would be thumbnail value objects and not the components/renderers.
60  Announcements and General Discussion / Architecture / Re: Multiple instances of the same mediator/proxy? on: October 17, 2008, 06:27:30
Thanks for the reply. I got the idea of unique id + NAME. What about the notification then? To my understanding, the current notification mechanism of puremvc is at "class" level, instead of instance level. Any good idea to make it work at instance level?

:
case NotificationSender.IMPORTANT_NOTIFICATION:
if(notification.getBody().uniqueIdentifier == this.aValueObject.uniqueProperty)
{
     doStuff();
}

So notifications are declared at the class level, but you can check against your instance to see if it needs to react.
Pages: 1 2 3 [4] 5 6 ... 10