Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
July 28, 2017, 09:55:16 AM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
Pages: [1]
Print
Author Topic: Separated View  (Read 4615 times)
gabon
Jr. Member
**
Posts: 14


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

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
Logged
Riftwar
Courseware Beta
Newbie
***
Posts: 1


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

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.
Logged
Pages: [1]
Print
Jump to: