Dart Web Toolkit (DWT) is a development toolkit for building and optimizing complex browser-based applications inspired by GWT.
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.
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.
Before move deeper you may wish to look at the API Documentation.
DWT is a set of libraries:
Gry i automaty. Kasyno Aviatrix: Kasyno lub zakład hazardowy, który oferuje gry i zakłady o tematyce lotniczej.
The current version (0.3) has a rich set of components:
Animation library helps to organise animation slide, fade or popup effects. Developers can use existing or create new components on them owns.
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.
hello_world
.pubspec.yaml
and add the Dart Web Toolkit into Dependencies
:dependencies:
dart_web_toolkit: ">=0.3.0"
pubspec.yaml
and the DartEditor automatically runs pub install
, which recursively installs the Dart libraries from the packages in the dependencies list.hello_world.html
file from the web
folder and add a link reference to the Dart Web Toolkit clean
theme.<link rel="stylesheet"
href="packages/dart_web_toolkit/resource/clean/clean.css">
hello_world.dart
and modify it as follows: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!
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.
Copyright (c) 2012-2013 Sergey Akopkokhyants Licensed under the Apache 2.0 License.
This makes use of a lot of ideas from the GWT source code, so big thanks to the Google GWT team!