8000 Home · ibouakl/gwt-mvp Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Imad BOU AKL edited this page Jun 12, 2014 · 15 revisions

Introduction:

This framework contains the Model-View-Presenter (MVP) Pattern and client gwt widgets for building Asynchronous GWT Web Application. This framework supports all majors Browsers…​

Model

A model for business objects.

View

A view contains all of the UI components that make up our application. This includes any tables, labels, buttons, textboxes, etc…​ Views are responsible for the layout of the UI components and have no notion of the model.

Presenter

A presenter contains all of the logic for our Entity application, including data sync via RPCs back to the server. As a general rule, for every view you’ll want a presenter to drive the view and handle events that are sourced from the UI widgets within the view.

Reference

Community

Find out how to use gwt-mvp-ui here :

Dependencies

To enable gwt-mvp-ui in your pom.xml, add the dependencies below. Define the ${gwtmvpui.version} property in your POM

  • Properties

    <properties>
       <gwtmvpui.version>1.1.0-SNAPSHOT</gwtmvpui.version>
    </properties>
  • Add the following dependency to the POM:

    <dependency>
        <groupId>com.gwt.composants</groupId>
        <artifactId>gwt-mvp-ui</artifactId>
        <version>${gwtmvpui.version}</version>
    </dependency>
  • Add to the gwt.xml file:

    <inherits name='com.gwt.mvp.Mvp' /> <!-- For the mvp module -->
    <inherits name='com.gwt.ui.Ui' />   <!-- For the ui module -->
Clone this wiki locally
0