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 / Standard Version / Best strategy ? on: December 29, 2011, 07:51:07
Hi all,

Another question regarding PureMVC best practices:
My application contains several identical screens, each including a video player. Each player plays a different source.
I hesitate between one mediator by player responding to a particular notification which contains the source or a unique mediator, differents names, for all players and one notification which contains all sources. In this case, the notification contains the mediator's name to set the source of the right player.

I don't know if I'm clear.

Actually, my question is: what would you do in that particular case?

Thanks.

lulu.
2  PureMVC Manifold / Standard Version / Async Macro Command on: December 23, 2011, 02:39:19
Hi,

I would like to know the best practice to set the following issue:

How can I create an async macro command which will execute a task list, each one needing values from the previous one?
i.e., I store data in a remote database which returns the id of the last row. After what, I store this id in my local database.
I've thought storing each temporary data in a proxy but I'm not sure it's a good idea.

Thanks. lulu.
3  PureMVC Manifold / Standard Version / Command dispatcher on: December 07, 2011, 07:57:43
I often find myself having to manage a system of adding and editing data from the same interface. I have not found the right way to do it yet.
My first idea was to create a command that will check what other command has to be executed from a value in the body of the notification. It was, I think, the role of a macrocommand but it is not possible to override the execute method to retrieve the notification.

What is the proper way to proceed?

Thank you. lulu.
Pages: [1]