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: Mediator role on: October 13, 2007, 01:53:05
Cheers Cliff, I have resolved without the mediator and is cool!

Looks like it was a good presentation at MAX :) nervous on stage or super cool?
17  Announcements and General Discussion / Architecture / Registering Proxies 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)?
18  Announcements and General Discussion / Architecture / Mediator role on: October 13, 2007, 12:24:51
Hi all,

Just a quick easy one for ya'll, do you think its acceptable to have a mediator which is not assigned to a view component.  For example, a mediator to monitor the status of a remote connection? cheers simon
19  Announcements and General Discussion / Public Demos, Tools and Applications / Re: Flex & ColdFusion PureMVC style! on: September 27, 2007, 08:06:58
Good call mate  ;D thanks muchly :) enjoy your presentation!!!
20  Announcements and General Discussion / Public Demos, Tools and Applications / Flex & ColdFusion PureMVC style! on: September 26, 2007, 01:55:11
Hi all,

I have been beavering away with a Flex & ColdFusion tutorial for a site and on completion wanted to do a little trial project and apply the PureMVC framework to the application.  Bit of a mission but finally got around to getting it working sweet (or at least sweet for me) and thought it would be good to see what ya'll think and if you have any suggestions or feedback to streamline it?  Please be aware its nothing fancy just a simple add, update and delete app.

http://www.nutrixinteractive.com/tutorials/flexCF_mvc.zip

Cheers Simon
21  Announcements and General Discussion / General Discussion / Re: Get all or just the one! on: September 19, 2007, 09:06:13
Cool Cliff thanks, I will check out my remote server and see if it supports :)
22  Announcements and General Discussion / General Discussion / Get all or just the one! on: September 19, 2007, 05:37:18
Hi all,

Here is a question I am sure is asked or pondered on by some people out there.  On retrieving data from a database into a Proxy i.e. users, what is better:

A) Retrieve all the users and there data and populate an ArrayCollection with the information.  This ArrayCollection can then be referenced for information by all mediators.  PROBLEM initial loading time for all the data to populate ArrayCollection.

B) Make an individual request to the database for one record.  Each time a new record is required make another call to the database.  PROBLEM repeated to and fro to database.

Which is the general opinion as being the best practice here?

Cheers,

Simon
23  Announcements and General Discussion / Getting Started / Proxy data on: September 10, 2007, 02:51:55
Hi all, props to Cliff on this framework, it has opened the floodgates for my code in Flex and making my life a damn site easier.

So first a real simple question that is bothering me late night, due to hassle with ColdFusion I don't need to be sweating this simple issue, so I pose it to u guys:

I am parsing a ValueObject into a Proxy with a constructor similar to this

:
public function TemplateProxy()
{
super( NAME, new TemplateVO );

}

My question is to return data I use:

:
public function get template():TemplateVO
{
return data as TemplateVO;
}

I have a returned ValueObject from ColdFusion coming into the Proxy and am trying to work out how to use the event.result and assign it to the proxy template data.  Is it as simple as setting the data value of the class like below?

:
data  = event.result as TemplateVO
And if so then why the heck when I trace data is it returning back as null when event.result traces [object Object]???

Sorry if I am unclear, late night and all that jazz :)

Simon
Pages: 1 [2]