CoffeeScript: Accelerated JavaScript Development, 2/e (Paperback)

Trevor Burnham

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2015-03-17
  • 定價: $1,020
  • 售價: 9.5$969
  • 語言: 英文
  • 頁數: 124
  • 裝訂: Paperback
  • ISBN: 1941222269
  • ISBN-13: 9781941222263
  • 相關分類: JavaScript
  • 立即出貨(限量) (庫存=1)

相關主題

商品描述

Over the last five years, CoffeeScript has taken the web development world by storm. With the humble motto "It's just JavaScript," CoffeeScript provides all the power of the JavaScript language in a friendly and elegant package. This extensively revised and updated new edition includes an all-new project to demonstrate CoffeeScript in action, both in the browser and on a Node.js server. There's no faster way to learn to write a modern web application.

This new edition has been extensively revised and updated to reflect the current state and features of CoffeeScript. Every chapter has been revised and refactored, and new sections and a new chapter on testing have been added. If you already know JavaScript, this book will make your transition to CoffeeScript easy. If you're new to JavaScript, it's a great place to start.

New in this edition:

Automating setup with the Grunt task runner

Using CoffeeScript classes with the Backbone framework

Using CoffeeScript's simple callback syntax to interact with the Express framework

A new chapter on client-side and server-side testing with Mocha

* A new project that gives you hands-on experience with browser-side and server-side CoffeeScript

CoffeeScript is every bit as portable and effective as JavaScript. It aids development by adding a bevy of features, such as classes, splats, list comprehensions, and destructuring. These features make it easier to write clear, readable code, and by learning how these features work, you'll deepen your understand of JavaScript as well. This book is your complete guide to writing better JavaScript code, faster.

商品描述(中文翻譯)

在過去的五年中,CoffeeScript以其「它只是JavaScript」的謙虛口號,迅速在網頁開發界崛起。CoffeeScript以友善且優雅的方式提供了JavaScript語言的所有功能。這本經過大幅修訂和更新的新版包含了一個全新的專案,展示了CoffeeScript在瀏覽器和Node.js伺服器上的應用。這是學習撰寫現代網頁應用程式的最快方法。

這本新版書籍經過大幅修訂和更新,以反映CoffeeScript的最新狀態和功能。每一章都經過了修訂和重構,並新增了新的節點和一個關於測試的新章節。如果你已經熟悉JavaScript,這本書將使你順利過渡到CoffeeScript。如果你對JavaScript還不熟悉,這是一個很好的起點。

本版新增內容包括:
- 使用Grunt任務運行器自動設置
- 在Backbone框架中使用CoffeeScript類別
- 使用CoffeeScript的簡單回調語法與Express框架互動
- 關於使用Mocha進行客戶端和伺服器端測試的新章節
- 一個新的專案,讓你親身體驗瀏覽器端和伺服器端的CoffeeScript應用

CoffeeScript和JavaScript一樣具有可移植性和效能。它通過添加一系列功能(如類別、展開運算符、列表推導和解構)來幫助開發,這些功能使得編寫清晰易讀的程式碼更加容易。通過學習這些功能的運作方式,你將加深對JavaScript的理解。這本書是撰寫更好的JavaScript程式碼的完整指南,並且能夠更快地完成。