Book Image

CoffeeScript Programming with jQuery, Rails, and Node.js

By : Michael Erasmus
Book Image

CoffeeScript Programming with jQuery, Rails, and Node.js

By: Michael Erasmus

Overview of this book

<p>CoffeeScript is a young but popular language that makes web programming fun and more productive. It compiles to JavaScript and unleashes its powerful features while not straying too far from the language. It’s become one of the most popular languages on Github and is being used for both browser and server side programming.<br /><br />"CoffeeScript programming with jQuery, Rails, and Node.js" will not only teach you the CoffeeScript language but also show you how it’s being used by professional programmers with the latest web technologies.<br /><br />This book will teach you the basics of the language, focusing particularly on how it improves on JavaScript. It then focuses on building real life projects in CoffeeScript using jQuery, Rails, and Node.js. <br /><br />We look at CoffeeScript as a language that takes the power of JavaScript and presents it in an elegant and concise syntax. We will then see how we can use its power to write beautiful and short programs for various environments and how it complements the latest and greatest web frameworks.<br /><br />CoffeeScript programming with jQuery, Rails, and Node.js is all you need to become well versed with this great language and set you on your way to using it to write web applications.</p>
Table of Contents (12 chapters)
CoffeeScript Programming with jQuery, Rails, and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building Node.js from source


If you prefer not to use a package manager or installer, or don't have one available for your OS, or you would like to get the very latest version of Node.js, then you can also build Node.js from its source. Be warned though, this process is often fraught with danger, since the source often needs some dependencies on the system to build.

Building on Linux or Unix

To build on a Linux or Unix environment, you need to make sure that you have the following source dependencies installed:

  • Python–Version 2.6 or Version 2.7: You can check if you have Python installed and also check which version is installed by entering python --version in the command prompt.

  • libssl-dev: This can usually be installed with the built-in package manager. It's already installed on OS X.

I'm going to show you how to build Node.js using its latest source. The source is managed using the popular Git version control system and hosted in a repository on github.com. To pull the latest source from your...