Mastering JavaScript Object-Oriented Programming
暫譯: 精通 JavaScript 物件導向程式設計
Andrea Chiarelli
- 出版商: Packt Publishing
- 出版日期: 2016-06-29
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 393
- 裝訂: Paperback
- ISBN: 1785889109
- ISBN-13: 9781785889103
-
相關分類:
JavaScript、Object-oriented
海外代購書籍(需單獨結帳)
買這商品的人也買了...
商品描述
Key Features Covering all the new Object-Oriented features introduced in ES6, this book shows you how to build large-scale web apps Build apps that promote scalability, maintainability, and reusability Learn popular Object-Oriented programming (OOP) principles and design patterns to build robust apps Implement Object-Oriented concepts in a wide range of front-end architectures Book Description ECMAScript 6 introduces several new Object-Oriented features that drastically change the way developers structure their projects. Web developers now have some advanced OOP functionality at their disposal to build large-scale applications in JavaScript. With this book, we'll provide you with a comprehensive overview of OOP principles in JavaScript and how they can be implemented to build sophisticated web applications. Kicking off with a subtle refresher on objects, we'll show you how easy it is to define objects with the new ES6 classes. From there, we'll fly you through some essential OOP principles, forming a base for you to get hands-on with encapsulation. You'll get to work with the different methods of inheritance and we'll show you how to avoid using inheritance with Duck Typing. From there, we'll move on to some advanced patterns for object creation and you'll get a strong idea of how to use interesting patterns to present data to users and to bind data. We'll use the famous promises to work with asynchronous processes and will give you some tips on how to organize your code effectively. You'll find out how to create robust code using SOLID principles and finally, we'll show you how to clearly define the goals of your application architecture to get better, smarter, and more effective coding. This book is your one-way ticket to becoming a JavaScript Jedi who can be counted on to deliver flexible and maintainable code. What you will learn Master JavaScript's OOP features, including the one's provided by ES6 specification
商品描述(中文翻譯)
主要特點
涵蓋 ES6 中引入的所有新物件導向特性,本書將教您如何構建大型網頁應用程式。
構建促進可擴展性、可維護性和可重用性的應用程式。
學習流行的物件導向程式設計(OOP)原則和設計模式,以構建穩健的應用程式。
在各種前端架構中實現物件導向概念。
書籍描述
ECMAScript 6 引入了幾個新的物件導向特性,徹底改變了開發人員結構化項目的方式。
網頁開發人員現在可以利用一些先進的 OOP 功能來構建大型 JavaScript 應用程式。
本書將為您提供 JavaScript 中 OOP 原則的全面概述,以及如何實現這些原則來構建複雜的網頁應用程式。
從對物件的微妙回顧開始,我們將向您展示如何使用新的 ES6 類輕鬆定義物件。
接下來,我們將帶您了解一些基本的 OOP 原則,為您提供實踐封裝的基礎。
您將學習不同的繼承方法,我們將向您展示如何使用 Duck Typing 避免使用繼承。
然後,我們將進入一些物件創建的高級模式,讓您對如何使用有趣的模式來向用戶呈現數據和綁定數據有深入的了解。
我們將使用著名的 promises 來處理非同步過程,並提供一些有效組織代碼的技巧。
您將了解如何使用 SOLID 原則創建穩健的代碼,最後,我們將向您展示如何明確定義應用程式架構的目標,以實現更好、更智能和更有效的編碼。
本書是您成為可以信賴的 JavaScript 大師的單程票,能夠交付靈活且可維護的代碼。
您將學到的內容
掌握 JavaScript 的 OOP 特性,包括 ES6 規範提供的特性。