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

Table of Contents
Chapter 1. CoffeeScript Syntax
Chapter 2. CoffeeScript Classes
Chapter 3. CoffeeScript Idioms
Chapter 4. Compiling CoffeeScript
Chapter 5. The Good Parts
Chapter 6. The Little Conclusion

Book Details

  • Paperback: 60 pages
  • Publisher: O’Reilly Media (January 2012)
  • Language: English
  • ISBN-10: 1449321054
  • ISBN-13: 978-1449321055
Download [5.6 MiB]

You may also like...

Leave a Reply