Supercharging Node.js Applications with Sequelize: Create high-quality Node.js apps effortlessly while interacting with your SQL database

Durante, Daniel

  • 出版商: Packt Publishing
  • 出版日期: 2022-10-28
  • 售價: $1,490
  • 貴賓價: 9.5$1,416
  • 語言: 英文
  • 頁數: 266
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1801811555
  • ISBN-13: 9781801811552
  • 相關分類: Node.jsSQL資料庫
  • 下單後立即進貨 (約3~4週)

商品描述

A hands-on implementation guide to application development in Node.js using the powerful Sequelize ORM


Key Features:

  • Use the highly powerful JavaScript library to map your database to objects easily
  • Build an application from scratch with easy-to-follow steps and examples
  • Discover industry best practices, tips, and techniques on Sequelize to manage your database with ease


Book Description:

Continuous changes in business requirements can make it difficult for programmers to organize business logic into database models, which turns out to be an expensive operation as changes to the database may result in errors and incongruity within applications. Supercharging Node.js Applications with Sequelize helps you get to grips with Sequelize, a reliable ORM that enables you to alleviate these issues in your database and applications.

With Sequelize, you'll no longer need to store information in flat files or memory. This book takes a hands-on approach to implementation and associated methodologies for your database that will have you up and running in no time. You'll learn how to configure Sequelize for your Node.js application properly, develop a better sense of understanding of how this ORM works, and find out how to manage your database from Node.js using Sequelize. Finally, you'll be able to use Sequelize as the database driver for building your application from scratch.

By the end of this Node.js book, you'll be able to configure, build, store, retrieve, validate, and associate your data from a database to a Node.js application.


What You Will Learn:

  • Configure and optimize Sequelize for your application
  • Validate your database and hydrate it with data
  • Add life cycle events (or hooks) to your application for business logic
  • Organize and ensure the integrity of your data even on preexisting databases
  • Scaffold a database using built-in Sequelize features and tools
  • Discover industry-based best practices, tips, and techniques to simplify your application development


Who this book is for:

This book is for beginner- to intermediate-level Node.js developers looking to upgrade their skills and use Sequelize as their ORM of choice. Basic knowledge of and prior experience with JavaScript and SQL are needed to make the most out of this book.

商品描述(中文翻譯)

一本實踐指南,教你如何使用強大的 Sequelize ORM 在 Node.js 中進行應用程式開發

主要特點:
- 使用強大的 JavaScript 函式庫,輕鬆將資料庫映射到物件
- 透過易於跟隨的步驟和範例,從頭開始建立應用程式
- 探索 Sequelize 的最佳實踐、技巧和技術,輕鬆管理資料庫

書籍描述:
商業需求的持續變化可能使程式設計師難以將業務邏輯組織成資料庫模型,這將導致在資料庫變更時產生錯誤和應用程式不一致,這是一個昂貴的操作。《Supercharging Node.js Applications with Sequelize》幫助你掌握 Sequelize,一個可靠的 ORM,能夠解決資料庫和應用程式中的這些問題。

使用 Sequelize,你將不再需要將資訊存儲在平面文件或記憶體中。本書以實踐為導向,介紹了與資料庫相關的實施方法,讓你能夠快速上手。你將學習如何正確配置 Sequelize 用於你的 Node.js 應用程式,更深入地了解這個 ORM 的工作原理,並學習如何使用 Sequelize 從 Node.js 管理資料庫。最後,你將能夠使用 Sequelize 作為構建應用程式的資料庫驅動程式。

通過閱讀本書,你將能夠配置、建立、存儲、檢索、驗證和關聯資料庫與 Node.js 應用程式之間的資料。

你將學到的內容:
- 配置和優化 Sequelize 以適應你的應用程式
- 驗證資料庫並將其填充資料
- 在應用程式中添加生命週期事件(或鉤子)以處理業務邏輯
- 組織並確保資料的完整性,即使在現有資料庫上也能實現
- 使用內建的 Sequelize 功能和工具來建立資料庫
- 探索基於行業的最佳實踐、技巧和技術,簡化應用程式開發

本書適合對象:
本書適合初級到中級的 Node.js 開發人員,希望提升技能並將 Sequelize 作為首選 ORM。閱讀本書需要基本的 JavaScript 和 SQL 知識和經驗,以充分利用本書的內容。