Mastering JavaScript Object-Oriented Programming

Andrea Chiarelli

  • 出版商: Packt Publishing
  • 出版日期: 2016-06-29
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 393
  • 裝訂: Paperback
  • ISBN: 1785889109
  • ISBN-13: 9781785889103
  • 相關分類: JavaScriptObject-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中引入的所有新的面向對象功能,向您展示如何構建大型Web應用程序 構建促進可擴展性、可維護性和可重用性的應用程序 學習流行的面向對象編程(OOP)原則和設計模式,以構建強大的應用程序 在各種前端架構中實現面向對象的概念 書籍描述 ECMAScript 6引入了幾個新的面向對象功能,徹底改變了開發人員結構項目的方式。Web開發人員現在可以使用一些高級的OOP功能來構建JavaScript中的大型應用程序。 通過本書,我們將為您提供JavaScript中OOP原則的全面概述,以及如何實施這些原則來構建複雜的Web應用程序。 我們將從對象的基本知識開始,向您展示如何使用新的ES6類定義對象。從那裡,我們將帶您深入了解一些基本的OOP原則,為您打下基礎,讓您親自體驗封裝的過程。您將學習使用不同的繼承方法,並向您展示如何使用鴨子類型來避免使用繼承。然後,我們將介紹一些高級的對象創建模式,讓您對如何使用有趣的模式向用戶呈現數據和綁定數據有一個深入的了解。我們將使用著名的Promise來處理異步過程,並給出一些有關如何有效組織代碼的提示。您將了解如何使用SOLID原則創建健壯的代碼,最後,我們將向您展示如何明確定義應用程序架構的目標,以獲得更好、更智能、更有效的編碼。 本書是您成為一名JavaScript絕地武士的通行證,您可以依靠他交付靈活且易於維護的代碼。 您將學到什麼 掌握JavaScript的OOP功能,包括ES6規範提供的功能