Coffeescript Programming with Jquery, Rails, and Node.Js

Coffeescript Programming with Jquery, Rails, and Node.Js

by Michael Erasmus


View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Monday, November 26

Product Details

ISBN-13: 9781849519588
Publisher: Packt Publishing
Publication date: 12/13/2012
Pages: 140
Product dimensions: 7.50(w) x 9.25(h) x 0.30(d)

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

CoffeeScript Programming with jQuery, Rails, and Node.js 4 out of 5 based on 0 ratings. 1 reviews.
Boudville More than 1 year ago
The book is an agressive promotion of CoffeeScript. It starts off with a nice 2 page succinct explanation of how JavaScript arose in the 90s, and what has transpired since. With Ajax, jQuery and Node.js arising in the noughties as key expanders of the interactivity and integration of server side and browser. Indeed, the syntax of CoffeeScript can be more concise than JavaScript. But what the author calls 'line noise' that is removed in this comparison includes the semicolons. Now I am here going to explicitly show my background and preferences by saying that I find semicolons to be vital delimiters. Vital not so much for the compiler or interpreter, but for the programmer (me and perhaps you) in quickly understanding the scope of statements. Whether the languages are JavaScript, C, Fortran, java etc. I guess maybe if you have always programmed in say Ruby on Rails, then you don't have this preference. Now proceeding further into the text, I see that global variables are prohibited in CoffeeScript. Somewhat extreme perhaps. But this does remove a common cause of errors in JavaScript, when modules from different authors are smooshed together, and they have inadvertantly used same named global variables. Yeah, that can be an ugly debugging adventure to find and fix. The text explains how you can get synergies by accessing Node.js within CoffeeScript. Taking advantage of what are now large libraries in the former. Carrying this further, the integration of CoffeeScript with Node.js, Ajax and Ruby are gone into. This affirms the important mindshare of those languages. The details are somewhat sparse I got to say. Enough is given to quickly illustrate an integration point. But I suspect that professional programmers might need more substantive meat. Still, the book is good at furnishing a top level view with solid opinions.