CoffeeScript in Action

Book description

CoffeeScript in Action is a tutorial that teaches you how, where, and why to use CoffeeScript. It begins by quickly exposing you to CoffeeScript's new, but instantly-familiar syntax. Then, you'll explore programming challenges that illustrate CoffeeScript's unique advantages. Language junkies will especially appreciate how this book takes idioms from other programming languages and shows you how CoffeeScript makes them available in JavaScript.



About the Technology

CoffeeScript preserves everything you know and love about JavaScript and wraps it in a modern, efficient syntax. It's perfect for complex web programming, including server-side JavaScript executing on Node.js. CoffeeScript also enhances JavaScript's natural Functional Programming features, a big advantage for building high-capacity, fault-tolerant applications. CoffeeScript is fully supported in Rails 3.1, and, via a free plugin, even Microsoft Visual Studio. Plus, it's really cool.



About the Book

JavaScript runs (almost) everywhere but it can be quirky and awkward. Its cousin CoffeeScript is easier to comprehend and compose. An expressive language, not unlike Ruby or Python, it compiles into standard JavaScript without modification and is a great choice for complex web applications. It runs in any JavaScript-enabled environment and is easy to use with Node.js and Rails.

CoffeeScript in Action teaches you how, where, and why to use CoffeeScript. It immerses you in CoffeeScript's comfortable syntax before diving into the concepts and techniques you need in order to write elegant CoffeeScript programs. Throughout, you'll explore programming challenges that illustrate CoffeeScript's unique advantages. For language junkies, the book explains how CoffeeScript brings idioms from other languages into JavaScript.



What's Inside
  • CoffeeScript's syntax and structure
  • Web application patterns and best practices
  • Prototype-based OOP
  • Functional programming
  • Asynchronous programming techniques
  • Builds and testing


About the Reader

Readers need a basic grasp of web development and how JavaScript works. No prior exposure to CoffeeScript is required.



About the Author

Patrick Lee is a developer, designer, and software consultant, working with design startup Canva in Sydney, Australia



Quotes
This book will help you become a CoffeeScript Ninja!
- Phily Austria, Paystr LLC

Truly entertaining ... dives deep into CoffeeScript.
- Andrew Broman, University of Wisconsin, Madison

By far the best resource for learning CoffeeScript or for improving your existing skills.
- John Shea, Endicott College

Makes learning CoffeeScript fun!
- Kenrick Chien, Blue Star Software

Product information

  • Title: CoffeeScript in Action
  • Author(s): Patrick Lee
  • Release date: May 2014
  • Publisher(s): Manning Publications
  • ISBN: 9781617290626