The Ashes

Technology, Science and other news
August 25, 2009

Be your company MVP with GWT!

Posted by : admin
Filed under : General

Sorry about the cheesy title, I couldn’t resist. In one of those moods I guess. Chris Lowe has posted a detailed example of a new-age GWT application that uses lots of cool tech based on Ray Ryans talk on MVP pattern;

  • Use a command pattern;
  • Use an Event Bus (a.k.a Event Collaboration);
  • Use Dependency Injection.
  • Chris takes these ideas and applies them to the starter project created by the Google plugin for Eclipse. To get this done, he uses a slew of libraries:

    GWT-Presenter An implementation of the MVP pattern;
    GWT-Dispatch An implementation of the command pattern;
    Google Gin Dependency Injection based on Google’s Guice;
    GWT-Log A log4j-style logger for GWT.

    NOTE: currently GIN needs to be built from source using SVN/Ant.

    You’ll also need the following libraries at the server:

    log4j A logging framework;
    Google Guice 2.0 A dependency injection framework for Java.

    Then, the tutorial walks you through setting up your views, presenters, and events. It is Java, so you will notice a fair amount of source code (but at least the GuiceServlet gets rid of most of the XML). Just joshing with ya!

    It was cool to see my buddy Rob’s Customware being the place that created some of the key libraries. Good on ya mate!

    Tags :

    No Comments

    (will not be published) (required)
    (opitional) EN ES IT DE PT CZ FR RU
    August 2021
    M T W T F S S




    There are many online poker site where you can play but at you can play the poker games with all the knowledge you need related to the game with the poker school available in both the English and Chinese language.

    Super Casino

    Now you can bet on any sports and any sporting events from all the comfort from your home. Bet770 allows you to bet on any events and match with in just 3 clicks. They also offers great odds on football betting for every premier and champions league match. Get £50 free in bets when you register.

    Bingo770, offering best online bingo games with £7.70 free no deposit Bonus!