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
PureMVC Architects Lounge
PureMVC Manifold
Port to Java
MultiCore Version
(:
aquinault
)
communication beetween viewComponents and mediator
Pages: [
1
]
« previous
next »
Author
Topic: communication beetween viewComponents and mediator (Read 7186 times)
fede
Newbie
Posts: 7
communication beetween viewComponents and mediator
«
on:
March 24, 2009, 09:42:05 »
hi all
i'm using pureMvc in gwt and i like it!
after reading the doc materials i've found that in the original implementation in Actionscript the comunication from viewComponents and mediator is implemented in the following way:
mediator -> viewComponents [this is done by directy method invocation]
viewComponents -> mediator[this is done by dispatching custom events from the components witch the mediator is listening on]
Since now for this interaction i've used the notifications system of pureMvc, but now i
agree that the comunication beetween viewComponents and mediators is somewhat local comunication and should not use the notification system.
Unfortunatly before 1.6 the event system of gwt was more primitive of that of flex and was difficult to create and dispatch custom events from components. i've gived a look at the new event system of gwt 1.6 and it seems ther is space for declaring and throwing user defined events, so i'm starting to think that the implementation of puremvc4gwt could align with the best practice highlited in the documentations.
I'm intersted in hear someone opinions in this.
ciao
Federico
Logged
denne
Newbie
Posts: 6
Re: communication beetween viewComponents and mediator
«
Reply #1 on:
June 19, 2009, 01:50:39 »
Check out what I wrote in the other Event thread:
http://forums.puremvc.org/index.php?topic=766.msg5878#msg5878
What do you think?
Logged
Pages: [
1
]
« previous
next »
Stack Overflow
GitHub
Linked In
Google Plus
Twitter
Powered by SMF 2.0.15
|
SMF © 2006-2007, Simple Machines LLC
|
Content © 2006-2018, Futurescale, Inc.
Loading...