Skip to Main Content
JavaScript Frameworks for Modern Web Dev
book

JavaScript Frameworks for Modern Web Dev

by Tim Ambler, Nicholas Cloud
October 2015
Intermediate to advanced content levelIntermediate to advanced
520 pages
12h 34m
English
Apress
Content preview from JavaScript Frameworks for Modern Web Dev

CHAPTER 12

image

Knex and Bookshelf

The report of my death was an exaggeration.

—Samuel Langhorne Clemens (Mark Twain)

In this chapter, we will explore two libraries that work together to ease many of the difficulties that Node.js developers often encounter when working with relational databases. The first, Knex, provides a flexible and consistent interface for interacting with several well-known SQL platforms such as MySQL and PostgreSQL. The second, Bookshelf, builds on this foundation by providing developers with a powerful object-relational mapping (ORM) library that simplifies the process of modeling the entities that comprise an application’s ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaScript Next: Your Complete Guide to the New Features Introduced in JavaScript, Starting from ES6 to ES9

JavaScript Next: Your Complete Guide to the New Features Introduced in JavaScript, Starting from ES6 to ES9

Raju Gandhi
JavaScript: Best Practice

JavaScript: Best Practice

James Kolce, Moritz Kroger, Ivan Curic, Samier Saeed, Jeff Mott, M. David Green, Craig Buckler

Publisher Resources

ISBN: 9781484206621Purchase book