Paresh Suthar's Radio Weblog
And that's all I have to say about that - Forrest Gump







Subscribe to "Paresh Suthar's Radio Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.
 

 

Wednesday, March 22, 2006
 


Matt and I presented a session on LiveClipboard and SSE today at MIX, and it went pretty well.  The demo gods were with us for two out of three demos we had planned on showing, but the last demo failed due to network issues (doh!).  I should've seen the signs that something wasn't going to work when our secondary demo machine wouldn't boot. 
 
Minor issues aside, I think the we were able to spread the word on how LiveClipboard and SSE can help "wire the web", and hope that some interesting discussions will ensue.
 
We got a lot of good questions on LiveClipboard and SSE, here's a few that are fresh in my mind:
 
Q: What JavaScript is used to copy/paste content to the clipboard?
A:  No JavaScript is used (see detailed explanation).  In a nutshell, we have a hidden text field that has focus where content is placed, and then leverage the browser commands to perform copy/paste.
 
Q:  If you are using a hidden text field for the Live Clipboard contents, won't you run into size limits (depending upon the OS)?
A:  Yes, you can run into size limits (e.g. 32K on Win98).  Our recommendation is to try to keep the Live Clipboard content size small  when possible (e.g. urls to images instead of base64 encoded representations). 
 
Q:  How can you better help the user to understand what is being copied to the clipboard, like when a photo is copied from a website and pasted into Windows Explorer, how do let them pick from multiple resolutions?
A:  You can provide optional UI on the appropriate page/elements like the different resolutions and move the LiveClip icon as the user moves the mouse.  But keep in mind that you want minimize cases where the user needs to make choices during the copy operation (e.g. do I want the low res image or high) - have the copy operation result in Live Clipboard data with as many formats as possible, and then you might prompt the user upon the paste operation about what should be pasted.
 
Q:  SSE keeps information about the update history for an item, but not the actual data for past versions - how can we address this issue?
A:  Option 1 is to keep older versions of the data in a separate namespaced element when performing update/merge/delete operations.  Option 2 is to never update data, but instead mark the older version item as deleted, create a new item with the same content, and add an attribute on the new item that represents the id of the older version item.


8:47:09 PM    comment []


Click here to visit the Radio UserLand website. © Copyright 2006 Paresh Suthar.
Last update: 4/2/2006; 10:43:15 AM.
This theme is based on the SoundWaves (blue) Manila theme.
March 2006
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Jan   Apr