GWT + MVP = Very Manageable Code
Posted by David Chandler on September 24, 2009
I’ve been struggling with GWT a bit. It’s a new way of thinking for someone who’s been writing Web apps on the server side for 15 years now. But I was intrigued by a few posts on GWT with MVP, and then I found this:
I cannot say it or do it any better. It took me about a day to rewire my small GWT + AppEngine app with gwt-presenter and gwt-dispatch. It worked the first time. Color me impressed.
I can understand my own GWT code far more easily now.
And it’s more testable.
And more modular so other developers can work on it at the same time.
Did I mention I was impressed?
For the CM-inclined, these are the jar versions I put in my GWT project’s lib directory:
- gwt-dispatch-1.0.0.jar from the project’s Downloads page
- gwt-presenter-1.0.0.jar from the project’s Downloads page
- gin.jar from GIN project’s out/dist folder I built from SVN trunk on 9/23/09
- guice-2.0.jar from GIN’s lib folder per the blog post above