CoffeeScript Application Development
Ian Young
- 出版商: Packt Publishing
- 出版日期: 2013-05-08
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 258
- 裝訂: Paperback
- ISBN: 1782162666
- ISBN-13: 9781782162667
-
相關分類:
JavaScript
海外代購書籍(需單獨結帳)
相關主題
商品描述
What JavaScript user wouldn't want to be able to dramatically reduce application development time? This book will teach you the clean, elegant CoffeeScript language and show you how to build stunning applications.
Overview
- Learn the ins and outs of the CoffeeScript language, and understand how the transformation happens behind the scenes
- Use practical examples to put your new skills to work towards building a functional web application, written entirely in CoffeeScript
- Understand the language concepts from short, easy-to-understand examples which can be practised by applying them to your ongoing project
In Detail
JavaScript is becoming one of the key languages in web development. It is now more important than ever across a growing list of platforms. CoffeeScript puts the fun back into JavaScript programming with elegant syntax and powerful features.
CoffeeScript Application Development will give you an in-depth look at the CoffeeScript language, all while building a working web application. Along the way, you'll see all the great features CoffeeScript has to offer, and learn how to use them to deal with real problems like sprawling codebases, incomplete data, and asynchronous web requests.
Through the course of this book you will learn the CoffeeScript syntax and see it demonstrated with simple examples. As you go, you'll put your new skills into practice by building a web application, piece by piece. You'll start with standard language features such as loops, functions, and string manipulation. Then, we’ll delve into advanced features like classes and inheritance. Learn advanced idioms to deal with common occurrences like external web requests, and hone your technique for development tasks like debugging and refactoring.
CoffeeScript Application Development will teach you not only how to write CoffeeScript, but also how to build solid applications that run smoothly and are a pleasure to maintain.
What you will learn from this book
- Write CoffeeScript everywhere, and compile it to JavaScript that can run anywhere
- Discover techniques to manage a complicated codebase and ever-changing requirements
- Drop the semicolons with CoffeeScript's clean, powerful syntax
- Build for loops, if statements, and functions without all the extra keystrokes
- Keep your code clean and organized with classes and inheritance
- Use advanced CoffeeScript idioms to deal with the needs of a growing application
- Debug effectively with source maps
- Integrate CoffeeScript into your project seamlessly with Rails, Brunch, and other web frameworks
- Utilize CoffeeScript for server-side software with Node.js
Approach
CoffeeScript Application Development is a practical, hands-on guide with step-by-step instructions. Follow the smooth and easy tutorial approach, covering examples that build in complexity. By the final chapter you'll be wondering why you didn't try CoffeeScript sooner.
Who this book is written for
If you are a JavaScript developer who wants to save time and add power to your code, then this is the book that will help you do it. With minimal fuss you will learn a whole new language which will reduce your application development time from weeks to days.
商品描述(中文翻譯)
什麼 JavaScript 使用者不想大幅縮短應用程式開發時間呢?這本書將教你乾淨、優雅的 CoffeeScript 語言,並展示如何構建驚人的應用程式。
概述
- 學習 CoffeeScript 語言的各種細節,了解背後的轉換過程
- 使用實用範例將你的新技能應用於構建一個完全用 CoffeeScript 編寫的功能性網頁應用程式
- 從簡短、易於理解的範例中理解語言概念,並通過將其應用於你的進行中的專案來進行實踐
詳細內容
JavaScript 正成為網頁開發中的關鍵語言。它在不斷增長的平台列表中變得比以往任何時候都更重要。CoffeeScript 以優雅的語法和強大的功能讓 JavaScript 編程變得有趣。
《CoffeeScript 應用程式開發》將深入探討 CoffeeScript 語言,同時構建一個可運行的網頁應用程式。在這個過程中,你將看到 CoffeeScript 提供的所有優秀功能,並學習如何使用它們來解決實際問題,如龐大的代碼庫、不完整的數據和非同步網頁請求。
在這本書的過程中,你將學習 CoffeeScript 語法,並通過簡單的範例進行演示。隨著進展,你將逐步實踐你的新技能,構建一個網頁應用程式。你將從標準語言特性開始,例如迴圈、函數和字串操作。然後,我們將深入探討類別和繼承等進階特性。學習處理常見情況的進階慣用法,如外部網頁請求,並磨練你在調試和重構等開發任務中的技術。
《CoffeeScript 應用程式開發》將教你如何編寫 CoffeeScript,還有如何構建運行流暢且易於維護的穩固應用程式。
你將從這本書中學到的內容
- 在任何地方編寫 CoffeeScript,並將其編譯為可以在任何地方運行的 JavaScript
- 發現管理複雜代碼庫和不斷變化需求的技巧
- 使用 CoffeeScript 的乾淨、強大的語法省略分號
- 構建 for 迴圈、if 陳述式和函數,而不需要多餘的按鍵操作
- 使用類別和繼承保持代碼的乾淨和有序
- 使用進階的 CoffeeScript 慣用法來應對不斷增長的應用程式需求
- 使用源地圖有效調試
- 與 Rails、Brunch 和其他網頁框架無縫整合 CoffeeScript 進入你的專案
- 利用 CoffeeScript 為 Node.js 的伺服器端軟體提供支持
方法
《CoffeeScript 應用程式開發》是一本實用的、動手操作的指南,提供逐步的指導。遵循流暢且簡單的教學方法,涵蓋逐漸增加複雜度的範例。到最後一章時,你會想知道為什麼你不早點嘗試 CoffeeScript。
這本書的讀者對象
如果你是一位希望節省時間並為代碼增添力量的 JavaScript 開發者,那麼這本書將幫助你實現這一目標。你將以最小的麻煩學習一門全新的語言,將應用程式開發時間從幾週縮短到幾天。