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  PureMVC Manifold / MultiCore Version / Issue communicating between a Fx Project and Fx Library Project w/o components on: May 01, 2008, 10:40:55
Hi Cliff,


This multiCore version of PureMVC is awesome. I've successfully created a Flex Library application with it's one facade and "LibraryApplication" class (instead of app.mxml) and everything works fine internally(notifications sent/received, etc).

Here is the problem I am facing; I have a reusable section for field validation in my Fx Library that makes use of a mediator, proxy and command. I can communicate to the validation logic from the parent application via a method call, but I can't find a way to communicate from the Fx Library Project back to the parent app.

I didn't want to use an interface because I want the library to be completely agnostic of any Flex application that would want to take advantage of it.

Is there some sort of communication "bridge" or "adapter" class that I can take advantage of to communicate between cores other than utilizing an interface?

Thanks!
2  Announcements and General Discussion / General Discussion / Sharing the PureMVC Facade Instance between Flex libraries on: February 05, 2008, 02:27:24
Hello all,

First off, we just recently converted our first project into the pureMVC architecture with great success. It's helping immensely with maintenance around here and everyone loves this new approach.

My question is as follows; we currently are building a flex, framework library that we can utilize for all our core business functions. What is the best a approach utilize PureMVC architecture between libraries?

At this point, for commands that i've created in the framework library, I added a parameter from to pass the facade instance in. It seems to be working with this approach, but I wanted to know if there is a better way to do this.

Thanks!

-Tony
Pages: [1]