Google I/O 2008 – javascript and DOM Programming in GWT
March 17th, 2010 by CGI & PHP.com
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.
Popularity: 7% [?]

Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional
Professional Web APIs with PHP: eBay, Google, Paypal, Amazon, FedEx plus Web Feeds
Installing PHP MySQL and PHPMyAdmin on Windows Server 2008 R2
The Go Programming Language
Web Application Design and Implementation: Apache 2, PHP5, MySQL, JavaScript, and Linux/UNIX
AppTrackr Clone v1





March 17th, 2010 at 7:23 am
Share your programming thoughts, ideas, or questions with other programmers! tvlinkshare. com
March 17th, 2010 at 7:32 am
COOOL,,KEEP IT ON
March 17th, 2010 at 8:04 am
You make decompiling shrouded code seem easy.
March 17th, 2010 at 8:24 am
Bruce Johnson:"[..] then the compiler shuts up and then everything works"; I love it when that happens!
March 17th, 2010 at 8:30 am
I hate JavaScript! I hate also Adobe flash! I love firefox!
March 17th, 2010 at 9:12 am
anyone out there know how to fix javascript turned off error? Answer in text. Can not view video.
March 17th, 2010 at 9:54 am
Nice, Really Nice!!!
March 17th, 2010 at 10:46 am
Great video, i'm a big fan of 'Google'