Hands-On JavaScript High Performance

Scherer, Justin

  • 出版商: Packt Publishing
  • 出版日期: 2020-02-28
  • 定價: $1,300
  • 售價: 9.0$1,170
  • 語言: 英文
  • 頁數: 376
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1838821090
  • ISBN-13: 9781838821098
  • 相關分類: JavaScript
  • 立即出貨 (庫存=1)

商品描述

High-performance web development is all about cutting through the complexities in different layers of a web app and building services and APIs that improve the speed and performance of your apps on the browser. With emerging web technologies, building scalable websites and sustainable web apps is smoother than ever.

This book starts by taking you through the web frontend, popular web development practices, and the latest version of ES and JavaScript. You'll work with Node.js and learn how to build web apps without a framework. The book consists of three hands-on examples that help you understand JavaScript applications at both the server-side and the client-side using Node.js and Svelte.js. Each chapter covers modern techniques such as DOM manipulation and V8 engine optimization to strengthen your understanding of the web. Finally, you’ll delve into advanced topics such as CI/CD and how you can harness their capabilities to speed up your web development dramatically.

By the end of this web development book, you'll have understood how the JavaScript landscape has evolved, not just for the frontend but also for the backend, and be ready to use new tools and techniques to solve common web problems.

商品描述(中文翻譯)

高效能的網頁開發是關於在網頁應用程式的不同層面中解決複雜性,並建立能夠改善瀏覽器上應用程式速度和效能的服務和API。隨著新興的網頁技術,建立可擴展的網站和可持續的網頁應用程式比以往更加順暢。

本書首先介紹網頁前端、流行的網頁開發實踐以及最新版本的ES和JavaScript。您將使用Node.js進行開發,並學習如何在沒有框架的情況下建立網頁應用程式。本書包含三個實例,幫助您了解使用Node.js和Svelte.js在伺服器端和客戶端開發JavaScript應用程式。每個章節都涵蓋現代技術,如DOM操作和V8引擎優化,以加強您對網頁的理解。最後,您將深入探討CI/CD等高級主題,並了解如何利用它們的能力大幅加快網頁開發速度。

通過閱讀本書,您將了解JavaScript的演變,不僅僅是前端,還包括後端,並準備好使用新的工具和技術來解決常見的網頁問題。

作者簡介

Justin Scherer has been professionally developing JavaScript applications for over 10 years. On top of this, he has worked in a variety of fields ranging from embedded systems to high-performance cluster applications. Justin has led development teams that utilize JavaScript on the web and on the server. He currently works for a large financial institution where he is leading the charge on developing highly performant front-end and middleware using JavaScript. On his off time, he has a handful of hobbies: playing the piano, going to concerts, repairing watches, reading, and spending time with his wife. His mind is constantly wandering to new areas where technology, especially web technology could prove useful.

作者簡介(中文翻譯)

Justin Scherer已經專業地開發JavaScript應用程式超過10年。此外,他還在各種領域工作,從嵌入式系統到高性能集群應用程式。Justin帶領開發團隊在網頁和伺服器上使用JavaScript。他目前在一家大型金融機構工作,負責開發高性能的前端和中間件,使用JavaScript。在閒暇時間,他有幾個愛好:彈鋼琴、去音樂會、修理手錶、閱讀和和妻子共度時光。他的思緒經常遊走於新的領域,尤其是網頁技術可能有用的地方。

目錄大綱

  1. Tools for High Performance on the Web
  2. Immutability versus Mutability - The Balance between Safety and Speed
  3. Vanilla Land - Looking at the Modern Web
  4. Practical Example - A Look at Svelte and Being Vanilla
  5. Switching Contexts - No DOM, Different Vanilla
  6. Message Passing - Learning about the Different Types
  7. Streams - Understanding Streams and Non-Blocking I/O
  8. Data Formats - Looking at Different Data Types Other Than JSON
  9. Practical Example - Building a Static Server
  10. Workers - Learning about Dedicated and Shared Workers
  11. Service Workers - Caching and Making Things Faster
  12. Building and Deploying a Full Web Application
  13. WebAssembly - A Brief Look into Native Code on the Web

目錄大綱(中文翻譯)


  1. 網頁高效能工具

  2. 不可變性與可變性 - 安全性與速度之間的平衡

  3. 原生之地 - 看現代網頁

  4. 實際範例 - 瀏覽 Svelte 和原生的差異

  5. 切換情境 - 沒有 DOM,不同的原生

  6. 訊息傳遞 - 了解不同類型的傳遞方式

  7. 串流 - 了解串流和非阻塞 I/O

  8. 資料格式 - 看其他不同於 JSON 的資料類型

  9. 實際範例 - 建立靜態伺服器

  10. 工作執行緒 - 了解專用和共用工作執行緒

  11. 服務工作執行緒 - 快取和加速事物

  12. 建立和部署完整的網頁應用程式

  13. WebAssembly - 簡要介紹網頁上的原生程式碼