Useful JavaScript Programming Sites

There are some sites I tend to consult all the time while programming in JavaScript. Let’s see what they are…

Core JavaScript 1.5 Reference – Mozilla Developer Center
A thorough and complete reference for the JavaScript language and standard library, with examples and links to more information, etc. Really good.
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference

Gecko DOM Reference – Mozilla Developer Center
Complements the above reference with a complete reference to the document object model, i.e. all the methods and classes that are available in JavaScript for manipulating the web page in the browser.
http://developer.mozilla.org/en/docs/Gecko_DOM_Reference


Canvas Class Reference –
Apple Developer Connection
If you like playing with the canvas tag like I do, then this is the place to go for reference documentation on the 2d graphics context object. Complete and handy with all in one page.
http://developer.apple.com/documentation/AppleApplications/Reference/SafariJSRef/Classes/Canvas.html

Prototype JavaScript Framework API
The reference documentation for the Prototype framework. Of course, this is only useful if you’re using Prototype. But if you’re not, you better have a really good excuse… such as using some bloated alternative like the Yahoo UI Library or Google Web Toolkit.
http://www.prototypejs.org/api

Dojo ShrinkSafe

Dojo ShrinkSafe shrinks the sizes of your JavaScript source files by removing whitespace and renaming local variables to shorter names, and some other stuff. Saves bandwidth and loading time without really giving much up, except debuggability. But you’re not doing debugging on your live site anyway, right? Riiight?!
http://alex.dojotoolkit.org/shrinksafe/


A Note On PHP

Php is the most useful piece of crap ever shat on the face of the Earth. My old software engineering professor Uwe Aßmann (who held the by far best lectures I’ve ever had the pleasure to attend) used to call it Some Dude’s Law (I can’t remember whose) – that the ugly and worst designed software (Windows, PHP…) always win over the sexy and well designed (BeOS, Smalltalk…). Well, that’s how it is. Php makes me feel sick all the time, but I still use it. Because I have to (because that’s what’s installed) is only half the reason. The documentation is top notch, and I’m very productive using it. In Windows…