javascript

FacebookTwitter
There’s a discussion going on on the JSMentors JavaScript mailing list about books to read to get you to the next level . There’s been a lot of great feedback and suggestions thrown out and I wanted to offer up what I felt were good to carry you through the learning process. While I list a number of books in the Big List page that I created , narrowing it down into specific levels makes a lot of sense.

What to Read to Get Up to Speed in JavaScript - Rey Bango

http://blog.reybango.com/2010/12/15/what-to-read-to-get-up-to-speed-in-javascript/

Easel JS: A Javascript Library for Working with the HTML5 Canvas Element.

http://www.createjs.com/#!/EaselJS Recent Updates Follow @ Create JS February 2013 EaselJS 0.6.0 available
It uses native <audio> where available and an invisible flash player to emulate <audio> for other browsers. It provides a consistent html player UI to all browsers which can be styled used standard css. Installation Put audio.js , player-graphics.gif & audiojs.swf in the same folder. Include the audio.js file: <script src="/audiojs/audio.min.js"></script> Initialise audio.js: <script> audiojs.events.ready(function() { var as = audiojs.createAll(); }); </script> Then you can use <audio> wherever you like in your HTML: <audio src="/mp3/juicy.mp3" preload="auto" /> http://kolber.github.com/audiojs/

audio.js

http://bitovi.com/blog/2010/11/organizing-a-jquery-application.html

Organizing A jQuery Application - Jupiter JavaScript Consulting

11 November 2010 by moschel Earlier this week, I realized that every organizing-a-jQuery-application blog, article, and conference talk misses the most important lesson on how to organize a jQuery app. They talk about how to organize an individual widget or piece of functionality, but not how you can break up an application into logically separate and testable components.
http://samisamhuri.blogspot.com/2010/11/37signals-chalk-dissected.html Update 2010-11-05: I dove into the JavaScript a little and explained most of it. Sam Stephenson tweeted that Chalk is written in CoffeeScript and compiled on the fly when served using Brochure . That's hot! (for those unaware Sam Stephenson works at 37signals, and is also the man behind Prototype .) 37signals recently released a blackboard web app for iPad called Chalk . It includes Thomas Fuchs new mobile JS framework Zepto , a few images, iOS SpringBoard icon, and of course HTML, CSS, and JavaScript.

37signals' Chalk Dissected

evercookie - virtually irrevocable persistent cookies

samy's home page || follow my twitter || blog || email me || samy kamkar October 11, 2010: Reported on the front page of the New York Times evercookie is a javascript API available that produces extremely persistent cookies in a browser. http://samy.pl/evercookie/
SimpleYUI is a new way of loading and instantiating YUI. The SimpleYUI file contains a rollup of basic Ajax library functionality: DOM tasks, event abstraction, transitions, and Ajax. Unlike other ways of loading YUI, SimpleYUI creates a YUI instance immediately upon loading, binding all included components to a global Y . Using SimpleYUI is easy:

http://ericmiraglia.com/yui/demos/quickyui.php

http://ericmiraglia.com/yui/demos/quickyui.php

Google JavaScript Style Guide

http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml We follow the C++ formatting rules in spirit, with the following additional clarifications. Curly Braces Because of implicit semicolon insertion, always start your curly braces on the same line as whatever they're opening. For example:

Understanding JavaScript’s this keyword | JavaScript, JavaScript

http://javascriptweblog.wordpress.com/2010/08/30/understanding-javascripts-this/ ( In Portugese ) The JavaScript this keyword is ubiquitous yet misconceptions abound. What you need to know Every execution context has an associated ThisBinding whose lifespan is equal to that of the execution context and whose value is constant.
http://www.yuiblog.com/blog/2007/06/12/module-pattern/ Eric Miraglia ( @miraglia ) is an engineering manager for the YUI project at Yahoo. Eric has been at Yahoo since 2003, working on projects ranging from Yahoo Sports to YUI. For the past several years, Eric and his colleagues on the YUI team have worked to establish YUI as the foundation for Yahoo’s frontend engineering work while open-sourcing the project and sharing it with the world under a liberal BSD license. Eric is an editor and frequent contributor to YUIBlog; his personal blog is at ericmiraglia.com . Prior to working at Yahoo, Eric taught writing at Stanford and elsewhere and led frontend engineering teams at several startups. Global variables are evil .

A JavaScript Module Pattern

css3-mediaqueries-js - Project Hosting on Google Code

css3-mediaqueries.js by Wouter van der Graaf is a JavaScript library to make IE 5+, Firefox 1+ and Safari 2 transparently parse, test and apply CSS3 Media Queries . Firefox 3.5+, Opera 7+, Safari 3+ and Chrome already offer native support. Usage: just include the script in your pages.
Because this library is standards-based it means that you don’t have to learn a new API. It uses standard (DOM, ECMAScript) properties and methods throughout which also means that there is no need for a lot of accompanying documentation. base2 is a lightweight library that irons out all the annoying differences in JavaScript implementations. It provides the additional functionality from JavaScript 1.6+ that only Mozilla browsers implement. It also adds some features from ES4. The library is only 6KB (gzipped).

base2 - Project Hosting on Google Code