Title The Little Book on CoffeeScript: The JavaScript Developer's Guide to Building Better Web Apps

Author(s) Alex MacCaw

Publisher: O'Reilly Media (January 31, 2012)

Paperback: 60 pages

eBook Online, HTML, PDF and Kindle

Language: English

ISBN-10/ASIN: 1449321054

ISBN-13: 978-1449321055

Share This:

Book Description

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

About the Authors

Alex MacCaw is a Ruby/JavaScript developer & entrepreneur. He has written a JavaScript framework, Spine and developed major applications including Taskforce and Socialmod, as well as a host of open source work. He speaks at Ruby/Rails conferences in NYC, SF and Berlin. In addition to programming he is currently traveling round the world with a Nikon D90 and surfboard.