JavaScript Patterns (Paperback)
暫譯: JavaScript 設計模式 (平裝本)
Stoyan Stefanov
- 出版商: O'Reilly
- 出版日期: 2010-10-26
- 定價: $1,200
- 售價: 8.8 折 $1,056
- 語言: 英文
- 頁數: 236
- 裝訂: Paperback
- ISBN: 0596806752
- ISBN-13: 9780596806750
-
相關分類:
JavaScript
-
相關翻譯:
JavaScript 設計模式 (JavaScript Patterns) (繁中版)
立即出貨
買這商品的人也買了...
-
$880$695 -
$880$695 -
$980$774 -
$990$891 -
$1,362Fundamentals of Data Structures in C, 2/e (Paperback)
-
$1,180$1,003 -
$620$490 -
$530$350 -
$420$332 -
$860$731 -
$520$411 -
$820$648 -
$580$458 -
$890$703 -
$450$351 -
$480$408 -
$850$672 -
$520$411 -
$850$672 -
$950$751 -
$700$630 -
$480$379 -
$550$435 -
$1,280$1,254 -
$680$530
相關主題
商品描述
What's the best approach for developing an application with JavaScript? This book helps you answer that question with numerous JavaScript coding patterns and best practices. If you're an experienced developer looking to solve problems related to objects, functions, inheritance, and other language-specific categories, the abstractions and code templates in this guide are ideal -- whether you're writing a client-side, server-side, or desktop application with JavaScript.
Written by JavaScript expert Stoyan Stefanov -- Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool -- JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve.
- Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and more
- Learn why literal notation patterns are simpler alternatives to constructor functions
- Discover different ways to define a function in JavaScript
- Create objects that go beyond the basic patterns of using object literals and constructor functions
- Learn the options available for code reuse and inheritance in JavaScript
- Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more
- Examine patterns that apply specifically to the client-side browser environment
商品描述(中文翻譯)
什麼是使用 JavaScript 開發應用程式的最佳方法?本書透過眾多 JavaScript 編碼模式和最佳實踐來幫助您回答這個問題。如果您是一位經驗豐富的開發者,想要解決與物件、函數、繼承及其他語言特定類別相關的問題,本指南中的抽象概念和程式碼範本非常理想——無論您是在使用 JavaScript 編寫客戶端、伺服器端或桌面應用程式。
本書由 JavaScript 專家 Stoyan Stefanov 撰寫,他是 Yahoo! 的高級技術專家及 YSlow 2.0(網頁性能優化工具)的架構師。JavaScript Patterns 包含了實用的建議,以實施每個討論的模式,並附有幾個實作範例。您還將學習到反模式:那些造成更多問題而非解決問題的常見程式設計方法。
- 探索撰寫高品質 JavaScript 程式碼的有用習慣,例如避免全域變數、使用單一 var 聲明等
- 瞭解為什麼字面量表示法模式是構造函數的簡單替代方案
- 發現在 JavaScript 中定義函數的不同方法
- 創建超越使用物件字面量和構造函數的基本模式的物件
- 瞭解在 JavaScript 中可用的程式碼重用和繼承選項
- 研究針對常見設計模式(如 Singleton、Factory、Decorator 等)的 JavaScript 範例方法
- 檢視特別適用於客戶端瀏覽器環境的模式