相關主題
商品描述
If you're developing server-side JavaScript applications, you need Node.js! Start with the basics of the Node.js environment: installation, application structure, and modules. Then follow detailed code examples to learn about web development using frameworks like Express and Nest.js. Learn about different approaches to asynchronous programming, including RxJS and data streams. Details on peripheral topics such as testing, security, performance, and more, make this your all-in-one daily reference for Node.js!
- Your complete guide to backend programming with JavaScript- Install the Node.js environment and learn to use core frameworks- Debug, scale, test, and optimize your applications- Get practical code examples as downloadable product supplements
Getting Started with Node.js Begin your journey with Node.js. Learn about the core components of the environment such as the V8 engine and libraries. Then install Node.js and explore application development tools and the module system.
Developing Applications Develop web applications by following practical code examples. Set up a web server using HTTP and develop apps step by step using the Express and Nest.js frameworks. Connect databases, generate interfaces using the REST server and GraphQL, implement command-line tools, handle asynchronous programming, and more.
Managing ApplicationsManage your Node.js applications from development to deployment. Learn how to use package managers, implement tests, and protect against security threats. Get expert tips on scalability and performance to optimize your apps.
What used to sound unimaginable is possible with Node.js: a single language for client-side and server-side programming. Today, you can use JavaScript for frontend and backend development. This allows you to develop high-performance, scalable, and real-time web applications quickly and easily. No wonder Node.js is becoming more and more popular.
This comprehensive guide is the perfect place to start if you want to master Node.js, one of the most important players in the JavaScript universe. You'll learn the basics of Node.js, see how the platform is built, and work with various interfaces.
With Sebastian Springer, you have an experienced author at your side who shares his enthusiasm about professional JavaScript development. Using many real-life examples, he shows you how to use Node.js securely, right from the start.
This book covers key JavaScript features like destructuring, promises, and the module system. However, the focus is on Node.js, so you should have basic knowledge of JavaScript before reading.
This book includes:
1) More than 800 pages on Node.js 2) Concrete solutions for practical use cases 3) Detailed, numbered code listings 4) Tables, figures, note boxes, and screenshots 5) A comprehensive index6) All code examples available as downloadable supplements
The structure of the book:
To help structure your learning process, you can think of the book as having four distinct parts: - The first part covers the Node.js basics and provides a hands-on introduction to the module system. - The second part provides practical examples from web development. You'll learn about important frameworks such as Express and template engines like Pug. - The third part is dedicated to asynchronous programming. You'll learn how to deal with promises and child processes, and also how to use data streams in development. - The fourth part offers best practices and troubleshooting tips for developers. You'll find valuable knowledge for everyday developer tasks, solutions for common problems, and security considerations.
Highlights:
- Installation
- Asynchronous programming
- Application development
- Modules
- Express and Nest.js frameworks
- Template engines
- Database connectivity
- Web sockets
- Session handling
- Deployment and operations
- Security
- Testing, performance, and scalability
商品描述(中文翻譯)
如果您正在開發伺服器端的 JavaScript 應用程式,您需要 Node.js!從 Node.js 環境的基本知識開始:安裝、應用程式結構和模組。然後通過詳細的程式碼範例學習使用像是 Express 和 Nest.js 的框架進行網頁開發。了解不同的非同步編程方法,包括 RxJS 和資料流。關於測試、安全性、效能等周邊主題的詳細資訊,使這本書成為您 Node.js 的全方位日常參考!
- 您的 JavaScript 後端編程完整指南
- 安裝 Node.js 環境並學習使用核心框架
- 除錯、擴展、測試和優化您的應用程式
- 獲得可下載的實用程式碼範例作為產品補充
開始使用 Node.js 開始您的 Node.js 之旅。了解環境的核心組件,如 V8 引擎和庫。然後安裝 Node.js,探索應用程式開發工具和模組系統。
開發應用程式 通過實用的程式碼範例開發網頁應用程式。使用 HTTP 設置網頁伺服器,並逐步使用 Express 和 Nest.js 框架開發應用程式。連接資料庫,使用 REST 伺服器和 GraphQL 生成介面,實現命令列工具,處理非同步編程等等。
管理應用程式 從開發到部署管理您的 Node.js 應用程式。學習如何使用套件管理器、實施測試以及防範安全威脅。獲得專家關於擴展性和效能的建議,以優化您的應用程式。
曾經聽起來不可想像的事情,現在在 Node.js 中變得可能:一種語言用於客戶端和伺服器端編程。如今,您可以使用 JavaScript 進行前端和後端開發。這使您能夠快速輕鬆地開發高效能、可擴展和即時的網頁應用程式。難怪 Node.js 越來越受歡迎。
這本全面的指南是您想要掌握 Node.js 的完美起點,Node.js 是 JavaScript 生態系統中最重要的角色之一。您將學習 Node.js 的基本知識,了解平台的構建方式,並與各種介面進行互動。
與 Sebastian Springer 一起,您有一位經驗豐富的作者在您身邊,他分享了對專業 JavaScript 開發的熱情。通過許多實際範例,他向您展示如何從一開始就安全地使用 Node.js。
本書涵蓋了關鍵的 JavaScript 特性,如解構、承諾和模組系統。然而,重點在於 Node.js,因此在閱讀之前,您應該具備基本的 JavaScript 知識。
本書包括:
1) 超過 800 頁的 Node.js 內容
2) 實用案例的具體解決方案
3) 詳細的編號程式碼清單
4) 表格、圖形、註解框和螢幕截圖
5) 完整的索引
6) 所有程式碼範例可作為可下載的補充
本書的結構:
為了幫助您結構化學習過程,您可以將本書視為有四個明確的部分:
- 第一部分涵蓋 Node.js 的基本知識,並提供模組系統的實作介紹。
- 第二部分提供來自網頁開發的實用範例。您將學習重要的框架,如 Express 和模板引擎 Pug。
- 第三部分專注於非同步編程。您將學習如何處理承諾和子進程,以及如何在開發中使用資料流。
- 第四部分提供開發者的最佳實踐和故障排除技巧。您將找到日常開發者任務的寶貴知識、常見問題的解決方案和安全考量。
重點:
- 安裝
- 非同步編程
- 應用程式開發
- 模組
- Express 和 Nest.js 框架
- 模板引擎
- 資料庫連接
- 網頁套接字
- 會話處理
- 部署和運營
- 安全性
- 測試、效能和擴展性