Programming in CoffeeScript (Paperback)
暫譯: CoffeeScript 程式設計 (平裝本)
Mark Bates
- 出版商: Addison Wesley
- 出版日期: 2012-05-24
- 售價: $1,690
- 貴賓價: 9.5 折 $1,606
- 語言: 英文
- 頁數: 320
- 裝訂: Paperback
- ISBN: 032182010X
- ISBN-13: 9780321820105
-
相關分類:
JavaScript
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$990$891 -
$490$382 -
$520$442 -
$900$855 -
$650$514 -
$600$468 -
$520$411 -
$480$379 -
$250$213 -
$550$435 -
$450$356 -
$880$748 -
$580$452 -
$1,130$961 -
$400$380 -
$1,500$990 -
$480$379 -
$120$114 -
$540$427 -
$680$578 -
$480$379 -
$480$408 -
$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 是解決方案——而這本書將幫助你掌握它!