SmartGWT plugin

  • Tags : ui, xml, gwt, rest, json
  • Latest : 0.2
  • Last Updated: 05 January 2011
  • Grails version : 1.3.2 > *
  • Authors : null
2 votes
Dependency :
compile ":smartgwt:0.2"

Documentation Source Issues

Summary

Provides SmartGWT integration (install smartgwt, dependency to GWT...)

Installation

Guide : Getting Started

1- $grails install-plugin smartgwt

2- Eclipse : Add SmartGWT to your build path project. In project explorer, go in lib/smartgwt*.jar

  • Right click then add to build path.
for more details: got

3- A default controller, view is generated.

Check if GWT plugin is properly installed : 4- Try to compile : $grails compile-gwt-modules > Nothing will be done because no module have been created.

5- Development mode : $ grails run-app

Just after runs : $grails run-gwt-client

Commands usage

$grails create-smartgwt-application com.package.application widgetname

  • This target creates a default module which contains com.package as package. The module contains one root class called Application. This class extends to EntryPoint.
  • Additionnaly a new GSP page containing a SmartGWT/GWT UI will be created.
note: The application name and the widget name must be lower case ! (GWT convention)

$grails create-smartgwt-module com.package.Module1

  • Creates a new SmartGWT module without GSP. User have to manually bind the module in they're application.

Description

SmartGWT support for Grails.

This plugin provides an easy way to start developing with GWT, Grails and SmartGWT.

This plug-in enhances SmartGWT support for Grails 1.3*. By providing, usefull commands to generates sample of Application.

Smart GWT is a GWT-based framework that allows you to not only utilize its comprehensive widget library for your application UI, but also tie these widgets in with your server-side for data management. For a quick conceptual overview of Smart GWT : http://code.google.com/p/smartgwt/

The main idea of smartgwt is to introduce an object called datasource. This object can be feed by the client as JSON, XML, etc.. On datasource is easy to integrate and debug from your grails application because grails provides really good converter (XML, JSON). So, your controllers are responsible to build output content ready to be parsed as XML or JSON.

Future development of SmartGWT will turn into this direction..

This plugin provides an easy way to start developing with GWT, Grails and SmartGWT.

This plug-in enhances SmartGWT support for Grails 1.3*. By providing, usefull commands to generates sample of Application.

Smart GWT is a GWT-based framework that allows you to not only utilize its comprehensive widget library for your application UI, but also tie these widgets in with your server-side for data management. For a quick conceptual overview of Smart GWT : http://code.google.com/p/smartgwt/

The main idea of smartgwt is to introduce an object called datasource. This object can be feed by the client as JSON, XML, etc.. On datasource is easy to integrate and debug from your grails application because grails provides really good converter (XML, JSON). So, your controllers are responsible to build output content ready to be parsed as XML or JSON.

Future development of SmartGWT will turn into this direction..

Features

  • Create a basic smartgwt application from one command line.
  • Creating additional smartgwt module

ROADMAP

  • version 0.4
    • Proposal for simple DataSource object for REST / XML
      • Add CRUD controller template
        • READ : DynamicForm
        • EDITOR : DynamicForm
        • LIST : ListGrid Rest
  • Large grid template
  • version 0.5
    • Add large grid example.
    • Improve server side with more sophisticated controller.
  • version 0.3
    • Add large grid example
    • Provide JSON support

Dependencies

  • Grails 1.3.2+ and GWT plugin 0.5.2
  • GWT 2.1
  • SmartGWT 2.4

Contact

Blog: http://unhook.eu Contact: Victor Benarbia Email: jvmvik@gmail.com Follow me on twitter: jvmvik