Research Log of Web Science Students

Computer Science is not simply programming

GWTScript

leave a comment »

So the other day, I got a first glimpse of coding using the Google Web Toolkit (GWT) myself. It was pretty fun actually — it’s like you’re doing JavaScript but it’s on pure Java now.

RootPanel.get(optional_id_of_element_in_page).getElement().function;

is the equivalent of…

document.getElementById(id_of_element_in_page).function;

There’s a list of functions that can be used. Thank goodness for auto-complete.

Advertisements

Written by Paolo Sy

November 21, 2009 at 3:21 pm

Posted in Hardwire

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: