Programming in CoffeeScript

eBook Details:

  • Paperback: 320 pages
  • Publisher: WOW! eBook; 1st edition (June 3, 2012)
  • Language: English
  • ISBN-10: 032182010X
  • ISBN-13: 978-0321820105

eBook Description:

Programming in CoffeeScript

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.

For millions of web developers, CoffeeScript is emerging as one of today’s most exciting new technologies. A superset of JavaScript, it enables experienced scripters to write better, clearer code: software that’s more concise, maintainable, flexible, reliable, and secure. CoffeeScript will even be included in the next release of Rails, bringing it to an immense new audience. Programming in CoffeeScript covers everything experienced web developers need to evaluate CoffeeScript, “think” in CoffeeScript, and write high-performance software with it. Mark Bates follows the proven format of other “Programming in” books in our Developers’ Library series, with one major addition: he presents multiple same-page code comparisons demonstrating exactly how CoffeeScript improves upon JavaScript. Both a tutorial and reference, this book first introduces CoffeeScript’s basic concepts, and then shows how to build a full fledged application with it. Bates covers functions, scope, collections, iterations, classes, modules, CoffeeScript’s innovative Cake build system and Jasmine continuous testing tools, jQuery integration, and much more – concluding with a quick reference “cheatsheet” that’s ideal for working developers.

Use CoffeeScript to Write Better JavaScript Code Than Ever Before!

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!

For millions of web developers, CoffeeScript is emerging as one of today’s most exciting new technologies. A superset of JavaScript, it enables experienced scripters to write better, clearer code: software that’s more concise, maintainable, flexible, reliable, and secure. CoffeeScript will even be included in the next release of Rails, bringing it to an immense new audience. Programming in CoffeeScript covers everything experienced web developers need to evaluate CoffeeScript, “think” in CoffeeScript, and write high-performance software with it. Mark Bates follows the proven format of other “Programming in” books in our Developers’ Library series, with one major addition: he presents multiple same-page code comparisons demonstrating exactly how CoffeeScript improves upon JavaScript. Both a tutorial and reference, this book first introduces CoffeeScript’s basic concepts, and then shows how to build a full fledged application with it. Bates covers functions, scope, collections, iterations, classes, modules, CoffeeScript’s innovative Cake build system and Jasmine continuous testing tools, jQuery integration, and much more – concluding with a quick reference “cheatsheet” that’s ideal for working developers.

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.

[download id=”1320″]

Leave a Reply

Your email address will not be published. Required fields are marked *