Issues » 20

Archive | Read this issue on the Web
JavaScript Weekly Issue 20
April 1, 2011
Welcome to issue 20! I express apologies for being a few hours late again but it's been an April Fools dodging minefield out there ;-)
jQuery 1.5.2 Released: Just Bug Fixes jQuery 1.5.2 has been released on schedule. It's just a bug fix release though, so there are no new features to report. Upgrade when ready!
Unveiling Felix's Node.js Guide Felix Geisendorfer has started an 'opinionated and unofficial' guide to help people getting started in node.js. Looking pretty good so far!
NodeJitsu looking for interns in NYC and SF
Getting Started with Handlebars.js Alan Johnson presents a short but sweet introduction to handlebars.js, a JavaScript port of the Mustache templating language. It's incredibly straightforward and worth a look.
JavaScript Template Language Shootoff A JSPerf performance test comparing 14 different JavaScript templating engines on a short template. Who's the winner on your browser?
A Recipe for a YUI 3 Application An extensive discussion and demonstration of architecting and building a YUI (Yahoo UI Library) app by Daniel Barreiro.
Load Big Webapps Quickly with a Custom Dojo Build Two IBM engineers demonstrate how a customized build of Dojo (a popular JavaScript framework) can significantly reduce the JavaScript footprint of your large applications.
Terrain Generation with the Diamond Square Algorithm Paul Boxley shows off an interesting visual demo of a 'terrain generation' algorithm he's implemented using CoffeeScript. The code is available on GitHub and is surprisingly simple.
Minifying JavaScript with Jake and Uglify.JS
Opinion: JavaScript on the Server AND the Client is Not A Big Deal
165 Awesome jQuery Sliders and Other Useful jQuery Effects
18 Useful Frameworks for Web and Mobile App Developers
Building iPhone Apps with JavaScript using Titanium Wouldn't it be great to build an iPhone application without learning a line of Objective-C? thinks so and gives a basic demo of building a small iPhone app using JavaScript.
Code and Libraries
fabric.js: An Object Model for HTML5 Canvas + SVG-to-Canvas Parser Fabric.js is a framework that makes it easy to work with the HTML5 Canvas element using an interactive object model. It can also render SVG files to Canvas for you. Some interesting demos.
Easy WebSocket - a WebSocket client to broadcast messages to webpages Easy WebSocket is an easy way to use WebSockets from JavaScript to broadcast messages to connected clients without worrying about browser compatibility. The basic example is just 10 lines.
JavaScript Stacktrace: Stack Traces in all Web Browsers Javascript Stacktrace is a tool that allows you to debug your Javascript by giving you a stack trace of function calls leading to an error (or any condition you specify).
Peter Norvig's Spelling Corrector in 21 Lines of CoffeeScript Daniel Ribeiro demonstrates how he managed to port a spelling correction function from 53 lines of JavaScript to 21 lines of CoffeeScript. A little dense, but hey.
node-php: Node.js and PHP Sitting In A Tree NodePHP effective turns a nice Node.js server into a FastCGI interface that interacts with PHP-FPM. It's described as a "omega-alpha-super-beta-proof-of-concept" so be warned.
sausage: Contextual pagination for jQuery Sausage is a unique and attractive pagination plugin for jQuery that's worth checking out. Wynn Netherland shows it off on The Changelog.
Typo.js: Client-side JavaScript Spellchecking
Detecting Newly Defined Globals in JavaScript
Backbone-Redis: Model Persistence in backbone.js Using and Redis Pub/Sub
Last but not least..
BreakDOM: A Remix of the Classic Breakout Game Just for fun, here's BreakDOM. A rather scary version of Breakout using HTML form elements for the bricks and ball and a scroll bar for the bat. It uses jQuery and the code is surprisingly short (and hard to read).
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