CoffeeScript: Accelerated JavaScript Development
- Length: 138 pages
- Edition: 1
- Language: English
- Publisher: Pragmatic Bookshelf
- Publication Date: 2011-08-03
- ISBN-10: 1934356786
- ISBN-13: 9781934356784
- Sales Rank: #4291117 (See Top 100 Books)
For 15 years, dynamic web content has been written in a single language: JavaScript. Now, for the first time, programmers have an alternative that doesn’t add an extra layer of abstraction or require plugins. CoffeeScript provides all of JavaScript’s functionality wrapped in a cleaner, more succinct syntax that encourages use of “the good parts” of the language.CoffeeScript: Accelerated JavaScript Development is aimed at programmers who want to get a grip on this new language while improving their understanding of JavaScript. You’ll learn about time-saving features like list comprehensions and splats, organize your code into modules with extensible classes, and get your feet wet with jQuery by building a fast-paced word game.The book also introduces Node.js, the foremost server-side JavaScript environment. Node and CoffeeScript turn out to be a great match, allowing you to develop the front and back ends of a web application in the same language. With CoffeeScript in your toolkit, you can write great code anywhere.
Table of Contents
Chapter 1. Getting Started
Chapter 2. Functions, Scope, and Context
Chapter 3. Collections and Iteration
Chapter 4. Modules and Classes
Chapter 5. Web Interactivity with jQuery
Chapter 6. Server-Side Apps with Node.js
A1. Answers to Exercises
A2. Ways of Running CoffeeScript
A3. Cheat Sheet for JavaScripters
A4. Bibliography