Issues » 55

Archive | Read this issue on the Web
JavaScript Weekly Issue 55
December 2, 2011
JavaScript Libraries Now Used by 50% of Top 1m Web Sites Each month, W3Techs checks the top 1 million Alexa ranked Web sites and analyzes the technologies they use. For the first time, JavaScript library usage across them has reached the 50% mark (with jQuery taking 83.4% of that).
Internet Explorer 10 Platform Preview 4 Gets JavaScript Typed Arrays IE 10 Preview 4 brings typed arrays and binary file manipulation to JavaScript, but.. you'll need to be running the Windows 8 preview to give it a go, alas.
UtahJS JavaScript Conference 2011: Call for Papers 2011 You have three weeks to get your talk proposals in for the UtahJS conference taking place in late March, 2012.
UK jQuery Conference 2012: Training Workshops Announced
Dojo 1.7 Released
Efficient JavaScript A work-in-progress article rounding up changes that can be made to improve the performance of your Web applications, based mostly around ECMAScript (of which JS is a dialect) and the DOM.
Making CoffeeScript's Whitespace More Significant Reg Braithwaite looks at CoffeeScript's whitespace which, as in Python, has significance in certain areas of expression. He likes its significance with "if" and object literals, but makes an excellent suggestion about how it could become significant on method calls.
The Node.js Aesthetic James Halliday starts: "I would like to document an emerging set of programming conventions, philosophies, and values that I see evolving in the node.js community. I call this the node aesthetic."
Principles of Writing Consistent, Idiomatic JavaScript A 'living document' hosted on GitHub that outlines practices you can use to write consistent, well formatted JavaScript code. I like the quote: "All code in any code-base should look like a single person typed it, no matter how many people contributed."
Building Interactive Web Apps with SproutCore James Croft explains the use case for SproutCore 2 (a JS app framework most often used for 'rich' Internet apps) in a domain currently dominated by Backbone: building small interactive Web apps.
JS Libs Deconstructed The Deconstructed series is designed to visually and interactively deconstruct the internal code of JavaScript libraries, including jQuery, Prototype and MooTools. An interesting way to dig around.
Mock Testing CouchDB in Node.js with Nock and TAP
Code and Libraries
Route9.js: A VP8/WebM Video Decoder We saw a prototype H264 decoder in JavaScript recently, Broadway.js, and it inspired Ben Schwartz to modify it to support WebM too. The result is Route9.js.
Punycode.js: A Robust Punycode Convertor in JS Punycode is the system used to render Unicode-based internationalized domain names into an ASCII alternative. Punycode.js is a convertor for JavaScript that fully complies with RFCs 3492 and 5891.
Node.js Modules You Should Know About: Dnode Peteris Krumins starts off a new series of posts about "node.js modules you should know about" by looking at Dnode, an RPC library that lets you quickly build an RPC server that clients can call functions on.
KeyboardJS: Simple Key and Key Combo Bindings KeyboardJS is a library for binding to keys or key combos. It's available as an AMD module or a standard Library. The on-page demo is effective.
Humane JS: A Framework Independent On-Page Notification System Humane JS is a simple, modern, framework-independent, well-tested, unobtrusive, notification system. It uses CSS transitions when available but falls back to JS animation when not. It also includes mobile support.
Traffic Cop: Prevents jQuery's $.ajax() Making Simultaneous Requests With jQuery's ajax function, it's possible to make multiple requests for the same external resource simultaneously. Traffic Cop wraps jQuery's $.ajax() call with a $.trafficCop() function that cleans things up.
Breakpoints.js Define breakpoints for your responsive design, and Breakpoints.js will fire custom events when the browser enters and/or exits that breakpoint.
Nondeterministic Turing Machine Simulator in 23 Lines of JavaScript
debug: Tiny Node.js Debugging Utility The always prolific TJ Holowaychuk has released debug, a tiny Node-based debugging utility for your libraries and applications. It's modelled after Node core's debugging technique, allowing you to enable one or more topic-specific debugging functions.
dom.js: A WebIDL-Compliant HTML5 DOM in JavaScript The goal of dom.js is to evaluate whether it is feasible to implement a WebIDL-compliant HTML5 DOM in JavaScript. It used to be SpiderMonkey only but now supports Node.js 0.5.10 too.
JSF--k: Encode Arbitrary JavaScript with Only 6 Characters
Last but not least..
Variable Scope In JavaScript (A Pro Screencast) The concept of 'scope' in JavaScript can seem a little mystical if you don't know the rules, but Derick Bailey has put together a $9 screencast that walks through it all. There's a sample available so you can see if it's for you.
Vim on Cloud9 IDE Cloud9 is a popular online IDE for building JavaScript and HTML5 apps and they've added a new 'Vim mode' for those who prefer the Vim ways of getting around.
Published by Cooper Press.
Want to sponsor an issue? See our media kit.

© 2014 Cooper Press Ltd. Email policy Privacy policy
Cooper Press, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or unsubscribe here
ONE e-mail each Friday. Easy to unsubscribe. No spam — your e-mail address is safe
Published by Cooper Press and curated by Peter Cooper