O'Reilly logo

CoffeeScript in Action by Patrick Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. In the browser

This chapter covers

  • Building browser-based programs
  • Creating polyfills for cross-browser compatibility
  • Building retained- and immediate-mode interfaces
  • Structuring browser-based programs

A web browser can be a hostile environment in which to run a program, but CoffeeScript can help you keep your browser-based applications manageable. It’s not the individual features of CoffeeScript that help you in a browser. Instead, it’s the focus on simplicity and clarity of expression and semantics that help you to keep your sanity in the world of web browsers, which can at times seem insane. That said, although the benefit of CoffeeScript in a browser is in how you use it to structure programs, it’s still important to learn ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required