Skip to main content

A JavaScript Tutorial

Posted by robc on June 1, 2006 at 10:00 AM PDT

If you need to brush up on your JavaScript, this tutorial is a great place to start (link courtesy of reddit).

The caveat on slide 83 about adding properties to Object.prototype resonated with me. Until now in Phobos we've tried to avoid modifying the built-in objects, but there are advantages in doing so, as Prototype shows. You'd think that on the server there'd be less opportunity for conflicts, but what if people start reusing bits and pieces of their favorite client toolkits? See also Joe's blog entry on how the community is self-organizing to deal with the most annoying naming conflict to date ($, of all things).

Related Topics >>