Best MVP framework right now?

596 views
Skip to first unread message

vehdra music

unread,
Sep 6, 2012, 11:12:49 PM9/6/12
to google-we...@googlegroups.com
Hi, already know about gwtp, mvp4g, guit, GWT MVP, etc.

But I have been some time outside from GWT world :( so now I am returning to this beatiful framework again and I would to know which have been your experiences, wich mvp framework do you recommend to use in this days?

Best regards.

Thomas Broyer

unread,
Sep 7, 2012, 2:21:55 AM9/7/12
to google-we...@googlegroups.com

On Friday, September 7, 2012 5:12:49 AM UTC+2, vehdra music wrote:
Hi, already know about gwtp, mvp4g, guit, GWT MVP, etc.

But I have been some time outside from GWT world :( so now I am returning to this beatiful framework again and I would to know which have been your experiences, wich mvp framework do you recommend to use in this days?

Highly personal (and probably biased) view: best framework == no framework.
Not about MVP per se but as there's been much misinformation (and you talk about "GWT MVP", which doesn't actuallyexist): Activities & Places is lightweight enough that it doesn't come in your way; it's a toolkit/library more than a framework if you ask me.

Frank Hossfeld

unread,
Sep 7, 2012, 3:47:20 AM9/7/12
to google-we...@googlegroups.com
If you think about using one of these libs, take a look at mvp4g. I personally prefer it. It is smart, works well and is easy to understand. It has everything you need writing large GWT applications.
Thomas is right, you don't need to use one of then. I think, it will save you a lot of code.
But, remember, using one of this libs means, that you depend on the lib and the developement.  

vehdra music

unread,
Sep 7, 2012, 11:13:56 AM9/7/12
to google-we...@googlegroups.com
Hi Tomas, when I named GWT MVP I tried to refer to Activities and Places (https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces) not to gwt-mvp thats why I used capitalized words :)

So if I want to start a GWT development from scratch right now the best option is to use Activities & Places, right?

I am asking beacause in my last project I had a lot of boiler plate code, a View, ViewImpl, Activity & Place for every crud action (update + create / list) on every entity that I had to work with.

That's why I was trying to see if there something "new" to reduce the boilerplate code.

Ed

unread,
Sep 8, 2012, 5:57:23 AM9/8/12
to google-we...@googlegroups.com
Highly personal (and probably biased) view: best framework == no framework. 

Can't agree more....
Best framework = your own brains... ;)...

Every situation is different, so the frameworks don't fit 100%. 
Use them as examples: Look and Learn.

If you have a good understanding of the GUI patterns, you don't need this frameworks and setup something yourself in "minutes"

My experience: the activity/place  concept in GWT is nice for simple app's, but not for bigger app's. I tried it, it doesn't work.
I use something similar that is a combination of the state- and visitor pattern, and works very well to realize flow's.

- Ed

Ed

unread,
Sep 8, 2012, 6:02:58 AM9/8/12
to google-we...@googlegroups.com
I am asking beacause in my last project I had a lot of boiler plate code, a View, ViewImpl, Activity & Place for every crud action (update + create / list) on every entity that I had to work with.

Be flexible. I sometimes use a controller  -> presenter -> view. 
But often, if I have hardly any presentation logic just controller -> view...

But I always use a controller that get's it's information from the event bus through visitor pattern. 
Note: I prefer push "controller" events through visitor pattern, then pulling them through observer pattern as it's easy to create memory leaks when not cleaning up (global) listeners.

Sergey Pascan

unread,
Dec 19, 2014, 10:42:26 AM12/19/14
to google-we...@googlegroups.com
http://eskimo.io - new node.js boilerplate framework to build fast MVP's.
Reply all
Reply to author
Forward
0 new messages