Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Coffeescript Application Development Cookbook
  • Table Of Contents Toc
Coffeescript Application Development Cookbook

Coffeescript Application Development Cookbook

By : Hatfield
4.6 (5)
close
close
Coffeescript Application Development Cookbook

Coffeescript Application Development Cookbook

4.6 (5)
By: Hatfield

Overview of this book

If you are interested in developing modern applications, this book will help you leverage the vast JavaScript ecosystem while using an elegant language, helping you avoid the shortcomings of JavaScript.
Table of Contents (13 chapters)
close
close
12
Index

Working with Backbone

Backbone was created by CoffeeScript creator Jeremy Ashkenas in 2010. The project itself was extracted from Jeremy's work for DocumentCloud as a client-side application framework. It was originally a lightweight client-side Model-View-Control (MVC) framework. It has evolved from it's original 0.1.0 release to remain lightweight, but is no longer an MVC framework strictly speaking. It is instead an MV-Star framework having replaced the notion of a controller with a router instead.

Tip

For more information on Backbone, you can visit the project home page at http://backbonejs.org/.

In this section, we will demonstrate how CoffeeScript can be used to create the various building blocks of an Angular application including the following:

  • Creating models
  • Creating collections
  • Creating views
  • Handling UI events
  • Creating routers

Creating models

In Backbone, the models represent the heart of our application. Models contain our application's interactive data as well as much...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Coffeescript Application Development Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon