or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $2.52 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
CoffeeScript: Accelerated JavaScript Development
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

CoffeeScript: Accelerated JavaScript Development [Paperback]

Trevor Burnham (Author)
3.3 out of 5 stars  See all reviews (6 customer reviews)

List Price: $29.00
Price: $27.99 & this item ships for FREE with Super Saver Shipping. Details
You Save: $1.01 (3%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want it delivered Monday, May 21? Choose One-Day Shipping at checkout. Details

Book Description

August 3, 2011
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.

Frequently Bought Together

CoffeeScript: Accelerated JavaScript Development + Node Web Development + Node: Up and Running: Scalable Server-Side Code with JavaScript
Price For All Three: $79.50

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Node Web Development $24.99

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Node: Up and Running: Scalable Server-Side Code with JavaScript $26.52

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

From the Author

I had a blast when I started playing with CoffeeScript. Everything I'd been trying to do with JavaScript was suddenly so much simpler, the code so much cleaner. Within a week, I was able to do anything I could do in JavaScript in less time and with fewer bugs.

Apparently I wasn't the only one who found CoffeeScript to be a joy. The Ruby world was so enamored with it that they decided to make CoffeeScript a full-fledged part of Rails 3.1. The Mozilla team is working on adding CoffeeScript support to Firefox. Suddenly everyone's talking about this language touted by its creator as "JavaScript's less ostentatious little brother." As David Heinemeier Hansson put it: "Go, go, coffee!"

With this book, I hope to share the joy I felt when first exploring CoffeeScript, while helping readers to avoid many of the pitfalls--and to better understand the underlying JavaScript runtime. JavaScript may well be the most important language in the world, blessed with the unique privilege of running in all major web browsers (and, thanks to Node.js, in a first-class server environment). CoffeeScript provides all the power of JavaScript, with an elegant syntax.

CoffeeScript: Accelerated JavaScript Development is now in print. It can also be purchased as a Kindle- and iPad-friendly eBook directly from PragProg, where you'll also find code from the book and a discussion forum.

About the Author

Trevor Burnham is a full-stack web developer with a passion for new technologies. He is the founder of DataBraid, a startup developing scientific computing tools that support remote collaboration. When on Twitter, he goes by @TrevorBurnham and @CoffeeScript. When offline, he's usually in Cambridge, MA.


Product Details

  • Paperback: 138 pages
  • Publisher: Pragmatic Bookshelf (August 3, 2011)
  • Language: English
  • ISBN-10: 1934356786
  • ISBN-13: 978-1934356784
  • Product Dimensions: 9 x 7.5 x 0.5 inches
  • Shipping Weight: 11.4 ounces (View shipping rates and policies)
  • Average Customer Review: 3.3 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #407,000 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
31 of 32 people found the following review helpful
Format:Paperback
I've bought this book with the hope that it will be more than just a simple language reference, that it would familiarize me with CoffeeScript's concepts and ideas; teach me how to write elegant code in CoffeeScript, especially when paired with jQuery. However, for developers with some experience this book fails to be anything beyond a wordy language reference. In fact, the official language reference [1] does equal job in teaching you CoffeeScript, plus it will always be up to date with the current progress in the language, while this book will grow old very fast (already at the time of this writing, the online language reference describes features that are not present in the book).

The book contains several chapters, each describing a small set of related features of the language. At the end of each chapter these features are then used to improve a simple game that is being built throughout the book. The code however is very messy; although it is continually improved as new features are brought up, even the final version of the game is not what I would call a beautiful code. Even the object oriented design of the game is not clean and many decisions make no sense.

Overall, the book seems to be targeted towards beginners in the area of web development. There are parts where author explains basic concepts of HTML and CSS. A large part (about one third) of the book is dedicated to jQuery and Node.js, basic concepts and API of both are explained, but why was this included in the book is a mystery. This was supposed to be a CoffeeScript book, wasn't it? Nevertheless, the coverage of jQuery and Node is very shallow and there are certainly better books to get familiar with both technologies. I was especially disappointed with the jQuery chapter. I was hoping to see some examples of writing nice, object oriented CoffeeScript code encapsulating the jQuery manipulations, but instead, the examples were just a mess of jQuery-ish code.

To sum up, if you are just starting with the web development, you have a vague idea about HTML, CSS, JavaScript and jQuery then this book might be for you. I can see how the gradual progress in building a simple game and the exercises at the end of each chapter could help an absolute novice to get up to speed quickly. However, if you have some experience in web development, then just go and read the language reference [1].

[1] [...]
Comment | 
Was this review helpful to you?
7 of 8 people found the following review helpful
Rushed to the press October 2, 2011
Format:Paperback
CoffeeScript went from an interesting experiment to the talk of every JS conference, all in the span of two short years. I picked up this book with high expectations, but unfortunately was left somewhat disappointed. The book provides a whirlwind tour of CoffeeScript, but even at that, it does not seem to be well thought out our laid out for the reader: the examples are unnecessarily complicated and verbose, whereas they could have been much shorter (which in itself is somewhat ironic), and the book would have benefitted by spending some extra time on motivating the underlying Javascript patterns. In short, it feels rushed and incomplete.

All of this is not to discourage you from learning about CoffeeScript - it's a great language. To start, I would recommend checking out the CoffeeScript site itself, as it provides a great walkthrough.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
Interesting Little Book November 5, 2011
Format:Paperback
This book is an interesting little book which I found on my local bookshop. It's quite a whirlwind tour of CofeeScript (even though CoffeeScript is a 'smallish' language) and it's enough to whet one's appetite for the language or script.

PROS:

* The author is obviously very familiar with CoffeeScript
* Style is easy-to-read and light hearted
* Able to read the book within about 3-4 hours
* Running example is useful; contrary to other reviewers I prefer a running example that does something rather than snippets that leave one wondering how it all integrates together

CONS:

* Sometimes the author seems too familiar with CoffeeScript and JavaScript - you'll need to know JavaScript at least medium well to get the most of the book
* Sometimes the author is a little terse and for someone not familiar with JavaScript's model of events (and other models), one can wonder why a feature (such as the => operator) has been included
* Book could be expanded a little
* It wouldn't hurt to have another example

As this is the first print book made about this language, it is an interesting book to have. Personally I would have expanded the 'How to Install CoffeeScript' to the back of the book or even made it available online as a download (this sounds 'odd' but to get CoffeeScript the reader will most likely have to have access to the 'net anyway). This would enable an expanded and more helpful section that could more easily be kept up-to-date.

That said, it does whet one's appetite and if one wishes to have a real bound book, at the moment this is one's only choice (other than printing and binding one of the online but not professionally bound and published tomes).

DSL
Was this review helpful to you?

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...

Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject