Cross-Browser Drawing

Posted by Gavin Doughtie Fri, 02 Jun 2006 06:03:00 GMT

Ajaxian had a link to a nice “proof of concept Ajax Visio” today that uses the Walter Zorn library.

I have a new sample up for design review by the dojo crowd. If you want to look at it:

Cross-browser javascript drawing API

And it should work in Firefox 1.5+, Safari (Canvas only) and IE (note that the IE Canvas is DirectAnimation).

The existing Javascript vector drawing editor is still up (Firefox 1.5+ only), but I haven’t added anything to it lately.

Posted in Canvas, Direct Animation, VML, SVG, Drawing, Javascript, AJAX | 2 comments | no trackbacks

Better AJAX Chat

Posted by Gavin Doughtie Sat, 08 Oct 2005 20:39:00 GMT

So the demos I've been doing at Web 2.0 of xdraw, my shared vector-drawing application, have been using the fairly brain-dead "web page polls the server continuously for changes" approach to AJAX chat. Naturally, this is pretty bad for the health of my server (50% CPU consumption anyone?). The better approach is to have the server hold open the connection and jam data down the pipe whenever something changes. This is the system used by jotspot and the HTTP.push library. Stay tuned as I turn it on.

Posted in Web 2.0, Software, Ruby, AJAX, Javascript | no comments | no trackbacks