相關主題
商品描述
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從這裡開始您的旅程。了解環境的核心組件,如V8引擎和庫。然後安裝Node.js並探索應用程式開發工具和模組系統。
通過遵循實用的程式碼示例來開發網頁應用程式。使用HTTP設置網頁伺服器,並使用Express和Nest.js框架逐步開發應用程式。連接數據庫,使用REST伺服器和GraphQL生成介面,實現命令行工具,處理非同步編程等等。
從開發到部署管理您的Node.js應用程式。學習如何使用套件管理器,實施測試並防範安全威脅。獲得關於可擴展性和性能的專家建議,以優化您的應用程式。
Node.js讓以前聽起來不可想像的事情成為可能:一種用於客戶端和伺服器端編程的單一語言。今天,您可以使用JavaScript進行前端和後端開發。這使您能夠快速且輕鬆地開發高性能、可擴展和實時的網頁應用程式。難怪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。- 第三部分專門介紹非同步編程。您將學習如何處理承諾和子進程,以及如何在開發中使用數據流。- 第四部分為開發人員提供了最佳實踐和故障排除技巧。您將找到日常開發人員任務的寶貴知識,常見問題的解決方案以及安全性考慮事項。