PureMVC Architects Lounge

PureMVC Manifold => MultiCore Version => Topic started by: abhisec on April 07, 2009, 09:29:29



Title: PureMVC4GWT on google code VS multicore port
Post by: abhisec on April 07, 2009, 09:29:29
There seems to be some discrepancies between the two.

1) Lucianno is using a CommadProvider to retrieve commands and only storing class names.

2) Official port stuffs objects in hashmap.

I am not sure why the first approach was rejected? It seems a little light weight as those associative arrays are not being stuffed with object instances and being created when needed?

am i missing something?


Title: Re: PureMVC4GWT on google code VS multicore port
Post by: fede on May 04, 2009, 12:33:58
hi i haven't seen the CommandProvider impl but IMHO the problem with  gwt is that "no easy form" of reflection is usable so it's difficult to store class Object and then build on demand command instances. It should be done using the deferred binding mechanism that gwt has, but it complicates the design.