[drraw-users] More Colors? Auto detect DSs?

Garrett Wollman wollman at csail.mit.edu
Wed Mar 7 09:30:55 PST 2007


<<On Wed, 7 Mar 2007 12:19:30 -0500, Christophe Kalt <kalt at taranis.org> said:

> On Mar 07, Joel Krauska wrote:
> | There are lots of sexy things you could do with drraw if you wanted to 
> | spend a few weeks using AJAX. (populate DS lists, immediately show graph 
> | updates, etc..)

> I'm open to the idea, do *you* have time? ;-)

> | At the expense of sanity and perhaps server load.

> Well, i can't help with your sanity, but hopefully we can
> minimize the impact on the server.

Anyone thinking of doing this and wishing to maintain some degree of
sanity should probably start out with the Prototype
(<http://www.prototypejs.org/>) and Scriptaculous
(<http://script.aculo.us/>) libraries rather than trying to roll one's
own.  Your brain will hurt enough as it is, there's no need to add the
even greater burden of writing all that glue yourself (and making it
work on four different browser platforms).

Then doing an AJAX call becomes as simple as:

myRequest = new Ajax.Updater('id-of-element-to-update', '/url/here');

-GAWollman



More information about the drraw-users mailing list