Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does the MVP framework included in GWT 2.1 make other GWT MVP frameworks redundant?

GWT 2.1 includes an MVP framework which includes an implementation of the PlaceService outlined by Google's Ray Ryan at Google I/O 2009.

That talk inspired some MVP frameworks like

  • GWT-presenter
  • GWT-Platform (GWTP)
  • MVP4G

Does GWT 2.1 make using these additional frameworks redundant?

like image 367
boardtc Avatar asked Dec 22 '10 15:12

boardtc


2 Answers

Yes, there is overlap, and perhaps those other frameworks will become unnecessary down the road. But, from a practical perspective, to date there don't seem to be too many solid examples that use the new 2.1 features. On my current project we spent a little time evaluating the 2.1 MVP constructs and settled on using the GWT-presenter framework because we were able to make progress a lot faster using examples such as the Hupa mail client.

Unfortunately, all of these frameworks seem to lack solid documentation. They all seem to give you a trivial Hello World example, without showing you the essential details necessary to do anything more than a trivial example. The only way to learn is to dig through code.

like image 106
Javid Jamae Avatar answered Nov 20 '22 14:11

Javid Jamae


I'm currently working on a small website written in GWT using Sring(For Security and Dependency injection) at the backend and GIN at the frontend.

When I migrated to GWT 2.1 I took 1 day to change from my old MVP framework to the integrated one. The example I took as a reference was the one at the GWT website.

Of course it takes you some time to switch, however it results in smaller, cleaner code than with other solutions I've seen

like image 1
Hons Avatar answered Nov 20 '22 13:11

Hons