Saturday, November 26, 2011

Re: MVP framework(s) doubt

I have used GWTP a project I worked on and loved it.  It doesn't require all the boiler plate code that you have to write use the ActivitiesAndPlaces model. 

On Sat, Nov 26, 2011 at 10:42 AM, vehdra music <vehdra@gmail.com> wrote:
I am creating a GWT application using GWT MVP as described here
( http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html
) only that instead of ClientFactory I am using Gin.

I started nice, but now that I have many entities with List & Edit
views, activities and places, my project is growing a lot and I having
perfomance issues.

I know about code splitting, but I care about is, is performant to
have for example a EditPlace, ListPlace, EditActivity & ListActivity
for  every model that I need to work in my app? For example, if I only
have Foo model I will have:

FooEditPlace
FooEditActivity
FooEditView
FooEditViewImpl
FooEditView.ui.xml

FooListPlace
FooListActivity
FooListView
FooListViewImpl
FooListView.ui.xml

Ten files for only editing / listing one model :) And I have to edit /
list about 17 models in my app right now...

I don't know if I doing the things in the "right" way. Is it normally
to have many files in a big GWT project using the GWT Activities &
Places fw?

OTOS I was looking to another frameworks like gwtp, mvp4g, guit, every
one seems to be nice and have cool features, but I believe (just
believe, I didn't try anyone of this fw yet) that they are reinvent
the wheel. Or I am wrong and I can take avantage of using one of this
fw in my app?

What are you experiences? Am I doing wrong in the "Activities &
Places" way? Am I using it right and I just have to use code spliting
to have better performance? Or should I use gwtp, mvp4g or guit?

Thanks in advance ;)

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