Programming in CoffeeScript (Paperback)
Mark Bates
- 出版商: Addison Wesley
- 出版日期: 2012-05-24
- 售價: $1,660
- 貴賓價: 9.5 折 $1,577
- 語言: 英文
- 頁數: 320
- 裝訂: Paperback
- ISBN: 032182010X
- ISBN-13: 9780321820105
-
相關分類:
JavaScript
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$990$891 -
$490$382 -
$520$468 -
$900$855 -
$650$514 -
$600$468 -
$520$411 -
$480$379 -
$250$225 -
$550$468 -
$450$356 -
$880$748 -
$580$452 -
$1,130$961 -
$400$380 -
$1,500$1,185 -
$480$379 -
$120$114 -
$540$427 -
$680$578 -
$480$379 -
$480$379 -
$480$374 -
$690$538 -
$399$315
相關主題
商品描述
Use CoffeeScript to Write Better JavaScript Code Than Ever Before!
If you can do it in JavaScript, you can do it better in CoffeeScript. And, since CoffeeScript “compiles down” to JavaScript, your code will fit neatly into virtually any web environment. In Programming in CoffeeScript, Mark Bates shows web developers why CoffeeScript is so useful and how it avoids the problems that often make JavaScript code buggy and unmanageable. He guides you through every feature and technique you need to write quality CoffeeScript code and shows how to take advantage of CoffeeScript’s increasingly robust toolset.
Bates begins with the absolute basics of running and compiling CoffeeScript and then introduces syntax, control structures, functions, collections, and classes. Through same page code comparisons, you’ll discover exactly how CoffeeScript improves on JavaScript. Next, you’ll put it to work in building applications that are powerful, flexible, maintainable, concise, reliable, and secure. Bates shares valuable tips for better development, illuminating CoffeeScript’s hidden gems and warning you about its remaining “rough edges.” The book concludes with a start-to-finish application case study showing how to code back-ends and front-ends and integrate powerful frameworks and libraries. Coverage includes
- Understanding the right ways to compile and execute CoffeeScript
- Using CoffeeScript’s clean syntax to focus on your code, not JavaScript’s distractions
- Working with CoffeeScript’s control structures, functions, and arguments
- Taking full advantage of CoffeeScript’s implementation of collections and iterators
- Leveraging CoffeeScript’s full class support to create complex data models
- Automating common application development tasks with Cake and Cakefiles
- Configuring Jasmine with CoffeeScript support, and using it to systematically test your code
- Writing Node.js server-side applications in CoffeeScript
- Using CoffeeScript to write jQuery and Backbone.js applications
- Integrating framework code to avoid “reinventing the wheel”
Want a better way to create the JavaScript code your web applications need? CoffeeScript is the solution–and this book will help you master it!
商品描述(中文翻譯)
使用CoffeeScript撰寫比以往更好的JavaScript代碼!
如果你能用JavaScript做到,你可以用CoffeeScript做得更好。而且,由於CoffeeScript可以“編譯”成JavaScript,你的代碼將能夠完美地適應任何網頁環境。在《Programming in CoffeeScript》中,Mark Bates向網頁開發人員展示了CoffeeScript的優勢,以及它如何避免JavaScript代碼常見的錯誤和難以管理的問題。他引導你掌握每個功能和技巧,以撰寫高質量的CoffeeScript代碼,並展示如何充分利用CoffeeScript日益強大的工具集。
Bates從運行和編譯CoffeeScript的基礎知識開始,然後介紹語法、控制結構、函數、集合和類。通過同一頁面的代碼比較,你將發現CoffeeScript如何改進JavaScript。接下來,你將在構建功能強大、靈活、易於維護、簡潔、可靠和安全的應用程序方面發揮其作用。Bates分享了更好的開發技巧,揭示了CoffeeScript的隱藏寶藏,並警告你注意其仍然存在的“問題”。本書以一個從頭到尾的應用案例研究結束,展示了如何編寫後端和前端代碼,並集成強大的框架和庫。內容包括:
- 理解正確的編譯和執行CoffeeScript的方法
- 使用CoffeeScript的乾淨語法專注於你的代碼,而不是JavaScript的干擾
- 使用CoffeeScript的控制結構、函數和參數
- 充分利用CoffeeScript對集合和迭代器的實現
- 利用CoffeeScript的完整類支持創建複雜的數據模型
- 使用Cake和Cakefiles自動化常見的應用程序開發任務
- 配置支持CoffeeScript的Jasmine,並使用它系統地測試你的代碼
- 使用CoffeeScript編寫Node.js服務器端應用程序
- 使用CoffeeScript編寫jQuery和Backbone.js應用程序
- 集成框架代碼,避免“重複造輪子”
想要更好地創建你的網頁應用程序所需的JavaScript代碼嗎?CoffeeScript是解決方案,而這本書將幫助你掌握它!