Quantcast
Channel: The Joe Code
Viewing all articles
Browse latest Browse all 4

Helpful links to get started with JavaScript

$
0
0

Good C# Habits Can Encourage Bad JavaScript Habits: http://tv.devexpress.com/#JavaScriptHabits

Good place to start. Video focused on helping C# folks transition to JavaScript. If you prefer to read here is his blogpost.

Self-executing anonymous function: http://briancrescimanno.com/2009/09/24/how-self-executing-anonymous-functions-work/

A key component of the module pattern. A function with no name that executes as soon as it is defined.

Module pattern: http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth

JavaScript doesn’t provide namespaces. The module pattern is a way to work around this using function scope.

Scope and Hoisting: http://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting

JavaScript uses function scope and hoists declarations to the top of this scope.

jQuery deferred: http://msdn.microsoft.com/en-us/scriptjunkie/gg723713.aspx

jQuery recently rewrote its entire ajax story to use deferreds. If you need to do any asynchronous coding, this is a good way to avoid callback hell.

Falsey and Truthy: http://jsfiddle.net/thejoecode/xB2Gk/

A jsfiddle to show what values are considered true or false. Quite a few gotchas here (empty string, zero, null, undefined are all false).

Book of speed: http://www.bookofspeed.com/

How browsers load pages and the effect speed has on sales.



Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images