LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3973/0)
Reviews (628/0)
Press Releases (464/0)
Distributions (187/0)
Software (859/0)
Hardware (522/0)
Security (192/0)
Tutorials (344/0)
Off Topic (181/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events




4 Best Free CoffeeScript Books

4 Best Free CoffeeScript Books

CoffeeScript is a very succinct programming language that transcompiles into JavaScript, so there is no interpretation at runtime. The syntax is inspired by Ruby, Python and Haskell, and implements many features from these three languages.

CoffeeScript is closely related to JavaScript without having its eccentricities. However, CoffeeScript offers more than fixing many of the oddities of JavaScript, as it has some useful features including array comprehensions, prototype aliases and classes. It allows developers to write less code to get more done.

CoffeeScript is a new language, first appearing in 2009. The first stable release was announced in December 2010.

The focus of this article is to select the finest CoffeeScript books which help programmers become proficient coding in this language. The books that we have selected help developers to take full advantage of the power of CoffeeScript. All of the books are available to download for free.

All of the texts here come with our strongest recommendation. So get reading (and downloading).

1. Smooth CoffeeScript

Smooth CoffeeScript
Website autotelicum.github.com/Smooth-CoffeeScript
Author E. Hoiggard
Format PDF, Static HTML ebook, Interactive HTML 5
Pages 214

Smooth CoffeeScript is a book about CoffeeScript and programming. Start with programming fundamentals, learn about functional programming with Underscore and problem solving, study object orientation and modularity. It covers client/server web apps with Canvas and WebSockets. No previous programming knowledge is required. The book spans over 200 pages and includes 35 exercises.

The book is an introduction to programming in CoffeeScript with an emphasis on clarity and abstraction. It is based on Eloquent JavaScript by Marijn Haverbeke.

Chapters cover:

  • Language
    • Introduction
    • Basic CoffeeScript
    • Functions - provides an introduction into the subject of Functional Programming
    • Data Structures - solves a few simple problems. The author discusses two new types of values, arrays and objects, and looks at some techniques related to them
    • Error Handling
  • Paradigm
    • Functional Programming - produces abstraction through clever ways of combining functions. In this chapter, the author writes a set of useful functions to understand how they work and solve problems with them to understand how to use them
    • Searching - introduces new functional programming concepts and their use in problem solving. It goes through the solution of two problems, discussing some interesting algorithms and techniques along the way
    • Object Orientation - discusses the ideas at the core of object-orientation along with CoffeeScript's take on them
    • Regular Expressions - a language for describing patterns in strings. They form a small, separate language, which is embedded inside CoffeeScript
    • Modularity - deals with the process of organising programs. When structuring a program in CoffeeScript, we do two things. We separate it into smaller parts, called modules, each of which has a specific role, and we specify the relations between these parts
  • Appendix
    • Language Extras - illustrates some extra language constructs and idioms that may come in handy
    • Binary Heaps - explain the details behind this data structure
    • Performance - comparisons between CoffeScript and CPython
    • Command Line Utility - a utility used to remove solutions from source files is shown here. The program uses the asynchronous file system functions in the same manner as server programs
  • Reference
    • Language Reference
    • Reserved Words
    • Underscore
    • QuickCheck
    • Additional Words
    • Footnotes

The book is released under the Creative Commons Attribution 3.0 Unported License. The download includes book and full source code with and without solutions.

2. The Little Book on CoffeeScript

The Little Book on CoffeeScript
Website arcturo.github.com/library/coffeescript/
Author Alex MacCaw
Format HTML
Pages -

The Little Book on CoffeeScript quickly teaches the reader best practices for using this language. The book covers both the client side and server-side applications as well.

  • Discover how CoffeeScript’s syntax differs from JavaScript
  • Learn about features such as array comprehensions, destructuring assignments, and classes
  • Explore CoffeeScript idioms and compare them to their JavaScript counterparts
  • Compile CoffeeScript files in static sites with the Cake build system. Cake is a super simple build system along the lines of Make and Rake
  • Use CommonJS modules to structure and deploy CoffeeScript client-side applications
  • Examine JavaScript’s bad parts — including features CoffeeScript was able to fix

This book is released under an open source license. An updated version of the book (not open source) is available to purchase.

3. CoffeScript Cookbook

CoffeScript Cookbook
Website coffeescriptcookbook.com/
Author David Brady, John Ford, Steven Reid, David Moulton, Sebastian Slomski, and many more
Format HTML
Pages -

CoffeeScript Cookbook is a compilation of CoffeeScript recipes for the community written by the community. Each entry details the problem with an appropriate solution.

Chapters cover:

  • Syntax: Comparing Ranges, Code Reuse on Client and Server, For Loops, Embedding JavaScript
  • Classes and Objects: Class Methods and Instance Methods, Chaining Calls to an Object, Class Variables, A CoffeeScript Type Function, Cloning an Object (Deep Copy), and Create an Object Literal if it does not already exist
  • Strings: Lowercasing a String, Capitalizing Words, Repeating a String, Matching Strings, Finding Substrings, Splitting a String, String Interpolation, Uppercasing a String, Generating a Unique ID, and Trimming Whitespace from a String
  • Arrays: Reversing Arrays, Removing Duplicate Elements from Arrays, Max Array Value, List Comprehensions, Filtering Arrays, Creating a String from an Array, Check if type of value is an Array, Concatenating Arrays, Shuflling Array Elements, Testing Every Element, Mapping Arrays, Creating a dictionary Object from an Array, Reducing Arrays, Using Arays to Swap Variables, Define Ranges Array, Python-like Zip Function
  • Dates and Times: Finding Last (or Next) Month, Calculate Phase of the Moon for a Date, Get Days Between Two Dates, Finding the Last Day of the Month, Calculate the Date of Easter Sunday, Calculate the Date of Thanksgiving (USA and Canada)
  • Math: Faster Fibonacci Algorithm, Fast Inverse Square Root, Math Constants, Generating Predictable Random Numbers, a Random Integer Function, Converting Radians and Degrees, Generating Random Numbers
  • Functions: Recursive Functions, Splat Arguments, Debounce Functions, When Function Parentheses Are Not Optional
  • Metaprogramming: Detecting and Creating Missing Functions, Extending Built-in Objects
  • jQuery: AJAX, Callback Bindings, Create a jQuery Plugin
  • Ajax: Ajax Request Without jQuery
  • Regular Expressions: Replacing HTML Tags with HTML Named Entities, Searching for Substrings, Using Heregexes, Replacing Substrings
  • Networking: Basic HTTP Client, Basic Server, Basic Client, Basic HTTP Server, Bi-Directional Client, Bi-Directional Server
  • Design Patterns: Command Pattern, Bridge Pattern, Builder Pattern, Singleton Pattern, Memento Pattern, Interpreter Pattern, Factory Method Pattern, Decorator Pattern, Strategy Pattern
  • Databases: SQLite, MongoDB
  • Testing: Testing with Jasmine

CoffeScript Cookbook is licensed under the Creative Commons Attribution 3.0 Unported (CC BY 3.0) license.

4. Testing with CoffeeScript

Testing with CoffeeScript
Website efendibooks.com/minibooks/testing-with-coffeescript
Author Jack Franklin
Format PDF
Pages 60

Testing with CoffeeScript lends the reader through the creation of a shopping cart system using unit testing and Behaviour-driven Development (BDD) with the popular framework Jasmine. The reader learns about using and testing jQuery code, writing more idiomatic CoffeeScript and building a well thought out and structured, complex JavaScript application.

The book covers the following:

  • Download and set up Jasmine, examines the principles of Test Driven Development / Behaviour Driven Development, and introduces the example app that will be built in CoffeeScript, a basket system for an ecommerce store
  • Examine refactoring, the usefulness of writing tests, and consider how the main part of the app works and the best way of implementation
  • Review and refactor the existing code base and extend the shopping cart further
  • Integrate a third party API and how to test it. The chapter also examines Spies, Jasmine's stubbing framework

This book is not targeted at the newcomer to CoffeeScript. The author assumes the reader has a working knowledge of CoffeeScript, as well as the basics of Behaviour/Test Driven Development.

Bookmark and Share


Last Updated Sunday, May 25 2014 @ 07:05 AM EDT


We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, Forth, SQL, Node.js (new), Fortran (new), Erlang (new), Pascal (new), and Ada (new).


Group Tests
All Group Tests

Top Free Software
6 Office Suites
7 Document Processors
6 Lean Desktops
6 Desktop Search
9 Project Management
9 Groupware Apps
14 File Managers
10 Databases
21 Backup Tools
21 DVD Tools
21 Window Managers
21 Productivity Tools
9 Terminal Emulators
21 Financial Tools
21 Text Editors
21 Video Emulators
21 Home Emulators
42 Graphics Apps
6 CAD Apps
42 Scientific Apps
10 Web Browsers
42 Email Apps
12 Instant Messaging
10 IRC Clients
7 Twitter Clients
12 News Aggregators
11 VoIP Apps
11 Remote Display Apps
42 Best Games
42 More Games
21 More Games
21 Notable Games (1)
21 Notable Games (2)
21 Notable Games (3)
8 ASCII Games
9 Educational Games
42 Audio Apps
42 Video Apps
6 Screencasting Apps
80 Security Apps
9 System Monitoring
6 Family History Apps
11 PDF Tools
6 Music Servers
6 Collection Managers
7 Calculator Apps
8 Geometry Apps
Free Console Apps
14 Multimedia
Programming
8 Compilers
9 IDEs
9 Debuggers
7 Revision Control Apps
6 Doc Generators
'Free' Proprietary
21 Closed-Source Apps
Top Commercial Apps
42 Games
Free Web Software
21 Web CMS
14 Wiki Engines
8 Blog Apps
6 eCommerce Apps
5 Human Resource Apps
10 ERP
10 CRM
6 Data Warehouse Apps
8 Business Intelligence
6 Point-of-Sale

All Group Tests

Other Articles
Migrating from Windows
Back up your data
Distribution Guide
Distro Portal Pages
20 Free Linux Books
Running Linux Under Windows


Older Stories
Sunday 03/30
  • Increasing Lab Efficiency with an Open Source LIMS (0)
  • Keep a Watchful Eye with these Console Based Process Viewers (0)

  • Saturday 03/15
  • Focus on Your Writing by Using Markdown Editors (0)

  • Sunday 03/09
  • Experience Home Computers that Missed the Big Time (0)

  • Monday 03/03
  • Molly: Children of the Universe (0)

  • Sunday 03/02
  • Up-and-Coming Clients to Tweet (0)
  • Reminiscing the Wonderful ZX Spectrum (0)

  • Monday 02/17
  • Need a Good Bitcoin Client? (0)

  • Sunday 02/09
  • 5 Highly Promising Cross-Platform IDEs (0)
  • Play the Best Linux Puzzle Games (0)


  • Vote

    What do you find MOST attractive about Open Source software?

    Amount of customization
    Security
    Freedom provided
    Speed of development
    Quality
    Multiple versions
    Cost
    Potential to contribute
    Ability to modify code
    Results
    4720 votes | 2 comments

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved