Re: Reusing widgets across mvp views
Thomas,
You have an interesting idea. I am not sure, however, how much you are
going to win by trying to reuse a single copy of a widget. I have some
very complex widgets in my app, and they render very quickly (I must
add I use plain GWT). If I ever notice a delay, it's caused by loading
data, not rendering of widgets. I also don't think you will get any
reduction in the compile code size - may be a few bytes here and there
- as long as you create your own custom widgets and reuse them
consistently throughout the app. So, unless I miss something, just
define your own custom widgets and use them in your code and in the
Ui:Binder.
Andrei
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home