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.
Wednesday, April 02, 2008
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment