Questions tagged [gwt-mvp]

This is an implementation of the Model-View-Presenter pattern for GWT.

This is an implementation of the Model-View-Presenter pattern for GWT (Google Web Toolkit) based on the "GWT App Architecture Best Practices - Ray Ryan" GWT Model-View-Presenter is a design pattern for large scale application development. Being derived from MVC, it divides between view and logic and helps to create well-structured, easily testable code

124 questions
17
votes
8 answers

What is your favorite GWT MVP Framework?

What is your favorite GWT MVP Framework, and the reason behind your choice? Mvp4g GWTP GWT 2.1 Built in gwt-mpv gwt-pectin guit Other platform (please provide link) Own solution (with boilerplate code?) None Thanks. Updated: Added suggestions 3,…
Lee Chee Kiam
  • 11,450
  • 10
  • 65
  • 87
15
votes
3 answers

MVP: Should the View implement a Presenter's interface or vice versa?

I am doing my first steps with GWT. I have a question after reading: Large scale application development and MVP Large scale application development and MVP - Part II In the first example the Presenter defines the interface for the View. public…
Macarse
  • 91,829
  • 44
  • 175
  • 230
13
votes
6 answers

Eliminating GWT ActivityMapper boilerplate

I am using the GWT Activities and Places framework to structure my application and it is turning out nicely. One thing that annoys me though is that the ActivityMapper implementation is (1) receiving all the views in the application (2) contains a…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
13
votes
3 answers

GWT Best Practices - MVP

A question for all the GWT gurus out there. I'm a newbie in GWT and am trying to understand the best practices of coding a GWT application. I have gone through "Large scale application development and MVP" based on Ray Ryan's talk at Google I/O…
GWTNewbie
  • 395
  • 4
  • 16
12
votes
1 answer

GWT 2.1 in UiBinder put Cell Widgets

How does it work? I see no tags defined for example to add a CellTable in a UiBinder.ui.xml file, like The documentation is sparse on this. So if it doesnt work, where should I put the cell widgets, in the uiBinder class or the presenter?
rapadura
  • 5,242
  • 7
  • 39
  • 57
12
votes
2 answers

Scaling gwt's "Contacts" (sample project) AppController with MVP

I'm just learning GWT so I'm still trying to sort out all of its quirks and features. I'm reading through the example they give illustrating the MVP pattern, and I pretty much get it, except I'm wondering about one thing. The AppController they use…
brad
  • 31,987
  • 28
  • 102
  • 155
11
votes
2 answers

GWT 2.2 MVP vs. GWT 2.1 Activities-Places

I'm starting to develop a large GWT application, and after reading a lot of articles and blog posts, I'm trying to understand what is the difference between the 2.2 Model-View-Presenter and the 2.1 Activities-Places design patterns? Which pattern do…
Tom Teman
  • 1,975
  • 3
  • 28
  • 43
9
votes
5 answers

Reducing code complexity for GWT

I started learn GWT by example on google and my first conclusion is: too much code Like this: stocks.add(symbol); stocksFlexTable.setText(row, 0, symbol); stocksFlexTable.setWidget(row, 2, new Label()); …
ziftech
  • 747
  • 1
  • 10
  • 22
8
votes
2 answers

How To: UiBinder + GWT MVP + multiple independent display areas

I am using GWT MVP and UiBinder to create an app with a DockLayoutPanel. I want the north and south docks to be static, containing buttons and links. I want to have dynamic views in the center and two different areas of the east dock. As these…
Pete
  • 187
  • 3
  • 10
7
votes
1 answer

GWT MVP - maintaining multiple displays that are separate of one another

I have a GWT App and I am using GWT MVP with Places / Activities. My application layout is something like MENU | CONTENT The Menu and the Content displays will change dynamically and one changes separately from the other. What I mean by this is that…
Josh
  • 838
  • 3
  • 11
  • 22
7
votes
4 answers

Does anyone exist who has used JBoss Errai in their projects?

I am searching GWT Design to setup project. I could use MVP(GWTP) or JBoss Errai. I haven't decided yet. Is there anyone who experienced in one of these? You can give advantages and disadvantages of these frameworks.
firstthumb
  • 4,627
  • 6
  • 35
  • 45
7
votes
2 answers

Getting rid of GWT MVP boilerplate

Following the documentation on places & activities + MVP, for each page I have to create: a place an activity a tokenizer (I have to implement the tokenizing logic) an interface for the presenter (the activity implements this interface) an…
David Frank
  • 5,918
  • 8
  • 28
  • 43
6
votes
2 answers

GWT 2.1 MVP (Activities/Places) and Tabbed Displays

On an existing project we’re using MVP (hand crafted) reasonably well. It’s understood and does mostly what we need. For a new project I'm looking at using the MVP framework built into GWT 2.1 (Activities and Places). Our applications are mostly…
K2J
  • 2,573
  • 6
  • 27
  • 34
6
votes
3 answers

GWT MVP updating Activity state on Place change

What is the best practise to update Activity state on Place change? Imagine you have an activity with view that displays list of categories and list of items in the category. If different category is selected then app goes to new place with category…
Martin Ždila
  • 2,998
  • 3
  • 31
  • 35
5
votes
2 answers

GWT, MVP, GIN, code splitting?

How to minimize the amount of code downloaded initially by GWT app user's browser? Well, just wrap potentially big operations in a GWT.runAsync() call. However, since our application is using GWT best practices (dependency injection, MVP pattern),…
user405458
  • 1,107
  • 3
  • 24
  • 38
1
2 3
8 9