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 ...
Get CoffeeScript in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.