This week's JavaScript news

Read this issue on the Web

JavaScript Weekly

Issue #139 - July 19, 2013


ES6 Modules, Build Tools and Browser App Delivery
Currently, the JavaScript module landscape is divided: there are multiple competing module formats and multiple competing package managers. In the long run, ECMAScript 6 modules will lead us away from this division. Ryan Florence suggests a short-term complementary solution: author your module in ES6 now, compile it to a (much uglier) universal module format, deploy it anywhere.

JavaScript Powered Arduino with Johnny-Five
Thanks to the Node.js-based Johnny-Five library, you can write JavaScript on your computer and use it to control and manipulate nearly every aspect of an Arduino-based hardware setup. This article by Derick Bailey explains how to get started.

From our Sponsor

Open Cloud Academy: Bridging the Cloud Computing Skills Gap
Cloud computing is and will continue to be a critical skill set in the IT space yet organizations are struggling to hire talent with the cloud computing skills necessary to do the job. Rackspace is addressing this gap by opening the doors to the Open Cloud Academy, an educational program designed to arm students with affordable IT certifications. Click here to learn more.


Creating Interactive Graphs with SVG
A series of two blog posts (part 1 and part 2) that takes a look at building interactive graphs with SVG, CSS and JavaScript.

ECMAScript 6 and Proxy
ECMAScript 6 proxies allow you to intercept operations performed on objects. The blog post gives an example that logs assignments to properties.

Why I Test Private Functions In JavaScript
Last week, Phil Walton wrote the blog post “How to Unit Test Private Functions in JavaScript”. In the comments, several people argued that one should never unit test private functions. This follow-up post explains why and when it is useful.

Decoupling with Custom jQuery Events
Simon Smith explains how your JavaScript code is easier to maintain when you decouple event handlers using custom jQuery events.

Little Lisp Interpreter
Mary Rose Cook has written a small Lisp interpreter in JavaScript for a lightning talk. This post explains both Lisp and the interpreter (which is only 116 lines long).

Why JavaScript Web Applications Should Embrace Traditional URLs
This blog post argues that modern web applications should combine the advantages of server-side-only applications and client-side-only applications. To do so, they must use traditional URLs.

Building Apps With Yeoman, Grunt and Bower

Wait.. Maybe JavaScript IS The Top Programming Language
The ubiquitous language tops some recent rankings of programming languages.

Tools and Strategies for Node.js Development On GitHub

Server Sent Events with Aura and Node.js
Roughly, Server Sent Events are a lightweight alternative to WebSockets, when you mainly want push notifications. This is an implementation for Node.js.

My Experience with TypeScript
Peter Hausel spent the first half of this year building a fairly big Node.js application with TypeScript. This blog post describes his experiences.

Promises: Alternative Way to Approach Asynchronous JavaScript

Making Modular jQuery Plugins with The jQuery UI Widget Factory and Grunt


Hello Polymer: Video of Q&A On Google’s New Web Framework
Polymer is a framework that is both based on Web Components and has been created to fully figure out their design. Last Tuesday, the Polymer team held an online Q&A on the framework. The event has been recorded as a video. You can also read a summary of the video by Axel Rauschmayer.

jQuery Is A Swiss Army Knife (and That's OK!)
Adam J. Sontag explains what jQuery is and what it isn’t and gives tips for using it.

Intro to Angular, Yeoman, and Chrome Apps

Code, Libraries and Tools

Introducing ESLint
ESLint is a new lint tool from Nicholas C. Zakas. Its focus is on letting you implement your own lint rules based on an abstract syntax tree. If you don’t need this kind of extreme configurability, you may be better off with JSLint or JSHint.

Queuing Ajax Requests in JS Web Apps
A jQuery plugin that queues requests to a server, ensuring that they are handled in order (important e.g. when sending database updates).

structured.js: Verify The Structure of JavaScript Code
structured.js has been developed as part of Khan Academy's CS curriculum. It checks whether a piece of code matches a given pattern and can be used to verify code that people submit.

Date: Write A Date Like A Human
A library that parses dates in (English) natural language: “10 minutes from now”, “tomorrow night at 5”, “next week saturday morning”, etc.

Sublime-JSHint: JSHint Gutter for Sublime Text 2 and 3
Uses Node.js to display JSHint warnings in Sublime’s gutter.

Spectacular: BDD Framework Bringing The Power of Ruby's RSpec to JavaScript

Client-Side Storage with Amplify.js
The Store component of the Amplify library handles persistent client-side storage, using standards like localStorage and sessionStorage, but falling back on non-standard implementations for older browsers. This blog post explains how to use it. Documentation Generator
Uses a simple folder structure and Markdown files to create custom documentation on the fly.

SlimerJS: Scriptable Gecko-Based Browser for Web Developers
Allows you to manipulate a web page with a JavaScript script. Useful to do functional tests, page automaton, network monitoring, screen capture, etc. Similar to PhantomJS, except it uses Gecko, the browser engine behind Firefox, rather than WebKit.

please.js: Simple postMessage() Communication Library
Helps with the communication between frames on different domains.

25 JavaScript Visualization Libraries for Visualizing Your Data

Operative: Seamlessly Create Web Worker Scripts
A library that makes creating and using Web Workers more convenient.

NodeICO: Graphical Badges for npm Packages

S Gallery: Responsive jQuery Gallery Plugin with CSS3 Animations

Imagefill.js: Make Images Fill Their Containers (jQuery Plugin)


Senior JavaScript Engineer at State (London, UK)
Come help us build the opinion network: a global-scale new internet service. We're looking for a JavaScript expert with deep experience of Node.js, architecting modular front-end code, modern frameworks such as Ember and client-side hand-coded components.

Senior JS Frontend Developer at Backbase (Portal Software), Amsterdam, NL
Backbase is an internationally fast growing portal software vendor with headquarters in Amsterdam, NL. We're currently looking for a Senior Frontend Web Developer for our Amsterdam R&D team. Are you an expert in JavaScript, CSS, HTML- come join Backbase!

Ember.js Developer at VerticalResponse (San Francisco)
We’re looking for JavaScript rock stars. You write beautiful JavaScript code, concise tests, have found and fixed complex problems in your software stack, and have had Pull Requests for Open Source projects accepted with your fixes and/or enhancements.

Product Developer at Iam150/ (London, UK)

Last but not least..

Required JavaScript Reading
Rey Bango shares his favorite books and online resources for getting up to speed on JavaScript.

And, last but not least, one for the most eagle eyed readers.. we're launching Node Weekly next month! If you want to get it when it launches, click here to subscribe instantly (you don't have to confirm anything). We'll announce it properly soon..

Editor: Dr. Axel Rauschmayer | Publisher in Chief: Peter Cooper

Want to see more? Check out the archive of all our old issues!

Reading this as a non-subscriber? Click here to subscribe.
Want to advertise? See our media kit for details.
Want to post a job? Use our self serve system or reply to this e-mail.
To otherwise contact the editor, just reply to this e-mail :-)

© 2013 Cooper Press Ltd. – Office 30, Lincoln Way, Fairfield Enterprise Centre, Louth, Lincs, UK
Unsubscribe or Update / Change Your E-mail Address