CoffeeScript Programming with jQuery, Rails, and Node.js

Get more fun and productivity out of your web development by learning CoffeeScript. This book is the perfect primer that takes you from language basics to creating responsive applications. Enjoy.
Preview in Mapt

CoffeeScript Programming with jQuery, Rails, and Node.js

Michael Erasmus

1 customer reviews
Get more fun and productivity out of your web development by learning CoffeeScript. This book is the perfect primer that takes you from language basics to creating responsive applications. Enjoy.

Quick links: > What will you learn?> Table of content> Product reviews

eBook
$10.50
RRP $14.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$10.50
$29.99
RRP $14.99
RRP $29.99
eBook
Print + eBook

Frequently bought together


CoffeeScript Programming with jQuery, Rails, and Node.js Book Cover
CoffeeScript Programming with jQuery, Rails, and Node.js
$ 14.99
$ 10.50
Express Web Application Development Book Cover
Express Web Application Development
$ 29.99
$ 21.00
Buy 2 for $28.00
Save $16.98
Add to Cart

Book Details

ISBN 139781849519588
Paperback140 pages

Book Description

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.

"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.

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.

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.

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.

Table of Contents

Chapter 1: Why CoffeeScript?
CoffeeScript syntax
CoffeeScript has great function syntax
CoffeeScript handles scope better
CoffeeScript has better object syntax
A few other things CoffeeScript fixes
List comprehensions
Conditional clauses and logical aliases
Array slicing and splicing
Destructuring or pattern matching
=> and @
Switch statements
Chained comparisons
Block strings, block comments, and strings
Summary
Chapter 2: Running CoffeeScript
The CoffeeScript stack
Node.js and npm
Node.js, npm, and CoffeeScript on Windows
Installing CoffeeScript on a Mac
Installing CoffeeScript on Linux
Building Node.js from source
Using CoffeeScript
The coffee command
Summary
Chapter 3: CoffeeScript and jQuery
Finding and changing elements
Utility functions
Ajax methods
Using jQuery
Using CoffeeScript and jQuery in the browser
Our application
Summary
Chapter 4: CoffeeScript and Rails
What makes Rails special?
Rails and JavaScript
Rails and CoffeeScript
Installing Rails
Developing our Rails application
Summary
Chapter 5: CoffeeScript and Node.js
Node is event-driven
Node is fast and scalable
Node is not Rails
Node and CoffeeScript
"Hello World" in Node
Express
WebSocket
Jade
Our application
Let's get started
Creating a view
node-supervisor
The to-do list view
The client side
Adding collaboration
Creating the collaboration UI
WebSocket on the client
WebSocket on the server
Joining a list
Adding to-do items to a shared list
Removing to-do items from a shared list
Summary

What You Will Learn

  • The basics of the language and how it compares to JavaScript
  • CoffeeScript’s powerful class syntax
  • Installing CoffeeScript on Windows, Mac OSX, and Linux using Node.js
  • Configuring CoffeeScript for browser applications
  • The basics of jQuery and using it with CoffeeScript
  • Using localStorage in browser-based applications
  • Two approaches to write CoffeeScript in Rails applications
  • Creating responsive web applications using WebSocket

Authors

Table of Contents

Chapter 1: Why CoffeeScript?
CoffeeScript syntax
CoffeeScript has great function syntax
CoffeeScript handles scope better
CoffeeScript has better object syntax
A few other things CoffeeScript fixes
List comprehensions
Conditional clauses and logical aliases
Array slicing and splicing
Destructuring or pattern matching
=> and @
Switch statements
Chained comparisons
Block strings, block comments, and strings
Summary
Chapter 2: Running CoffeeScript
The CoffeeScript stack
Node.js and npm
Node.js, npm, and CoffeeScript on Windows
Installing CoffeeScript on a Mac
Installing CoffeeScript on Linux
Building Node.js from source
Using CoffeeScript
The coffee command
Summary
Chapter 3: CoffeeScript and jQuery
Finding and changing elements
Utility functions
Ajax methods
Using jQuery
Using CoffeeScript and jQuery in the browser
Our application
Summary
Chapter 4: CoffeeScript and Rails
What makes Rails special?
Rails and JavaScript
Rails and CoffeeScript
Installing Rails
Developing our Rails application
Summary
Chapter 5: CoffeeScript and Node.js
Node is event-driven
Node is fast and scalable
Node is not Rails
Node and CoffeeScript
"Hello World" in Node
Express
WebSocket
Jade
Our application
Let's get started
Creating a view
node-supervisor
The to-do list view
The client side
Adding collaboration
Creating the collaboration UI
WebSocket on the client
WebSocket on the server
Joining a list
Adding to-do items to a shared list
Removing to-do items from a shared list
Summary

Book Details

ISBN 139781849519588
Paperback140 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Express Web Application Development Book Cover
Express Web Application Development
$ 29.99
$ 21.00
HTML5 and CSS3 Responsive Web Design Cookbook Book Cover
HTML5 and CSS3 Responsive Web Design Cookbook
$ 26.99
$ 5.40
Building Websites with VB.NET and DotNetNuke 4 Book Cover
Building Websites with VB.NET and DotNetNuke 4
$ 23.99
$ 16.80
EJB 3.1 Cookbook Book Cover
EJB 3.1 Cookbook
$ 32.99
$ 23.10
HTML5 Web Application Development By Example : Beginner's guide Book Cover
HTML5 Web Application Development By Example : Beginner's guide
$ 26.99
$ 18.90
Learn HTML5 by Creating Fun Games Book Cover
Learn HTML5 by Creating Fun Games
$ 29.99
$ 21.00