javascript - Dart with desktop HTML application frameworks -
i'm planning create cross platform desktop application dart. because there's no ready built frameworks supporting dart yet, have compile dart javascript first. cannot develop completly in dartium since desktop frameworks built around html5 provide custom javascript api's (file system access, native library support, etc.) i'm planning use.
i've found following frameworks might suit needs i'm looking best practices when developing dart.
- node-webkit: fusion of node , webkit browser engine. provides many packages in form of npm. node , webkit shares same thread it's efficient in terms of communication between different worlds. writing , accessing native modules javascript seems problematic. has documentation. there's node-webkit.dart access of api's dart.
- xulrunner: gecko engine behind mozilla products reusable framework. provides it's own ui descriptor (xul). has easier support native modules (js-ctypes). seems documented on mdn. no dart library written support development yet.
- tidekit/tidesdk: supports many languages (dart might supported later on [link] [link]). built around webkit. seems documented. cannot seem find pub packages supporting it.
maybe there other options haven't seen yet. i've excluded projects appjs (dead), , cappucino (osx only).
there first option.
you can write chrome packaged app dart.
dart2js makes possible compile dart code javascript.
and chrome.dart package, chrome apis availble.
spark nice example. see https://github.com/dart-lang/spark
Comments
Post a Comment