The Server-Side Pad

by Fabien Tiburce, Best practices and personal experiences with enterprise software

Drag & Drop Using the Yahoo UI Library

leave a comment »

Drag and drop is not only ubiquitous in “fat client” (desktop/PC based) applications, it is also widely understood by end users and often expected. Recent advances and a number of capable third-party utilities have brought this capability within reach of most web applications. One such utility is the Drag & Drop from Yahoo! UI Library. It allows developers to declare draggable objects and destinations. The API provides javascript call-back event-handlers to implement presentational and business behaviours (such as making an Ajax call when a hypothetical draggable object schedulingEvent is dragged and dropped into a calendarDayCell object).

The following code hosted on the Betterdot website demonstrates how easy it is to implement Drag & Drop on a page using the Yahoo UI Library.


Written by Compliantia

April 2, 2008 at 8:06 pm

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: