-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
CoffeeScript Application Development
By :
I hope by now you're thoroughly excited about CoffeeScript! If so, you probably want to use it in all of your projects. Good news! This chapter is all about using CoffeeScript in more places.
It's possible to use CoffeeScript in just about any project, thanks to the handy coffee command-line tool. We can use that to compile our CoffeeScript into JavaScript, and then simply add the JavaScript files to our project. However, many common web frameworks can support CoffeeScript in a better-integrated fashion. We can often cut out the tedious middle step of compiling and moving around JavaScript, and instead write CoffeeScript and see the results immediately.
This chapter will cover integrating CoffeeScript into a number of common web settings. We will:
Learn how to run CoffeeScript code directly in a browser
Learn how to use CoffeeScript in our browser's developer console
Learn how to build CoffeeScript in a Rails application
Learn how to build CoffeeScript...
Change the font size
Change margin width
Change background colour