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.
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 PART 1 FOUNDATIONS
The road to CoffeeScript
Simplified syntax
First-class functions
Dynamic objects
PART 2 COMPOSITION
Composing objects
Composing functions
Style and semantics
Metaprogramming
Composing the asynchronous
PART 3 APPLICATIONS
Driving with tests
In the browser
Modules and builds
ECMAScript and the future of CoffeeScript
Summary
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 ju...
Tumuklas pa
Mga Computer at Teknolohiya
Tungkol sa may-akda
Patrick Lee is a developer, designer, and software consultant, working with design startup Canva in Sydney, Australia
Patrick Lee is a developer, designer, and software consultant, working with design startup Canva in Sydney, Australia
I-rate ang e-book na ito
Ipalaam sa amin ang iyong opinyon.
Impormasyon sa pagbabasa
Mga smartphone at tablet
I-install ang Google Play Books app para sa Android at iPad/iPhone. Awtomatiko itong nagsi-sync sa account mo at nagbibigay-daan sa iyong magbasa online o offline nasaan ka man.
Mga laptop at computer
Maaari kang makinig sa mga audiobook na binili sa Google Play gamit ang web browser ng iyong computer.
Mga eReader at iba pang mga device
Para magbasa tungkol sa mga e-ink device gaya ng mga Kobo eReader, kakailanganin mong mag-download ng file at ilipat ito sa iyong device. Sundin ang mga detalyadong tagubilin sa Help Center para mailipat ang mga file sa mga sinusuportahang eReader.