Web applications should have the ability to manipulate as wide as possible a range of user input, including files that a user may wish to upload to a remote server or manipulate inside a rich web application. This specification defines the basic representations for files, lists of files, errors raised by access to files, and [...]
[10 Dec 2009]
Not recommended for validating URLs, but it will find them. The g flag is JavaScript specific and indicates that the matching should be global. /http:\/\/[\-\.\/\w]{1,256}(|\/)/gi
[25 Nov 2009]
SitePoint’s Kevin Yank brings us some serious criticism of Google Closure from Dmitry Baranovskiy, creator of the Raphaël and gRaphaël JavaScript libraries. From the post: Having delivered a talk on how to write your own JavaScript library (detailed notes) at the conference, Dmitry shared his thoughts on the new library over breakfast the next morning. [...]
[12 Nov 2009]
From the Google Code Blog: Closure Compiler, Closure Library, Closure Templates, and Closure Inspector all started as 20% projects and hundreds of Googlers have contributed thousands of patches. Today, each Closure Tool has grown to be a key part of the JavaScript infrastructure behind web apps at Google. That’s why we’re particularly excited (and humbled) [...]
[6 Nov 2009]
Building on the work of Christian Heilmann,* and his SITESEARCH 1.0, I present a modified version of his site search script that supports paginated results. View a working example Download the JavaScript What do you have to do differently to make this work? The good news is not much . The major difference is the [...]
[20 Feb 2009]
John Resig of jQuery fame, has a post about a huge performance boost coming to Firefox 3.1: TraceMonkey. TraceMonkey, Resig explains, uses a computing technique known as trace trees (PDF) which adds just-in-time native code compilation to SpiderMonkey, Firefox’s current rendering engine. What does this mean? As Resig explains: It means that JavaScript is no [...]
[24 Aug 2008]
Go read Niall Kennedy’s post about using JavaScript to sniff a user’s browser history. It’s an inventive use of your user’s browser history, though I suspect it could potentially be used — in combination with cookies and logins — to detect which of your users are also regular porn surfers. With that little bit of [...]
[8 Feb 2008]
Digital Web has two articles that are related to this post. Check out Excerpt: Accelerated DOM Scripting with Ajax, APIs and Libraries and jQuery Crash Course As the number of web-based applications grow, so do the number JavaScript frameworks and toolkits with the goal of making cross-browser development an easier process. But which to choose? [...]
[4 Oct 2007]
John Resig of jQuery fame gives some tips on writing a JavaScript Library. Source. Also of interest: JavaScript Tips for Novices, Acolytes, and Gurus
[28 Aug 2007]