4 ms·
Has anyone built something that illustrates Dart's features or made a neat web app with it? Can it handle graceful degradation from running in a browser which n
by sswezey 14y ago
Has anyone built something that illustrates Dart's features or made a neat web app with it? Can it handle graceful degradation from running in a browser which natively supports Dart to a browser which requires JS compilation?
- munificent 14y ago> Has anyone built something that illustrates Dart's features Take a look at: http://synonym.dartlang.org/ http://synonym.dartlang.org/ > or made a neat web app with it? We're getting there. People are starting to build frameworks and libraries, and there are a bunch of sample apps floating around. The language itself is still changing pretty quickly, so it's most amenable to early adopters. As things get more stable, I think we'll start to see more apps. > Can it handle graceful degradation from running in a browser which natively supports Dart to a browser which requires JS compilation? Yes. There's a canonical stub .js file that you add a script tag for on your page. That will detect whether or not the browser supports Dart and pull in either the native Dart code or the compiled-to-JS one as appropriate. With this, you can write an app that any browser can hit and it will do the right thing.
- libria 14y agoAJAX commands are still shown as: var xhr = new XMLHttpRequest.getTEMPNAME( Hasn't this been changed per http://code.google.com/p/dart/issues/detail?id=2584 http://code.google.com/p/dart/issues/detail?id=2584 ?