Abstract
Nearly all web applications have some type of backing data store. Typically this data store is a database of some sort, and is used to store everything from addresses and credit card numbers to sensor readings and prescription information. Databases provide a way of accessing large amounts of data very quickly. There are generally two types of databases—relational databases and NoSQL databases. This chapter focuses on databases, and how they are accessed from Node applications. More specifically, the MySQL relational database and the MongoDB NoSQL database are explored. Please note that this chapter does not provide instructions for installing MySQL and MongoDB. Additionally, it assumes that you are already familiar with the Structured Query Language (SQL), which is used in conjunction with relational databases.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Colin J. Ihrig
About this chapter
Cite this chapter
Ihrig, C.J. (2013). Databases. In: Pro Node.js for Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5861-2_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5861-2_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5860-5
Online ISBN: 978-1-4302-5861-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books