TechnoBuzz

A Techno Blog, mainly about Java

GWT Atchitecture anyone?

This video begins the subject of GWT design choices.  The video touches on a few thing like the :

  • HandlerManager class in GWT 1.6
  • GwtMocking
  • MVP and testing the presenter
  • EventBus

This was found on this post – http://stackoverflow.com/questions/1234389/whats-your-recommendation-for-architecting-gwt-applications-mvc-mvp-or-custom

Since I am mainly just familiar with MVC , lets get into MVP…

From this  Model-View-Presenter post, it illustrates their are two flavors of the MVP:

a) Dolphin Smalltalk’s MVP – http://martinfowler.com/eaaDev/SupervisingPresenter.html

b) Passive View – http://martinfowler.com/eaaDev/PassiveScreen.html

View – widgets, responds to user actions, turns to the presenter to handle these user actions

Presenter – presentation logic, tightly coupled with the view, commands the model,  changes presentation according to the application rules.

Model – business objects , doesn’t know anything about View/Presenter.

“in MVC there is controller for every widget, and every widget on the screen surface is called view. In MVP on the other hand, due to the elimination of the controller, there is no sentiment for a single widget and the screen itself is called view.”

also see : Use MVP , MVP based Component Library, GWT MVP Sample, eventbus and mock tests

Some clarifications for me. Seems Ext – GWT is also known as GXT (found on this page which talks about JSON vs RPC, to spaghtetti code)

Another interesting thing is the post on difference between a   toolkit vs framework

References:

Advertisements

August 15, 2009 - Posted by | Web Design, Web/Tech

1 Comment »

  1. […] have done some mocking before, but for now the focus will be on the use of the  Mocking Framework known as […]

    Pingback by GWT Testing « GWT Buzz | July 17, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: