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 / Fastest way to Update VOs?????? on: September 14, 2010, 09:48:24
So basically, I have a large set of VOs being created from a remote service proxy. I also want to be able to update this data every couple minutes or so. I make new calls and get back the data, but my question is what would be the best method to only create VOs if they don't exist already?

I feel like it would be very inefficient to check one property of each VO as it's created. Thanks for any tips.
2  Announcements and General Discussion / Getting Started / Retrieving and sending data to and from php on: September 09, 2010, 11:27:22
I know this may label me as a total noob, but I've just yet to have to do it this way, most of my projects have been driven by our own simple XML.

My question is why is making a remote connection considered a proxy when I think of it as a command?

But beyond that, I would love any reccomendation of the best way to call a php class that returns XML. I've found a couple things online already such as amfphp, which looks awesome and easy, but is there any point to calling binary when the php is sending it formatted as XML already?

As always, thanks, You guys rule.
3  Announcements and General Discussion / Getting Started / FSM utility question on: September 02, 2010, 11:49:35
So, I'm learning this again, after a brief hiatus. I can finally use it for work!

Anyway, I thought I had a good grasp on a lot of puremvc, but have come to what's probably a stupid question.

so i'm using a state machine to initialize, and startup my app. Can you pass a note with a body into commands triggered by the FSM???


<state name={CommonConstants.STARTING}>
      
                     <transition action={CommonConstants.STARTED}
                                 target={CommonConstants.CONFIGURING}/>
                  
                     <transition action={CommonConstants.START_FAILED}
                                 target={CommonConstants.FAILING}/>
                  </state>


so when it runs the configure command, is there any way to populate the note?? I'm kind of confused, thanks!
4  Announcements and General Discussion / Getting Started / wow! on: March 25, 2010, 01:24:30
This stuff was way over my head like a month or two ago. I've probably reread the best practices document completely 3-4 times.

But I just wanted to say that once it clicks, it is amazing. I am now close to finishing my first successful pure as3 puremvc app. It's not that complicated, but it's amazing how many stupid problems I've had in the past that puremvc solved really easily.

State machine, is aweesssoommeee.. and that you can use a state machine anywhere in your app too! Not just the initialization. I know, obvious, but it wasn't for me at first.

I haven't gotten into the loadup utility yet, but I sure will eventually. I'm just happy I have a multicore app working very well..

THANKS A TON!
5  Announcements and General Discussion / Fabrication / fabrication stage and proper mediation on: November 16, 2009, 02:06:44
When overriding execute in my startup command, how does it receive the note? Is the execute inside the startup command linked to the startup notification that fabrication is sending automatically? It just hides this? I'm not having a problem with it, just trying to understand where it's getting the note from, which contains my document class in it's body.

Other than that, just want to make sure I'm building in a proper fashion. Right now I'm almost done with my shell.

This is how it's set up, Startup command registers basic FSM commands. Injects FSM. and then registers my proxies and mediators. then they're configured. then in assembly, I create my different modules... I imagine down the road, my modules will only have two notifications in common with the shell.. address change and page change.. and the rest will be specific to each module.

should I add my modules to the stage in my application mediator?,.. does that sound right? Cliff suggested wisely I instantiate them only and then have each wait for it's appropriate note to initialize. This is what I'm going for.

Once they're added, each module will be able to add view components/display objects right? through each modules' own document class stage.. which would really be a reference to the shell's stage?

appreciate any help greatly.

sorry I put this in the wrong forum.
6  Announcements and General Discussion / Getting Started / A little modular question on: November 05, 2009, 11:15:55
Hi, I'm having a great time learning PureMVC, and it's so awesome. Thanks Cliff!

So my question lies with creating modules. I have my application shell that is a simple xml controlled structure. And I also created a slideshow module. My shell is using a version of a swf address mediator as the main dynamic notification structure. The thing I for see happening, is that if someone goes directly to a deep link, and my slideshow module hasn't been loaded yet, it obviously won't be able to react properly to the page change notification. So does this mean that I should load and create all my separate modules initially before my address mediator? In my startup command or my initializing mediator? I assume that would be the best way to handle it, but also liked the idea of loading the modules when they're needed, which sounds proper. Perhaps I have a command that checks the deep link and loads the appropriate module? I'm sure there are a lot of ways to do it, and I could use some advice.

Much appreciated.

Russ
Pages: [1]