Object-Oriented JavaScript, 2nd Edition
暫譯: 物件導向 JavaScript(第二版)

Stoyan Stefanov, Kumar Chetan Sharma

  • 出版商: Packt Publishing
  • 出版日期: 2013-07-29
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 382
  • 裝訂: Paperback
  • ISBN: 1849693129
  • ISBN-13: 9781849693127
  • 相關分類: JavaScriptObject-oriented
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Start thinking in JavaScript - in a radically new way
  • Learn how to apply design patterns to experience the full capabilities of the language
  • Write better and more maintainable JavaScript code

Book Description

Rethink JavaScript with this complete and comprehensive guide to a unique and innovative approach to the leading language of web development. This book shows you everything you need to learn object oriented JavaScript, demonstrating valuable techniques and strategies that you can use to fully experience the impressive capabilities of the language. Dive deeper into JavaScript and explore its data structure, and learn how to put its objects to work to write more efficient and elegant code. With an object oriented approach to JavaScript you will optimize and improve your projects and productivity, and uncover a modern and forward-thinking development methodology.

Gain an in-depth knowledge of JavaScript’s data structures, and learn how different components interact with one another. Look closely at numbers, Booleans and strings, and learn how arrays, loops and conditions help you to effectively manipulate and work with complex data using JavaScript. You’ll also find guidance and insight into the relationship between functions and objects, as well as accessible instructions on how to use them most effectively when working with JavaScript. Learn how to use prototypes, including augmenting built-in objects and learn coding patterns and design patterns to improve your JavaScript code.

What you will learn

  • Harness the full capabilities of JavaScript by learning effective coding patterns
  • Learn high quality JavaScript design patterns to tackle common JavaScript development challenges
  • Dive in and learn JavaScript’s data structures
  • Learn how to use prototypes
  • Improve script performance
  • Find out how an object oriented approach to JavaScript can improve your programs faster and more functional with other libraries
  • About the Authors

    Stoyan Stefanov is a Facebook engineer, author, and speaker. He talks regularly about web development topics at conferences and his blog www.phpied.com, and also runs a number of other sites, including JSPatterns.com—a site dedicated to exploring JavaScript patterns. Previously at Yahoo!, Stoyan was the architect of YSlow 2.0 and creator of the image optimization tool Smush.it.

    Kumar Chetan Sharma studied to be an electronics engineer and has always wanted to build an ultimate sound system. He then, by chance, got a part time job as a trainee HTML guy. From there he picked up CSS and JavaScript and there was no looking back. It was the time when JavaScript was used to validate forms or create fancy DHTML effects and IE6 was the only browser the world knew. He has been developing web applications since then, using LAMP stack. He has worked on white label social networking applications to web control panels for telecom and networked electrical charger infrastructures. He currently works as a frontend engineer for Yahoo! Search.

    Table of Contents

    1. Object-oriented Javascript
    2. Primitive Data Types, Arrays, Loops, and Conditions
    3. Functions
    4. Objects
    5. Prototype
    6. Inheritance
    7. The Browser Environment
    8. Coding and Design Patterns

商品描述(中文翻譯)

#### 主要特點
- 開始以全新的方式思考 JavaScript
- 學習如何應用設計模式,以體驗該語言的全部功能
- 撰寫更好且更易於維護的 JavaScript 代碼

#### 書籍描述
重新思考 JavaScript,這本完整且全面的指南提供了一種獨特且創新的方法來學習這個網頁開發的主流語言。本書展示了學習物件導向 JavaScript 所需的一切,並演示了可以幫助你充分體驗該語言驚人能力的寶貴技術和策略。深入探索 JavaScript,了解其數據結構,並學習如何利用其物件來撰寫更高效且優雅的代碼。透過物件導向的 JavaScript 方法,你將優化和改善你的專案及生產力,並揭示一種現代且前瞻性的開發方法論。

深入了解 JavaScript 的數據結構,並學習不同組件之間的互動。仔細研究數字、布林值和字串,並學習如何使用陣列、迴圈和條件來有效地操作和處理複雜數據。你還將獲得有關函數和物件之間關係的指導和見解,以及在使用 JavaScript 時如何最有效地使用它們的可及指導。學習如何使用原型,包括擴展內建物件,並學習編碼模式和設計模式以改善你的 JavaScript 代碼。

#### 你將學到的內容
- 通過學習有效的編碼模式來充分發揮 JavaScript 的能力
- 學習高品質的 JavaScript 設計模式,以應對常見的 JavaScript 開發挑戰
- 深入學習 JavaScript 的數據結構
- 學習如何使用原型
- 改善腳本性能
- 了解物件導向的 JavaScript 方法如何使你的程式更快且與其他庫更具功能性

#### 關於作者
**Stoyan Stefanov** 是 Facebook 的工程師、作家和演講者。他經常在會議上和他的部落格 www.phpied.com 討論網頁開發主題,並經營多個其他網站,包括專注於探索 JavaScript 模式的 JSPatterns.com。Stoyan 曾在 Yahoo! 工作,是 YSlow 2.0 的架構師和圖像優化工具 Smush.it 的創建者。

**Kumar Chetan Sharma** 學習成為電子工程師,並一直想要建造一個終極音響系統。後來,他偶然獲得了一份兼職的 HTML 實習生工作。從那時起,他學會了 CSS 和 JavaScript,並再也沒有回頭。那時 JavaScript 主要用於驗證表單或創建華麗的 DHTML 效果,而 IE6 是世界上唯一的瀏覽器。自那時以來,他一直在使用 LAMP 堆疊開發網頁應用程式。他曾參與白標社交網路應用程式和電信及網絡電動充電基礎設施的網頁控制面板的開發。目前,他在 Yahoo! Search 擔任前端工程師。

#### 目錄
1. 物件導向 JavaScript
2. 原始數據類型、陣列、迴圈和條件
3. 函數
4. 物件
5. 原型
6. 繼承
7. 瀏覽器環境
8. 編碼和設計模式