Développement Google
< paul69
Get flash to fully experience Pearltrees
GWT is a very powerful framework that allows you to build efficient applications, especially if you follow the best practices described by Ray Ryan at Google IO 2009: Event Bus Dependency Injection Model View Presenter Place Service (see http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html for the video or http://extgwt-mvp4g-gae.blogspot.com/2009/10/gwt-app-architecture-best-practices.html for the text, thanks to Araik Minosian.) However, following these best practices is not always easy and you can end up with a project with a lot of boilerplate code that is hard to manage. That's why Mvp4g offers a solution to following these best practices using simple mechanisms that only need a few lines of code and a few annotations.
Inspired by Ray Ryan's Best Practices For Architecting Your GWT App session at Google I/O 2009, this is an implementation of the 'Presenter' part of the Model-View-Presenter (MVP) design pattern discussed in the video. You may also be interested in the gwt-dispatch library, which is an implementation of a 'command pattern' API for GWT. Getting Started - A quick intro to the API.
Oracle Oracle Technology Network Java Code Conventions for the Java TM Programming Language Revised April 20, 1999 1 Introduction
This tutorial will show how a simple GWT widget can be constructed with GIN. You should be already familiar with Guice - if not, then please read the Guice User Guide for an introductory overview of Guice concepts. In regular Guice, you would use: // Does NOT work in GWT code!