Free Sample
+ Collection

Building an Application with CoffeeScript [Video]

Darko Bozhinovski

Build an App using CoffeeScript with one-third of JavaScript code
RRP $39.99

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Video Details

ISBN 139781783283675
Course Length

1 hour and 40 minutes

About This Video

  • Combine JavaScript libraries with CoffeeScript
  • DOM manipulation with jQuery and CoffeeScript
  • Write your own MVC in order to better understand how and why it’s used

Who This Video Is For

If you are a beginner JavaScript developer who wants to start learning CoffeeScript and give your project some structure, this course is for you. The course covers the basics of CoffeeScript and helps you build an app. The only prerequisite is to have a basic idea about application development.

Table of Contents

CoffeeScript 101
A Taste of CoffeeScript
Concepts and Usage
Tools and Extras
Head-first Application Development
Basics of Object-oriented Programming
MVC and Using It in Our Project
Inheritance and Keeping Classes Simple
The Storage Layer – Models and Data Persistence
Models and Storage Basics
Models in Our Application
Routing and Views
Introduction to Routing, Controllers, and Views
Routing and Controllers
The View Layer
Interactions and Event Handling – Using JQuery with CoffeeScript
Local Events
Global Events
Extending Our Application – Manipulating Stored Data
Organizing Application Data
Extending the Document Classes
Making Our App More Usable
Extending Our Application – Add an External Library
Adding External Libraries
Modifying Our App for Rich Text Editing
Exporting Our Documents to PDF
Publishing and Real-world Usage for Our Documents
Using Our Documents Offline
Publishing Files
What's Next?

What You Will Learn

  • Familiarize yourself with CoffeeScript
  • Use CoffeeScript for web app development
  • Get to know the build tools that come along with the language (Cake)
  • Build a simple framework for your application
  • Implement JavaScript libraries with CoffeeScript
  • Understand advanced concepts such as inheritance and polymorphism
  • Incorporate HTML5 APIs with CoffeeScript
  • Refactor your existing CoffeeScript code

In Detail

CoffeeScript is a programming language that transcompiles to JavaScript. Using CoffeeScript, programs can be written with less code, typically only a third of JavaScript lines, with no effect on runtime performance.

This video course provides invaluable insight into the practical usefulness of CoffeeScript, how it can simplify web development, and allow us to easily build web applications or re-factor existing ones.

From getting acquainted with CoffeeScript all the way to using it in production, this course focuses on the practical aspects of the language. You’ll get to see all it offers, such as the simplified syntax compared to JavaScript, the impressive build tools, and the possibilities to simplify your project structure.

You'll build an application while learning the specifics of the language and the many tricks CoffeeScript has up its sleeve. You will use JavaScript libraries to avoid ‘reinventing the wheel’, while inventing some wheels of our own in order to better understand some advanced concepts . We'll go through a really simple MVC framework that provides the basis of a simple document editing application that can export documents to the desktop (from the Web).

The app we’ll be building is fully extensible so you can easily make it your own. Want a note-taking app? We have you covered. Want to extend the app to something more? By all means, you'll have a skeleton app which you can revamp again and again to build various apps with CoffeeScript.



Read More

Recommended for You

CoffeeScript Application Development Cookbook
$ 21.60