Posts tagged ie

Jun24

RestClient: Soon to handle streaming bodies

restclient ruby | comments

Here’s a little patch I wrote to allow RestClient to stream the HTTP request’s body from a File, Tempfile, StringIO or other IO-like object.

The IO object must respond to #size (or #stat.size), #close, and #read(n)

Continue reading »

Nov12

HTML5 Drag and Drop: Not your father's D&D

html5 ie | comments

I’m working on spicing up the interface to one of our apps, so I thought I’d add some drag and drop to make things easier for users.

Here’s the workflow, the user is typing away at an article, and decides he wants to embed an image. So he selects the image from the file chooser control in the form, and the image is immediately uploaded (thanks YUI io!), and the thumbnail appears in a list on the right.

Continue reading »