Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT development and Design Patterns [closed]

What patterns are the most popular used by experienced programmers for development on GWT? I have heard that the effective development on this framework often has to use different design patterns. I would like to know more about this. If it is possible with a brief explanation, example or link. Thanks in advance!

like image 648
Michael Avatar asked Oct 08 '22 03:10

Michael


1 Answers

We use MVP: https://developers.google.com/web-toolkit/articles/mvp-architecture. It's great for organizing larger projects. MVP is mainly concerned with client-side organization.

You can use this in conjunction with Activities and Places to manage View history: https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces

Your server-side patterns will generally follow the standard Java servlet model. If you use Hibernate/Objectify or some similar ORM solution, look into GWT RequestFactory.

like image 135
Travis Webb Avatar answered Oct 12 '22 11:10

Travis Webb