Douglas Crockford, an architect at Yahoo!, is an AJAXWorld regular. A technologist of parts, he has developed office automation systems, done research in games and music at Atari, and been both Director of Technology at Lucasfilm and Director of New Media at Paramount. He was the founder and CEO of Electric Communities/Communities.com and the founder and CTO of State Software, where he discovered JSON. He is interested in Blissymbolics, a graphical, symbolic language, and is developing a secure programming language.
Cooperating applications, such as mashups, must be able to exchange objects with robust interfaces. An object must be able to encapsulate its state such that the state can be modified only as permitted by its own methods. JavaScript?s objects are soft and currently the language does no...
Browser sniffing is a bad practice inspired by even worse practice. In browser sniffing, a program attempts to determine what sort of browser it is dealing with so that it can act accordingly. Sniffing can be done on the server, or by scripts in the browser.
A more interesting question is 'Is XML on the web trending up or trending down?' Clearly, it is trending down. For data transfer applications, XML is losing ground to JSON because JSON is simply a better data transfer format. And XHTML has failed to displace HTML in the marketplace. Th...
I wrote JSLint to help me to be a better JavaScript programmer. The language is mostly good, but it has lots of kinks and traps. JSLint helps me to stay clear of the bad stuff, which tends to make my programs more robust.
DRM is sometimes called an enabling technology, in that it is supposed to enable new business models. But it is really a disabling technology. As DRM fails, there have been suggestions that the name be changed to something that includes the word enabling; give it a better image; someth...