Cross-platform Desktop Application Development: Electron, Node, NW.js, and React

Dmitry Sheiko

  • 出版商: Packt Publishing
  • 出版日期: 2017-07-27
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1788295692
  • ISBN-13: 9781788295697
  • 相關分類: React
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Key Features

  • Build different cross-platform HTML5 desktop applications right from planning, designing, and deployment to enhancement, testing, and delivery
  • Forget the pain of cross-platform compatibility and build efficient apps that can be easily deployed on different platforms.
  • Build simple to advanced HTML5 desktop apps, by integrating them with other popular frameworks and libraries such as Electron, Node.JS, Nw.js, React, Redux, and TypeScript

Book Description

Building and maintaining cross-platform desktop applications with native languages isn't a trivial task. Since it's hard to simulate on a foreign platform, packaging and distribution can be quite platform-specific and testing cross-platform apps is pretty complicated.In such scenarios, web technologies such as HTML5 and JavaScript can be your lifesaver. HTML5 desktop applications can be distributed across different platforms (Window, MacOS, and Linux) without any modifications to the code.

The book starts with a walk-through on building a simple file explorer from scratch powered by NW.JS. So you will practice the most exciting features of bleeding edge CSS and JavaScript. In addition you will learn to use the desktop environment integration API, source code protection, packaging, and auto-updating with NW.JS.

As the second application you will build a chat-system example implemented with Electron and React. While developing the chat app, you will get Photonkit. Next, you will create a screen capturer with NW.JS, React, and Redux.

Finally, you will examine an RSS-reader built with TypeScript, React, Redux, and Electron. Generic UI components will be reused from the React MDL library. By the end of the book, you will have built four desktop apps. You will have

商品描述(中文翻譯)

主要特點



  • 從規劃、設計、部署到增強、測試和交付,構建不同的跨平台HTML5桌面應用程序

  • 忘掉跨平台兼容性的痛苦,構建高效的應用程序,可以輕鬆部署在不同的平台上

  • 通過將它們與其他流行的框架和庫(如Electron、Node.JS、Nw.js、React、Redux和TypeScript)集成,構建從簡單到高級的HTML5桌面應用程序

書籍描述


使用原生語言構建和維護跨平台桌面應用程序並不是一個簡單的任務。由於很難在外部平台上模擬,打包和分發可能非常依賴特定平台,測試跨平台應用程序也相當複雜。在這種情況下,HTML5和JavaScript等網絡技術可以成為你的救星。HTML5桌面應用程序可以在不修改代碼的情況下在不同平台(Windows、MacOS和Linux)上分發。


本書以從頭開始構建一個簡單的文件瀏覽器為例,使用NW.JS技術。因此,您將練習最新的CSS和JavaScript功能。此外,您還將學習使用桌面環境集成API、源代碼保護、打包和自動更新的NW.JS技術。


作為第二個應用程序,您將使用Electron和React構建一個聊天系統示例。在開發聊天應用程序時,您將使用Photonkit。接下來,您將使用NW.JS、React和Redux創建一個屏幕捕獲器。


最後,您將使用TypeScript、React、Redux和Electron構建一個RSS閱讀器。通用的UI組件將從React MDL庫中重用。通過本書的學習,您將構建四個桌面應用程序。