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

Pages: [1]
Author Topic: Separated View  (Read 5127 times)
Jr. Member
Posts: 14

View Profile Email
« on: July 02, 2008, 03:15:10 »

The nice thing when using PureMVC in ActionScript is that because the presence of the EventDispatcher the view can be totally unaware of the mediator and the mediator registers to the events which it is interested. I saw the Java demo and because of the absence of a toolkit the view has a reference to the mediator. Isn't this a bit in contrast with PureMVC philosophy? Is there a lightweight toolkit which can be used, or created, to avoid it?

Cheers, chr
Courseware Beta
Posts: 1

View Profile Email
« Reply #1 on: July 06, 2008, 09:05:53 »

Yes you are right, it is in contrast with the PureMVC philosophy. The reason behind doing it that way was the fact that Java ME is very limited in libraries and has no means of attaching custom event handlers. A toolkit probably could be created but this was a faster method to get the PureMVC Java port working on mobile devices.
Pages: [1]