Programming in CoffeeScript

Front Cover
Addison-Wesley Professional, 2012 - Computers - 283 pages
1 Review

Use CoffeeScript to Write Better JavaScript Code Than Ever Before!

 

If you can do it in JavaScript, you can do it better in CoffeeScript. And, since CoffeeScript "compiles down" to JavaScript, your code will fit neatly into virtually any web environment. In Programming in CoffeeScript, Mark Bates shows web developers why CoffeeScript is so useful and how it avoids the problems that often make JavaScript code buggy and unmanageable. He guides you through every feature and technique you need to write quality CoffeeScript code and shows how to take advantage of CoffeeScript's increasingly robust toolset.

 

Bates begins with the absolute basics of running and compiling CoffeeScript and then introduces syntax, control structures, functions, collections, and classes. Through same page code comparisons, you'll discover exactly how CoffeeScript improves on JavaScript. Next, you'll put it to work in building applications that are powerful, flexible, maintainable, concise, reliable, and secure. Bates shares valuable tips for better development, illuminating CoffeeScript's hidden gems and warning you about its remaining "rough edges." The book concludes with a start-to-finish application case study showing how to code back-ends and front-ends and integrate powerful frameworks and libraries. Coverage includes

  • Understanding the right ways to compile and execute CoffeeScript
  • Using CoffeeScript's clean syntax to focus on your code, not JavaScript's distractions
  • Working with CoffeeScript's control structures, functions, and arguments
  • Taking full advantage of CoffeeScript's implementation of collections and iterators
  • Leveraging CoffeeScript's full class support to create complex data models
  • Automating common application development tasks with Cake and Cakefiles
  • Configuring Jasmine with CoffeeScript support, and using it to systematically test your code
  • Writing Node.js server-side applications in CoffeeScript
  • Using CoffeeScript to write jQuery and Backbone.js applications
  • Integrating framework code to avoid "reinventing the wheel"

Want a better way to create the JavaScript code your web applications need? CoffeeScript is the solution-and this book will help you master it!


 

  

What people are saying - Write a review

User Review - Flag as inappropriate

-------------------------------------------------------------------------------------------A
A
CNN News - ELECTRO MAGNETIC NOISE DEVICE JUAN CARLOS VALLEJOS - PHONE (+0058) 0414-422-91-69 / 0414-585-00-44 / 0414-585-00-44
A
ANTI MIND CONTROL - MENTAL TORTURE - BRAIN WASHING - HUMAN USED AS RATS - MIND CONTROL ANTI MENTAL TORTURE
A
ILLUIMTAI AND (NOW) ORG: https://docs.google.com/document/d/1Qbtmbb2bA4OMIhkVIaECzWD57IzfcPJKMRZRMtfwCNk
A
WE THE spied through YOUR EYES! - PROVED!!!!!!!!!!!!!
A
---------------------------------------------------------
A
Crime Policy.
A
Mafias, kidnapping and drug trafficking.
A
Complaints to prosecutors and courts
A
----------------------------------------------------------------------------------------------
A
A
AGENCIES CHANGAY JAPAN CHINA AND NORTH KOREA KILLING Venezuelan citizens stealing information from satellites VENEZOLANOS
A
HUAMAN RACE STUDIES INTELGENCY AGENCY OF STATES IN VENEZUELA NEGRO PONTE
A
DRUG THEFT MURDERS THE HAGUE AND THE UN HUMAN rights violators MAKE STUDIES OF THE HUMAN RACE IN THE WORLD.
A
EVENT HORIZON CORP U.S. ARMY - JOSE SALGADO - ORGANIZATION - CANADA - BOOK - SPACE PROGRAM - COLUMBIA UNIVERSITY - NASA - State - Country
A
A
-------------------------------------------------------------------------------------------------
A
ILUMINATI AND NOW GENOCIDE BY JUAN CARLOS VALLEJOS
A
03/19/2005 GENOCIDE BILL GATE PROJECT COPY AND RESEARCH PROJECTS BY TECHNOLOGICAL GENOCIDE IN LATIN AMERICA VENEZUELA
A
URL: https://www.docs.google.com/open?id=0B7rdd1w6dkcSamZTX1ZNWWZmVkk
A
NOTICIAS24C@GMAIL.COM
A
A
---------------------------------------------------------------------------------------------------
A
A
EVENT HORIZON space programs and organizations conducting studies for the human race to NASA space programs
A
Some presidents of North America USA CANADA USA USSR, some organizations STUDY OF THE HUMAN RACE TO MAKE DIFFERENT CRIMINAL ACTIVITY
A
ILLUIMTAI MANY ORGANIZATIONS AND (NOW) - (CHINA, JAPAN (UN AND HAS IN ITS DEVELOPMENT PROGRAMME UNITED NATIONS) AND NORTH KOREA) STUDY OF THE HUMAN RACE IN THE UNITED STATES THAT AS - MK ULTRA - PANDORA - Piotr Ivanovitch Ivashutine GRU -
A
RTVE Neuro Sciences Division of Nano Electrode Implantation Sevilla (Selective Memory Errace Techniques), NCTV and TVS.
A
GENETIC LABORATORY TAECNOLOGy BUILDING DEVELOPMENT OF HOSPITALS MOLECULES AND STOLEN CELL POPULATION for gene cloning spy on PEOPLE IN DIFFERENT COUNTRIES TO HACK THE MIND OF PEOPLE PEOPLE HANDLED AND CREATE LISTS AS BLACK PEOPLE KILLED ANDERSON DANILO
A
AMONG THE MANY CRIMES ARE PERFORMING IN DRUG TRAFFICKING, rape of women, theft, murder,
A
A
--------------------------------------------------------------------------------------------------------
A
A
THIS TYPE OF THEFT DO WITH NANOTECHNOLOGY IN FOOD INCLUDING drinks and medicines
A
Case Summaries of Mind Control - Torture Mental Harassment
A
VENEZUELAN USED RATS AS MIND CONTROL ANTI MENTAL TORTURE
A
CNN News Network Documentary Producer Urges That, "All Non-Consensual Experimentation Needs to Stop".
A
CHAVEZ: WE THE spied through YOUR EYES!
A
MANIPULATED HANDLED ELECTION CRIMES NOW! - CHAVEZ: Blacklists - Black Lists.
A
Danilo Anderson explosions terrorism Venezuelan intelligence agency.
A
Development Programme of the United Nations UN, UN, World (Venezuela), Genocide obtaining neural patterns for transmission from satellite.
A
Genetic changes in satellite transmissions apartir mental structures and molecular structures (genetic).
A
Crime Policy.
A
-------------------------------------------------- --------------------------
A
(STATEMENT ON THIS CLASSIFICATION NUOVO CRIMES).
A
(Cerebral Mutilation - Mutilation of the hypothalamus).
A
-------------------------------------------------- ---------------------------
A
NANO computers that use to cauterize cells in the spinal cord, hypothalamus, brain and organs.
 

Review: Programming in CoffeeScript (Developer's Library)

User Review  - John Norman - Goodreads

The CoffeeScript chapters are perfunctory, but the chapters on Jasmine, Node, and Backbone would be good for beginners. There are some clever shortcuts (for example, stealing the sync from backbone ... Read full review

Contents

Core Coffeescript
1
CoffeeScript in Practice
159

Common terms and phrases

About the author (2012)

Mark Bates is the founder and chief architect of the Boston-based consulting company Meta42 Labs. Mark spends his days focusing on new application development and consulting for his clients. At night he writes books, raises kids, and occasionally he forms a band and “tries to make it.”

Mark has been writing web applications, in one form or another, since 1996. His career started as a UI developer writing HTML and JavaScript applications before moving toward the middle(ware) with Java and Ruby. Nowadays, Mark spends his days cheating on Ruby with his new mistress, CoffeeScript.

Always wanting to share his wisdom, or more correctly just wanting to hear the sound of his own voice, Mark has spoken at several high-profile conferences, including RubyConf, RailsConf, and jQueryConf. Mark has also taught classes on Ruby and Ruby on Rails. In 2009 Mark's first (surprisingly not his last!) book, Distributed Programming with Ruby, was published by Addison-Wesley.

Mark lives just outside of Boston with his wife, Rachel, and their two sons, Dylan and Leo. Mark can be found on the web at: http://www.markbates.com, http://twitter.com/markbates, and http://github.com/markbates.

Bibliographic information