Until 1/March/2012 O'Reilly are offering at
http://shop.oreilly.com/product/0636920024309.do The Little Book on CoffeeScript
"This
little book shows JavaScript developers how to build superb web
applications with CoffeeScript, the remarkable little language that’s
gaining considerable interest. Through example code, this guide
demonstrates how CoffeeScript abstracts JavaScript, providing
syntactical sugar and preventing many common errors. You’ll learn
CoffeeScript’s syntax and idioms step by step, from basic variables and
functions to complex comprehensions and classes.
Written
by Alex MacCaw, author of JavaScript Web Applications (O’Reilly), with
contributions from CoffeeScript creator Jeremy Ashkenas, this book
quickly teaches you best practices for using this language—not just on
the client side, but for server-side applications as well. It’s time to
take a ride with the little language that could.
- Discover how CoffeeScript’s syntax differs from JavaScript
- Learn about features such as array comprehensions, destructuring assignments, and classes
- Explore CoffeeScript idioms and compare them to their JavaScript counterparts
- Compile CoffeeScript files in static sites with the Cake build system
- Use CommonJS modules to structure and deploy CoffeeScript client-side applications
- Examine JavaScript’s bad parts—including features CoffeeScript was able to fix"