Issues » 19

Archive | Read this issue on the Web
JavaScript Weekly Issue 19
March 25, 2011
Welcome to issue 19 of JavaScript Weekly! We're sporting a different design now but it's not quite finished as the deadline for this issue approached a little too quickly. Next week should see the rough edges rounded off, so withhold judgment till then! :-) Anyway, on with the links (and there are a lot this week)..
News
jQuery 1.5.2 RC1 Released: Final Due March 31st John Resig has announced the release of the first release candidate for jQuery 1.5.2. This is a minor release but if you're a plugin developer or need to test, check it out. John says that the final release of 1.5.2 is due on March 21st.
Akshell: Server-side JavaScript Development and Hosting The Akshell online JavaScript IDE made a big splash on Hacker News this week. There's nothing to download or install. You can create an initial app with a single click and manage your code with Git and collaborate on GitHub.
Firebug 1.7.0 Released: Now Supporting Firefox 4.0 Firebug is a super popular Web development plugin for Firefox which has hit version 1.7 this week, gaining full Firefox 4.0 support (and more!)
Articles
Automating JavaScript Testing with QUnit Haven't tried automated testing for your JavaScript code yet? Jorn Zaefferer presents a very basic but through demonstration of how you can automate your JavaScript testing using the easy-to-use QUnit system.
Bulletproof Node.js Coding Stella Laurenzo discusses the motivation for improving your style in Node.js to have more robust 'bulletproof' code and demonstrates 10 best practices for you to apply. This is a long one!
Creating Responsive Applications Using jQuery Deferred and Promises Julian Aubourg and Addy Osmani show off the new 'deferred' functionality in jQuery 1.5 and how it can help you build responsive, asynchronous JavaScript apps that are easy to extend on the fly.
A Template for Node.js Webapps on Amazon EC2 Do you want to get a Linux instance for deploying node.js apps up and running quickly on Amazon's EC2 service? If so, check out Rasmus Andersson's handiwork.
JavaScript QuadTree Implementation Mike Chambers investigates using 'quad trees' to do efficient collision detection in JavaScript (with an EaselJS powered app). Here he shows off how it works with code and a live, visual demo.
npm 1.0: Global vs Local installation npm is a package manager for node.js and a popular way to install node.js modules and executables. npm 1.0 is now in release candidate mode and Isaac Schlueter explains how npm 1.0 offers both local and global installation capabilities.
Code and Libraries
Qwery - A Tiny Selector Engine in 1K The world needs another JavaScript DOM selector engine says Dustin Diaz! Qwery is a tiny 1K attempt and supports all of the basic CSS1 and CSS2 selectors as well as the main CSS3 ones.
jquery-pjax: Ajax-powered Page Replacement with History 'pushState + Ajax = pjax' says Chris Wanstrath of GitHub. pjax loads HTML into the current page without a full reload. It's Ajax with real permalinks, page titles, and a working back button that fully degrades.
ql_canvas: Simpler Canvas Initialization ql_canvas is a simple loading script for initializing and interacting with Canvas elements. It condenses the JavaScript you normally have to write to append, size and set the context for a Canvas element into a single object.
easy-oauth: Simple OAuth for your Express and Node.js Apps EasyOAuth is a simple module that is intended to make it very easy to add OAuth support to your node.js-powered website.
Galleria: Multi-Theme Image Gallery Framework on jQuery Galleria is a JavaScript image gallery framework built on top of jQuery. Its aim is to simplify the process of creating professional image galleries.
Tempo: A Tiny JSON Rendering Engine Tempo is a tiny JSON rendering engine that enables you to craft data templates in pure HTML. It has no dependencies so might be particularly useful if you're not using a major framework.
Phantom JS: A Full WebKit Browser Controllable by JavaScript PhantomJS is a command-line tool that packs and embeds WebKit and which can be controlled or scripted using its JavaScript API. I first mentioned PhantomJS in issue 11 when it was in its early stages but now it has a full shiny site!
MicroEvent.js - A Tiny 'Event Emitter' in 20 Lines MicroEvent.js is a event emitter library which provides the observer pattern to JavaScript objects. It works on node.js and in the browser.
oCanvas: Object-Based Canvas Drawing oCanvas is a JavaScript library intended to make development with HTML5 Canvas easier. Instead of working with pixels, you work with objects. It's very straightforward and easy to get started with.
List Posts
20 Fresh JavaScript Data Visualization Libraries A delightful look at 20 different data visualization libraries, along with screenshots, by Jacob Gube.
JavaScript and jQuery Modal Dialogs Roundup Joe Stagner presents a visual roundup of 17 jQuery-based 'modal dialog' plugins. Basic but I've found these sorts of roundups useful before.
Last but not least..
PHP.js: PHP Functions for JavaScript Familiar with PHP's myriad of handy functions? A couple hundred of them have been ported into JavaScript for you to use. Enjoy! (Please forgive me PHP detractors..)
Tools For jQuery Application Architecture - A Printable Chart Addy Osmani has put together an interesting chart of the tools you could lean on to build jQuery applications using certain architectural patterns.
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