20 March 2013, by Chris Harris
(“Training Tracks” are one strand of our in-house training – see here for an explanation of what a Training Track is.)
Website – jQuery Fundamentals Chapter 2
Website – Codeacademy
- Section 8.8 – Function Scope and Closures
- Chapter 11 – Pattern Matching with Regular Expressions. (Regular expressions are probably complicated enough to warrant their own track, so if you’re not familiar with them, you may want to find further resources. If you are familiar with them, pay particular attention to Sections 11.1.7, 11.2 and 11.3.)
He also created JSLint and JSMin, and he is generally considered to know what he’s talking about. Note, however, that some people consider him overly dogmatic and zealous – so take his book with a pinch of pragmatic salt.
Level 4 – CoffeeScript
Level 5 – Beyond…
In the meantime, the following might help:
- Frameworks for client-side (browser) code:
- RequireJS – Dependency injection framework, provides much-needed scoping and code organisation for JS projects.
- Backbone.js – Provides a flexible (but seemingly reasonably heavyweight) MVC structure, apparently with a skew towards consuming data from a RESTful service
- Spine – Another MVC framework, inspired by Backbone.js, and supposedly with a lighter touch. Written in CofeeScript
- More generally TodoMvc is a wonderful website (and github codebase) that presents the same simple app written in pretty much every JS library/framework under the sun. It’s a good way to compare them and to find example code – clone the github repo and dive in.