I’m accustomed to making broad statements without qualification (hey, I was in Sales for a while). But the other day, I was reading the Web site of a somewhat popular Javascript library written by a PhD, and after nearly every article on the site, I had to shake my head and ask, “Is this what [...]
Monthly Archives: August 2005
Javascript Has No Class
Efforts underway for JavaScript 2.0 (AKA ECMAScript Edition 4) notwithstanding, JavaScript doesn’t really have classes. Not classes like you’re familiar with in Objective-C, C++, or Java.
Just because JavaScript doesn’t support classes, doesn’t mean you can’t write really sophisticated object-oriented applications. You just have to understand the power of prototype inheritance and give up your fear [...]
Keeping Up Standards
I’ve an Atom 1.0 feed here, but Safari seems to choke on it. I’ve tested it via the Feed Validator: it’s definitely valid.
I suppose that’s the danger of supporting the latest standards.
Ajaxian Limitation
I was just thinking about adding another Ajax-y feature to the site when it occurred to me: I can either return JavaScript or HTML but not both.
Typically when returning HTML using an XMLHttpRequest object I set the innerHTML property of a div on the page with the result (provided the operation was successful). But I’m [...]