Issues » 62

Archive | Read this issue on the Web
JavaScript Weekly Issue 62
January 20, 2012
Welcome to issue 62 of JavaScript Weekly. Nothing big to announce this week, so let's get straight on to the links :-)
Headlines
The V8 Myth: Why JavaScript is not a Worthy Competitor Avik Chaudhuri, a programming language researcher at Adobe, contends that Adobe's ActionScript (as commonly used in Flash) has some significant performance advantages over JavaScript (although both are ECMAScript dialects) due to its strong typing and AOT (ahead of time) compilation optimizations. Unsurprisingly, this kicked off a debate..
Node 0.7.0 Released (A New, Unstable Branch) Node 0.7.0 has been released but don't rush to upgrade your stack.. odd numbered minor versions of Node are 'unstable' release branches, designed to try out new ideas. If you're deep into learning about Node and its future, though, it may be for you.
jsday 2012: A JavaScript conference in Verona, Italy (May 16-17)
Want to Speak at O'Reilly's New JavaScript Conference? Submit Your Proposal by January 31
From Our Sponsor
Articles
Understanding MVC And MVP (For JavaScript And Backbone Developers) Addy Osmani looks at the popular Model-View-Controller (MVC) and Model-View-Presenter (MVP) models of application development and how they apply to JavaScript developers. There's a lot to read here but it's worth it.
The Top 12 JavaScript MVC Frameworks Reviewed Can't remember the pros and cons of all those frameworks like Spine, Sammy, Sproutcore, Backbone, and the rest? Gordon L. Hempton runs through 12 of the most popular, lists their pros and cons, and picks Ember.js as his ultimate winner.
Building a jQuery Mobile Application: A 4 Part Series The first part of a series of articles about building a mobile app using jQuery Mobile. Part 1 is from November 2011 but he finished the whole 4 part series this week.
JavaScript's Internal Character Encoding: UCS-2 or UTF-16? Does JavaScript use UCS-2 or UTF-16 encoding? Mathias Bynens notes that it matters where you're talking about the runtime/engine or the language itself and digs deeper on this question.
JavaScript Design Patterns: Decorators Joseph Zimmerman has been working on a series about the use and implementation of different design patterns in JavaScript and this time he shows off the 'Decorator' which provides a way to add features to objects without subclassing or adding extra attributes.
The Fisher-Yates Shuffle (Demonstrated with JavaScript) A JavaScript powered visualization of a data shuffling algorithm that ticks both the 'attractive' and 'interesting' boxes!
Captain Obvious on JavaScript Reg Braithwaite demonstrates the power of using JavaScript's first order functions, factoring expressions into functions, and using functions as building blocks in larger processes. A must read. I might call it 'how functional ideas can make JavaScript rock' perhaps ;-)
Different Flavors of JavaScript ECMAScript, Harmony, ES3, ES5, ES.Next.. confused by the various terms? Lakshan Perera gives a very simple overview.
Understanding CoffeeScript Comprehensions
Fog Creek's Trello Tech Stack Brett Kiefer of Fog Creek Software (famous for its cofounder, Joel Spolsky) shows off the JavaScript-heavy stack behind Trello, its popular collaboration tool. CoffeeScript and Backbone dominate on the front-end but it's JavaScript at the server end too.
Backbone.js By Example - Part 1 Chaker Nakhli has started off a series about learning to use Backbone.js, by demonstrating how to build a very simple vector image editor. It doesn't go into much detail but if you want to get something up and running fast..
Refactoring Common API Functionality Into A Node.js Proxy
A Sidebar on JavaScript Modules
Simplicity and JavaScript Modules James Burke considers how you could deal with modules in JavaScript simply and presents an overview of several different techniques and standards, including what's coming along in a future version of ECMAScript.
AMD is Not the Answer Tom Dale (part of the ember.js team) doesn't think the AMD (asynchronous module definition) system of building and using JavaScript modules is a good idea and points out the problems he has with it.
AMD Is The Answer To counter Tom's points, 'Geddesign' counters with the argument that AMD provides a lot of useful functionality and is the best way to build modular JS apps right now, even if other systems usurp it in the years to come.
Presentations
Steve Souders on JavaScript Performance Steve Souders, Googler and general Web performance optimization guru, recently gave a talk at SFJS about the performance of asynchronous JavaScript loading in the browser. Here are the slides which, luckily, can mostly stand on their own.
Code and Libraries
JavaScript Pattern and Anti-Pattern Collection A JavaScript pattern and anti-pattern code collection that covers function patterns, jQuery patterns, design patterns, general patterns, literals and constructor patterns, with more to come soon.
TextExt: A jQuery Plugin to Extend Text Field Functionality TextExt is a plugin for jQuery which is designed to provide functionality such as tag input and autocomplete and ultimate provides modularity and extensibility for enhancing text field functionality.
aws-lib: A Node.js Library for Amazon Web Services aws-lib is a simple Node.js library to communicate with the Amazon Web Services API, so you can control EC2, SQS, SimpleDB, SES and more.
VMXRay: Exploring VM and Disc Images in Your Browser VMXRay is an HTML5 web app that can explore disk images like VMWare VMDKs and CD/DVD ISOs right in the browser. It uses a JSLinux VM running inside the browser to interpret images and has a visual folder interface to navigate and extract files from them.
Device and Viewport Size In JavaScript A quick live demonstration of how to grab the device and browser viewport sizes using JavaScript.
TwoStroke: A JavaScript Implementation Written in Ruby Charlie Somerville presents an interesting working, but incomplete, JavaScript implementation, written entirely in Ruby. One of those projects that may seem useful somewhere down the line but for now is just a neat idea.
Resumable.js: Multiple Simultaneous Resumable Uploads via the HTML5 File API
jQuery UI Bootstrap 0.2 Released Addy Osmani presents an update to his Twitter Bootstrap-style jQuery UI theme.
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