14 items tagged “douglas-crockford”
2008
JavaScript: The Good Parts. Douglas Crockford’s soon-to-be-published book on the subset of JavaScript that he recommends. Promises to be “short, but dense”—if it’s half as good as his JavaScript lectures this is going to be a must-have.
hash. Douglas Crockford: “Any HTML tag that accepts a src= or href= attribute should also be allowed to take a hash= attribute”—to protect against file tampering and (more importantly) provide a truly robust caching mechanism.
2007
In the long term, I want to replace JavaScript and the DOM with a smarter, safer design. In the medium term, I want to use something like Google Gears to give us vats with which we can have safe mashups. But in the short term, I recommend that you be using Firefox with No Script. Until we get things right, it seems to be the best we can do.
The Elements of JavaScript Style. Douglas Crockford illustrates better coding practises through refactoring of old code.
Base32 encoding (via) I was on the verge of inventing this when I discovered that Douglas Crockford had invented it for me.
JavaScript Minifier that doesn’t break code (via) Perl re-implementation of Douglas Crockford’s classic JSMin that doesn’t clobber IE’s conditional comments, by Peter Michaux.
JSON and Browser Security. Douglas Crockford suggests using secret tokens to protect JSON content, and avoiding wrapper hacks to protect unauthorised JSON delivery as they may fall foul of undiscovered browser bugs in the future.
Browser Wars. Doug Crockford is hosting a panel discussion with Chris Wilson from IE, Mike Shaver from Mozilla and Håkon Wium Lie from Opera on February 28th in Sunnyvale.
With this much storage, you can imagine filesystems in which files are never deleted and files are never rewritten. The filesystem never forgets. Such systems could be much more reliable than the systems we use today which are based on the assumption that storage is a constrained resource.
2006
The good thing about reinventing the wheel is that you can get a round one.
I read on Niall Kennedy that del.icio.us has come up with an API that returns a JSON structure, and I figured, sheez it can't be that hard to parse, so let's see what it looks like, and damn, IT'S NOT EVEN XML! [...] Who did this travesty? Let's find a tree and string them up. Now.
XHTML is not going to replace HTML as the web's official markup language because it turns out that resilience is more useful than brittleness.
Proposed RFC for application/json (via) Douglas Crockford is putting JSON through the IETF.
2005
JSON and Yahoo!’s JavaScript APIs
I had the pleasure yesterday of seeing Douglas Crockford speak about JSON, the ultra-simple data interchange format he has been promoting as an alternative to XML. JSON is a subset of JavaScript, based around that language’s array, string and object literal syntax.
[... 240 words]