CoffeeScript in Action![]() Patrick Lee MEAP Began: December 2011 Softbound print: Fall 2013 | 325 pages ISBN: 9781617290626 |
||||
| Pre-Order options* | ||||
| Order today and start reading CoffeeScript in Action today through MEAP | ||||
| MEAP + Ebook only - $35.99 | ||||
| MEAP + Print book (includes Ebook) when available - $44.99 | ||||
| * For more information, please see the MEAP FAQs page. | ||||
| About MEAP Release Date Estimates | ||||
Table of Contents, MEAP Chapters & Resources
| Table of Contents | Resources |
|
PART 1: FOUNDATIONS
1 The road to CoffeeScript - FREE 2 Syntax - AVAILABLE 3 Functions - AVAILABLE 4 Dynamic objects - AVAILABLE PART 2: COMPOSITION 5 Composing objects - AVAILABLE 6 Composing functions - AVAILABLE 7 Syntax, style and semantics - AVAILABLE 8 Metaprogramming 9 Composing the asynchronous - AVAILABLE PART 3: WRITING PROGRAMS 10 Server techniques 11 Driving with tests - AVAILABLE 12 Client and interface techniques 13 Modules and builds - AVAILABLE 14 ECMAScript and the future of CoffeeScript - AVAILABLE APPENDIXES A Reserved words - AVAILABLE B Answers to exercises - AVAILABLE |
|
DESCRIPTION
At the heart of JavaScript is a beautiful little language.
Unfortunately, that inner beauty is clouded with awkward syntax and structure. CoffeeScript is a new way to write JavaScript, providing Ruby-like readability and a more expressive syntax. It compiles into standard JavaScript and works on all implementations without modification.
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.
So why you should bother learning a new way to code JavaScript?
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.
WHAT'S INSIDE
- Complete coverage of CoffeeScript's syntax and structure
- Examples illustrating best practices and patterns for web application development
- Introduction to functional programming
- Prototype-based OOP
This book is written for developers with exposure to JavaScript. No prior exposure to CoffeeScript is required.
About the Authors
Patrick Lee is a developer, designer, and consultant with ThoughtWorks.
About the Early Access Version
This Early Access version of CoffeeScript in Action enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online
Want to learn More?
Sign up to read more content when it is released and to receive news about this book.



