Hands On JavaScript High Performance

0
(0)

Hands On JavaScript High Performance
 

  • Author:Justin Scherer
  • Length: 483 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2020-04-09
  • ISBN-10: 1838821090
  • ISBN-13: 9781838821098
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Explore the advancements in web development like WebAssembly, Service Workers, and Svelte.js for building faster and secure web applications

    Key Features

    • Take your understanding of the web to the next level by learning emerging techniques like WebAssembly, Service Workers, and GPU accelerations
    • Effective techniques for accessing DOM, minimizing painting, and V8 engine for optimizing JavaScript
    • Understand what makes the web tick and create apps that look and feel like native desktop applications

    Book Description

    The current landscape of building web applications usually utilizes some frameworks on both the frontend and backend. But these frameworks hide the underlying engine and the APIs that are at a system level layer of the web application.

    This book helps you explore the vanilla JavaScript and its features in building faster and secure web apps. We’ll start with understanding the web frontend, current landscape of the web, and the latest version of ES and JavaScript. You’ll dive deep into working with Node.js and learning how web apps can be built without a framework. The book consists of three hands on examples helping you to build a static server with Node.js, exploring Svelte.js with JavaScript, and experiencing GPU acceleration using GLSL and WebGL. Each chapter houses modern techniques like DOM manipulations, v8 engine optimization, etc to help you advance in your understanding of web. Finally, we dive into advanced topics such as WebAssembly and GPU programming and how you can harness their capabilities to speed up your web apps dramatically.

    By the end of this book, you’ll gain an appreciation for how the JavaScript landscape has evolved, not just for the frontend but also for the backend. On top of this, you will have quite a few new tools at your disposal to solve the common web problems with modern web tools and techniques.

    What you will learn

    • Deep dive into vanilla JavaScript for optimizing DOM, classes, modules and Querying with JQuery
    • Fully understand Immutable vs Mutable code and how to use them for building faster web
    • Get a high level understanding of Svelte.js and build a complete real time ToDo app with it
    • Build apps to work offline using Service Workers and caching calls once the user is back online
    • Write C++ native codes and call the WebAssembly module with JavaScript to run them on browser
    • Learn GPU acceleration with JavaScript using WebGL and GLSL programming

    Who This Book Is For

    The book is intended for web developers and developers from a background in C/C++ programming who want to build solid web applications using advanced web technologies. The book assumes a good grasp of vanilla JavaScript and a bit of an understanding with web development tools such as Chrome Developer tools or Mozilla’s developer tools.

    中文:

    书名:亲身体验高性能的JavaScript

    探索Web开发中的进步,如WebAssembly、Service Worker和Svelte.js,以构建更快、更安全的Web应用程序

    主要特点

    • 通过学习新兴技术(如WebAssembly、服务工作者和GPU加速),将您对Web的理解提升到一个新的水平
    • 用于访问DOM、最小化绘制的有效技术,以及用于优化JavaScript的V8引擎
    • 了解是什么让Web运转,并创建外观和感觉都像本机桌面应用程序的应用程序

    图书描述

    当前构建Web应用程序的场景通常在前端和后端都使用一些框架。但这些框架隐藏了Web应用程序系统层上的底层引擎和API。

    本书将帮助您探索普通的JavaScript及其在构建更快、更安全的Web应用程序中的特性。我们将从了解Web前端、Web的当前版图以及ES和JavaScript的最新版本开始。您将深入研究如何使用Node.js,并了解如何在没有框架的情况下构建Web应用程序。本书包含三个实际操作示例,帮助您使用Node.js构建静态服务器,使用JavaScript探索Svelte.js,并使用GLSL和WebGL体验GPU加速。每一章都包含了现代技术,如DOM操作、V8引擎优化等,以帮助您加深对Web的理解。最后,我们将深入探讨WebAssembly和GPU编程等高级主题,以及如何利用它们的功能大幅提高Web应用的速度。

    在本书的最后,您将了解到,不仅是在前端,而且在后端,Java环境是如何发展的。最重要的是,你将有相当多的新工具可供你使用,用现代的网络工具和技术来解决常见的网络问题。

    你将学到什么

    • 深入研究普通的JavaScript,以使用JQuery优化DOM、类、模块和查询
    • 充分理解不可变代码与可变代码以及如何使用它们来构建更快的Web
    • 深入了解Svelte.js并使用它构建一个完整的实时TODO应用程序
    • 使用服务工作人员构建离线工作的应用程序,并在用户恢复在线后缓存呼叫
    • 编写C++原生代码,并使用JavaScript调用WebAssembly模块以在浏览器上运行它们
    • 使用WebGL和GLSL编程学习使用JavaScript实现的GPU加速

    Who This Book Is For

    本书面向Web开发人员和具有C/C++编程背景的开发人员,他们希望使用高级Web技术构建可靠的Web应用程序。这本书假定读者很好地掌握了普通的Java脚本,并对Chrome开发工具或Mozilla的开发工具等网络开发工具有所了解。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册