CoffeeScript in Action

· Verkoop deur Simon and Schuster
E-boek
432
Bladsye
Geskik

Meer oor hierdie e-boek

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 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
  1. The road to CoffeeScript
  2. Simplified syntax
  3. First-class functions
  4. Dynamic objects
  5. PART 2 COMPOSITION
  6. Composing objects
  7. Composing functions
  8. Style and semantics
  9. Metaprogramming
  10. Composing the asynchronous
  11. PART 3 APPLICATIONS
  12. Driving with tests
  13. In the browser
  14. Modules and builds
  15. 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...

Ontdek meer

Meer oor die skrywer

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

Gradeer hierdie e-boek

Sê vir ons wat jy dink.

Lees inligting

Slimfone en tablette
Installeer die Google Play Boeke-app vir Android en iPad/iPhone. Dit sinkroniseer outomaties met jou rekening en maak dit vir jou moontlik om aanlyn of vanlyn te lees waar jy ook al is.
Skootrekenaars en rekenaars
Jy kan jou rekenaar se webblaaier gebruik om na oudioboeke wat jy op Google Play gekoop het, te luister.
E-lesers en ander toestelle
Om op e-inktoestelle soos Kobo-e-lesers te lees, moet jy ’n lêer aflaai en dit na jou toestel toe oordra. Volg die gedetailleerde hulpsentrumaanwysings om die lêers na ondersteunde e-lesers toe oor te dra.