SummaryCoffeeScript 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 structureWeb application patterns and best practicesPrototype-based OOPFunctional programmingAsynchronous programming techniquesBuilds and testing Readers need a basic grasp of web development and how JavaScript works. No prior exposure to CoffeeScript is required. About the AuthorPatrick Lee is a developer, designer, and software consultant, working with design startup Canva in Sydney, Australia. Table of Contents PART 1 FOUNDATIONSThe road to CoffeeScriptSimplified syntaxFirst-class functionsDynamic objectsPART 2 COMPOSITIONComposing objectsComposing functionsStyle and semanticsMetaprogrammingComposing the asynchronousPART 3 APPLICATIONSDriving with testsIn the browserModules and buildsECMAScript and the future of CoffeeScript
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.