Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Supercharging Node.js Applications with Sequelize
  • Table Of Contents Toc
Supercharging Node.js Applications with Sequelize

Supercharging Node.js Applications with Sequelize

By : Daniel Durante
4.7 (3)
close
close
Supercharging Node.js Applications with Sequelize

Supercharging Node.js Applications with Sequelize

4.7 (3)
By: Daniel Durante

Overview of this book

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.
Table of Contents (16 chapters)
close
close
1
Part 1 – Installation, Configuration, and the Basics
4
Part 2 – Validating, Customizing, and Associating Your Data
10
Part 3 – Advanced Queries, Using Adapters, and Logging Queries

Handling Customized, JSON, and Blob Data Types

Some database management systems offer a way of storing niche column types such as JSON and Blob-related data. These column types are useful for rapid prototyping, handling schemaless data, and sending and receiving buffered data.

Typically, an application would use a NoSQL database, such as MongoDB, to process and query JSON documents, but this comes with a set of its own problems. We can no longer adhere to some sort of normalization for our structures without an extensive list of validations, and the NoSQL database cannot perform transactions nor provide ACID-compliant capabilities.

Note

Some NoSQL databases claim to offer ACID compliance, but they often come with stipulations and limitations such as a maximum number of documents that can be updated in a single transaction, or a transaction cannot take longer than some temporal window; otherwise, you will lose all of the performance advantages of NoSQL over SQL databases.

...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Supercharging Node.js Applications with Sequelize
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon