
CoffeeScript in Action
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
CoffeeScript in Action is a tutorial that teaches you how, where, and why to use CoffeeScript. It begins by quickly exposing you to CoffeeScript's new, but instantly-familiar syntax. Then, you'll explore programming challenges that illustrate CoffeeScript's unique advantages. Language junkies will especially appreciate how this book takes idioms from other programming languages and shows you how CoffeeScript makes them available in JavaScript.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Book
JavaScript runs (almost) everywhere but it can be quirky and awkward. Its cousin CoffeeScript is easier to comprehend and compose. An expressive language, not unlike Ruby or Python, it compiles into standard JavaScript without modification and is a great choice for complex web applications. It runs in any JavaScript-enabled environment and is easy to use with Node.js and Rails.
CoffeeScript in Action teaches you how, where, and why to use CoffeeScript. It immerses you in CoffeeScript's comfortable syntax before diving into the concepts and techniques you need in order to write elegant CoffeeScript programs. Throughout, you'll explore programming challenges that illustrate CoffeeScript's unique advantages. For language junkies, the book explains how CoffeeScript brings idioms from other languages into JavaScript.
What's Inside
- CoffeeScript's syntax and structure
- Web application patterns and best practices
- Prototype-based OOP
- Functional programming
- Asynchronous programming techniques
- Builds and testing
Readers need a basic grasp of web development and how JavaScript works. No prior exposure to CoffeeScript is required.
About the Author
Patrick Lee is a developer, designer, and software consultant, working with design startup Canva in Sydney, Australia.
Table of Contents
- The road to CoffeeScript
- Simplified syntax
- First-class functions
- Dynamic objects
- Composing objects
- Composing functions
- Style and semantics
- Metaprogramming
- Composing the asynchronous
- Driving with tests
- In the browser
- Modules and builds
- ECMAScript and the future of CoffeeScript
More details
Other editions
Additional editions

Person
Content
- Intro
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this Book
- About the Cover Illustration
- Part 1. Foundations
- Chapter 1. The road to CoffeeScript
- Chapter 2. Simplified syntax
- Chapter 3. First-class functions
- Chapter 4. Dynamic objects
- Part 2. Composition
- Chapter 5. Composing objects
- Chapter 6. Composing functions
- Chapter 7. Style and semantics
- Chapter 8. Metaprogramming
- Chapter 9. Composing the asynchronous
- Part 3. Applications
- Chapter 10. Driving with tests
- Chapter 11. In the browser
- Chapter 12. Modules and builds
- Chapter 13. ECMAScript and the future of CoffeeScript
- Appendix A. Reserved words
- Appendix B. Answers to exercises
- Appendix C. Popular libraries
- Index
- List of Figures
- List of Tables
- List of Listings
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.