This guide to CoffeeScript provides instruction for web developers and JavaScript programmers for performing common tasks with this new and popular web programming language. Beginning with an overview of the project and compiler installation, the volume covers functions and contexts, collections and iterations, modules and classes, jQuery interoperability and server side applications. Chapters include code examples, sidebars and practice exercises and access to additional online resources is provided. Burnham is a professional web developer. Distributed by O'Reilly Media. Annotation ©2011 Book News, Inc., Portland, OR (booknews.com)
Read More
CoffeeScript is JavaScript done right. It provides all of JavaScript's functionality wrapped in a cleaner, more succinct syntax. In the first book on this exciting new language, CoffeeScript guru Trevor Burnham shows you how to hold onto all the power and flexibility of JavaScript while writing clearer, cleaner, and safer code.CoffeeScript: Accelerated JavaScript Development offers a thorough introduction to this new language, starting from the basics. You'll learn to use time-saving features like list comprehensions and splats, organize your code into modules with extensible classes, and deploy your work to multiple environments.Each chapter is example-driven and includes challenging exercises to push your CoffeeScript know-how further. Through the course of the book, you'll build a fast-paced multiplayer word game-writing both the client (with jQuery) and server (with Node.js) in CoffeeScript. And because the two languages are so deeply intertwined, you'll deepen your understanding of JavaScript along the way.CoffeeScript makes it easier than ever to write powerful, standards-compliant JavaScript code. CoffeeScript: Accelerated JavaScript Development lets you start doing it today.
Read Less