JavaScript Cookbook: Programming the Web 3/e

Scott, Adam D., MacDonald, Matthew, Powers, Shelley

  • 出版商: O'Reilly
  • 出版日期: 2021-08-24
  • 定價: $2,450
  • 售價: 8.0$1,960
  • 語言: 英文
  • 頁數: 538
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1492055751
  • ISBN-13: 9781492055754
  • 相關分類: JavaScript
  • 立即出貨

買這商品的人也買了...

商品描述

Why reinvent the wheel every time you run into a problem with JavaScript? This cookbook is chock-full of code recipes for common programming tasks, along with techniques for building apps that work in any browser. You'll get adaptable code samples that you can add to almost any project--and you'll learn more about JavaScript in the process.

The recipes in this book take advantage of the latest features in ECMAScript 2020 and beyond and use modern JavaScript coding standards. You'll learn how to:

  • Set up a productive development environment with a code editor, linter, and test server
  • Work with JavaScript data types, such as strings, arrays, and BigInts
  • Improve your understanding of JavaScript functions, including arrow functions, closures, and generators
  • Apply object-oriented programming concepts like classes and inheritance
  • Work with rich media in JavaScript, including audio, video, and SVGs
  • Manipulate HTML markup and CSS styles
  • Use JavaScript anywhere with Node.js
  • Access and manipulate remote data with REST, GraphQL, and Fetch
  • Get started with the popular Express application-building framework
  • Perform asynchronous operations with Promises, async/await, and web workers

商品描述(中文翻譯)

為什麼每次在使用JavaScript時遇到問題都要重新發明輪子呢?這本食譜書充滿了常見程式設計任務的程式碼範例,以及建立在任何瀏覽器中運作的應用程式的技巧。您將獲得可適應任何專案的程式碼範例,並在過程中更深入了解JavaScript。

本書中的食譜利用了ECMAScript 2020及其後續版本的最新功能,並使用現代JavaScript編碼標準。您將學習以下內容:

- 使用程式碼編輯器、程式碼檢查工具和測試伺服器建立高效的開發環境
- 使用JavaScript的資料類型,如字串、陣列和BigInt
- 提升對JavaScript函式的理解,包括箭頭函式、閉包和生成器
- 應用物件導向程式設計概念,如類別和繼承
- 在JavaScript中處理豐富媒體,包括音訊、影片和SVG
- 操控HTML標記和CSS樣式
- 使用Node.js在任何地方使用JavaScript
- 存取和操作遠端資料,包括REST、GraphQL和Fetch
- 開始使用流行的Express應用程式建置框架
- 使用Promises、async/await和Web Workers執行非同步操作

作者簡介

Adam D. Scott is an engineering manager, web developer, and educator based in Connecticut. He currently works as the web development lead at the Consumer Financial Protection Bureau, where he focuses on building open source tools. Additionally, he has worked in education for over a decade, teaching and writing curriculum on a range of technical topics. He is the author of WordPress for Education (Packt, 2012), the Introduction to Modern Front-End Development video course (O'Reilly 2015), the Ethical Web Development report series (O'Reilly 2016-2017), and JavaScript Everywhere (O'Reilly 2020).

Matthew MacDonald is a science and technology writer with dozens of books to his name. Over the years, he's written about programming, web design, and nature's weirdest computing tool--the human brain. These days he's exploring quirky content for kids, including a free interactive guide for learning to write JavaScript. You can learn more about his new projects and his semi-regular publication, Young Coder, on his website, http: //prosetech.com.

Shelley Powers has been working with, and writing about, web technologies for more than 25 years. She wrote her first book on JavaScript in 1996. Her recent O'Reilly books have primarily focused on JavaScript and Node.

作者簡介(中文翻譯)

Adam D. Scott是一位位於康乃狄克州的工程經理、網頁開發人員和教育工作者。他目前在Consumer Financial Protection Bureau擔任網頁開發主管,專注於建立開源工具。此外,他在教育領域已有十多年的工作經驗,教授並編寫了各種技術主題的課程。他是《WordPress for Education》(Packt,2012)、《Introduction to Modern Front-End Development》視頻課程(O'Reilly,2015)、《Ethical Web Development》報告系列(O'Reilly,2016-2017)和《JavaScript Everywhere》(O'Reilly,2020)的作者。

Matthew MacDonald是一位科學和技術作家,已經出版了數十本書籍。多年來,他撰寫了關於編程、網頁設計和大自然最奇特的計算工具-人腦的書籍。如今,他正在為兒童探索有趣的內容,包括一本免費的互動指南,用於學習編寫JavaScript。您可以在他的網站http://prosetech.com上了解更多關於他的新項目和他的定期出版物《Young Coder》的信息。

Shelley Powers已經在網頁技術領域工作和撰寫文章超過25年。她於1996年撰寫了她的第一本關於JavaScript的書籍。她最近的O'Reilly書籍主要集中在JavaScript和Node上。