Section 3. Implement Drag and Drop

Drag and drop, which is somewhat of a yawner in the world of desktop applications, is the holy grail for web applications. The ultimate symbol of user interactivity, drag and drop, until recently, has been the purview of mystical JavaScript frameworks such as Scriptaculous. Now, with the advent of the next generation of web application frameworks, such as Rails and the GWT, we’re starting to see drag and drop become accessible to the common web developer.

You might assume that to implement drag and drop, we are going to make use of what we learned in “2 Incorporate JavaScript and JavaScript Toolkits” on page 20. But that’s not the case. Consider:

The GWT compiles your client-side Java code to JavaScript

Get Google now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.