Main Page

Search:

craigslist classifieds austion shopping

Google I/O 2008 - JavaScript and DOM Programming in GWT

Craigslist and Classifieds Online
Craigslist and Classifieds Online Craigslist and Classifieds Online
Craigslist and Classifieds Online

Surprisingly Rockin' JavaScript and DOM Programming in GWT Bruce Johnson (Google) You may already know about GWT's nifty JavaScript Native Interface (JSNI), which allows you to define native Java methods with handwritten JavaScript. In GWT 1.5, there's an even more powerful way to program close to the metal. You can now model arbitrary JavaScript types directly as Java classes (specifically, as subclasses of GWT's JavaScriptObject class), yet there is no overhead in size or speed. You can code against any JavaScript object as if it were a regular old Java object. So, what does that buy you? * It's never been easier to integrate with external JS libraries; just define a Java class that models the JS object you want to interact with. Nice Java syntax, no overhead. * Freely use low-level native JS data structures (JS arrays, for example) by exposing them with a Java-friendly API. You can even apply Java generics to JS types! * Superimpose strongly-typed Java classes on JSON objects, giving you IDE code completion, refactoring and compile-time type checking. * GWT uses this new ability to provide a complete cross-browser DOM class hierarchy based on the W3C's Java HTML bindings. Programming straight to the DOM has never been more productive. Come learn about this unusual and powerful new capability that you can use to squeeze every drop of performance and interop out of your GWT projects.

Channel: Science & Technology
Uploaded: November 30, 1999 at 12:00 am
Author: GoogleDevelopers

Length: 10:56
Rating: 4.56
Views: 11837

Tags: Google  GWT  I/O  IO2008  Toolkit  Web  

Video Url:


Embed Code:

Video Comments

OkNowImWatching (November 30, 1999 at 12:00 am)
You make decompiling shrouded code seem easy.
OkNowImWatching (November 30, 1999 at 12:00 am)
Bruce Johnson:"[..] then the compiler shuts up and then everything works"; I love it when that happens!
0BLAC197758 (November 30, 1999 at 12:00 am)
I hate JavaScript! I hate also Adobe flash! I love firefox!
eutana (November 30, 1999 at 12:00 am)
anyone out there know how to fix javascript turned off error? Answer in text. Can not view video.
soluckygirl (November 30, 1999 at 12:00 am)
Nice, Really Nice!!!
cheshire1994 (November 30, 1999 at 12:00 am)
Great video, i'm a big fan of 'Google'

Craigslist and Classifieds Online © 2007 All Rights Reserved.