Thursday, September 29, 2011

Re: too much code: GWT Development with Activities and Places

Mvp4g looks good, certainly more concise than GWTP.  When I started using the GWTP plugin and it generated so much code for me, I got scared.   GWTP would certainly be a good choice if you were following the google-suggested MVP for big applications. 

The comment discussion here is pretty interesting, with the GWTP and MVP4G authors defending their design choices.  http://code.google.com/p/mvp4g/wiki/Mvp4g_vs_GWTP

One day, I'd like to propose a competition with real cash prizes for "most  elegant MVP framework in GWT".    For example, in the comment thread above, it would be interesting to see experts in each framework develop a full (albeit simple) application in each framework.  (Oh, if you have some cash money now, I'd be pleased if you steal the idea and start this competition today!)

I keep wondering, why can't GWT have an MVC model that is as simple as Rails or PlayFramework? 

Tom


On Mon, Sep 26, 2011 at 2:44 PM, Felipe Martim Vieira <felipemartim@gmail.com> wrote:
Maybe you should have a look at this:

http://code.google.com/p/mvp4g/

I have never used it, but it looks like a great alternative to reduce
the amount of work.


On Mon, Sep 26, 2011 at 6:14 AM, Aidan O'Kelly <aidanok@gmail.com> wrote:
> On Sat, Sep 24, 2011 at 4:53 PM, Thomas Broyer <t.broyer@gmail.com> wrote:
>
>> And BTW, MVP is a design pattern, and there's no one single way of
>> implementing it (the MVP articles in the GWT doc makes it kind of clear).
>> And the fact that Activities and Places (which people sometimes erroneously
>> call "MVP framework") are quite new makes it clear that it's not "the" way
>> to build GWT apps: there must have been ways to do it before they're
>> introduced!
>>
>
> Point taken, the docs do make it very clear its a pattern and one way
> of implementing it, and that its best suited for large scale projects
> and why. Though reading through the User Guide, you could be forgiven
> for thinking 'This is the way I should go with my app!', especially if
> you decide to use UiBinder, as the Activity/Places MVP article uses it
> and is almost like a tutorial on building an app.
>
> I guess its just because the other tutorial in the User Guide, the
> Stock Watcher, doesn't use UiBinder, which is a very attractive
> feature to anyone new to GWT. Would be nice to have a chapter/tutorial
> on building a small/medium sized UiBinder based app that doesn't use
> MVP.
>
> --
> 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.
>
>



--
Felipe Martim

--
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.


--
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.

No comments:

Post a Comment