Dart Web Toolkit

Dart Web Toolkit (DWT) is a development toolkit for building and optimizing complex browser-based applications inspired by GWT.


Project maintained by akserg Hosted on GitHub Pages — Theme by mattgraham

Project Sponsors

What is the DWT?

DWT is a port of GWT written in pure Dart language. You can create a new enterprise level web application fairly quickly with the DWT. DWT has a rich set of widgets, panels and utility classes compatible with GWT, so migration from an existing Java web applications to the Dart will be faster and easier. You can use your existing GWT themes in the DWT.

Build Status

The DWT in action?

You can look at the Dart Web Toolkit Showcase, to see the DWT in actions. For details about what’s inside and the principles on which it is built (and libraries), see the official web site.

API Documentation

Before move deeper you may wish to look at the API Documentation.

What under the bonnet?

DWT is a set of libraries:

The current version (0.3) has a rich set of components:

Widgets:

Panels:

Layout based panels:

Popups:

Animation library helps to organise animation slide, fade or popup effects. Developers can use existing or create new components on them owns.

How to create a brand new web application on the DWT?

Note: If you are just beginning to study the Dart language please read the tutorial first. You need to have latest version of the DartEditor with the Dart SDK installed on your computer.

dependencies:
  dart_web_toolkit: ">=0.3.0"
<link rel="stylesheet" 
    href="packages/dart_web_toolkit/resource/clean/clean.css">
library dwt_hello_world;

import 'package:dart_web_toolkit/ui.dart' as ui;

void main() {
    ui.Label label = new ui.Label("Hello, World!");
    ui.RootLayoutPanel.get().add(label);
}

Congratulations you have just created your first application on the DWT!

What's next?

Fork the DWT

If you'd like to contribute back to the core, you can fork this repository and send a pull request to me, when it is ready.

If you are new to Git or GitHub, please read this guide first.

License

Copyright (c) 2012-2013 Sergey Akopkokhyants Licensed under the Apache 2.0 License.

Credits

This makes use of a lot of ideas from the GWT source code, so big thanks to the Google GWT team!