HTML and CSS Reference
In-Depth Information
Table 3-1. Some Useful JavaScript Libraries for Various Use Cases
JavaScript Library
Description
http://craftjs.org/
CraftJS
handlebarsjs.com
HandlebarJS
eightmedia.github.com/hammer.js
HammerJS
phantomjs.org
PhantomJS
westcoastlogic.com/lawnchair
Lawnchair
createjs.com
EaselJS
processingjs.org
ProcessingJS
locachejs.org
LocacheJS
requirejs.org
RequireJS
headjs.com
HeadJS
videojs.com
VideoJS
lab.hakim.se/reveal-js
RevealJS
http://underscorejs.org/
UnderscoreJS
there are many more Javascript libraries—in advertising some are more useful than others—but there
are way too many to name here. Check out javascriptlibraries.com for a good list or see Smashing Magazine 's
breakdown of the 40 most useful Javascript libraries: coding.smashingmagazine.com/2009/03/02/40-stand-alone-
javascript-libraries-for-specific-purposes .
Note
JavaScript Compilers
Remember reading about SASS and HAML for CSS and HTML development? Well don't forget about JavaScript and
its little JavaScript compiler language, CoffeeScript. CoffeeScript is aimed at exposing the good parts of JavaScript in a
much simpler way. CoffeeScript compiles down to JavaScript as speedily as a developer could code by hand—or more
so. It's also guaranteed to pass JavaScript Lint or any other JavaScript tester; that's really helpful when you're passing
script files among team members. You wouldn't believe how many tools and compilers are out there that will compile
to native JavaScript. Many say that in order to build complex web applications, such as Google's Gmail and Maps,
you need another layer of construct on top of native JavaScript. In fact, for most advertising campaigns, doing so may
be a bit of overkill but if you're dealing with a very deep and complex campaign with many moving parts, it may be
worth giving CoffeeScript a look. Also, take a look at Google's Dart and Closure Compiler to get an idea on the level of
abstraction I'm talking about.
For a comprehensive list of Javascript compilers, see
github.com/jashkenas/coffee-script/wiki/List-of-languages-that-compile-to-JS .
Note
 
 
Search WWH ::




Custom Search