Synonyms page for GWT devs (like the page for JavaScript devs)

20 views
Skip to first unread message

Alexander Orlov

unread,
Mar 14, 2012, 10:08:22 AM3/14/12
to General Dart Discussion
You've created a nice page (http://synonym.dartlang.org) where you
show Dart equivalents for common JavaScript idioms. It would be great
if you could create a similar page for *GWT idioms*. E.g. what's the
equivalent of GWT's Places&Activities API or how should you create
unit tests which test UI actions and events in Dart? I suppose there
are no equivalents for these *idioms in Dart* yet because there is *no
high-level framework for Dart* (with sth. like GWT's UiBinder) that
supports them. But as soon as this framework is available, it would be
awesome to have such a *synonyms page for GWT devs*.

Paul Brauner

unread,
Mar 14, 2012, 10:19:19 AM3/14/12
to Alexander Orlov, General Dart Discussion
Makes me thing, as someone who's more used to Java than Javascript, I found myself wanting for a Java/Dart Synonym the other day (esp. concerning object creation).

Paul

Sam McCall

unread,
Mar 14, 2012, 11:51:37 AM3/14/12
to Paul Brauner, Alexander Orlov, General Dart Discussion
+1, I think a Java <-> Dart rosetta stone would be nice.

A GWT/Rails/Django <-> Dart-Webapps-Framework guide would be nice once the latter exists, but would hopefully be kept separate from the language stuff.

For now, to do things like Activities/Places, look at the underlying DOM History API, aka 'pushState' (which isn't perfect, but much better than Activities/Places IMHO!).
Examples will be in JavaScript, but should translate very easily to Dart.


Unit testing for UIs is a pretty open question, as far as I know...

Seth Ladd

unread,
Mar 14, 2012, 5:32:57 PM3/14/12
to Sam McCall, Paul Brauner, Alexander Orlov, General Dart Discussion
Thanks for the suggestion, I agree a synonym between GWT and Dart would be useful. I suspect we'll build one once more of the UI framework lands.
Reply all
Reply to author
Forward
0 new messages