Making Relational Cool Again (or: JavaScript on ACID)
summary
Argues that Node can and should run traditional SQL by showing two libraries actually built: Knex (query builder handling connection pooling, dialect quirks, migrations and raw SQL, even Oracle) and Bookshelf (ORM on top of Knex with one‑to‑many/many‑to‑many and eager loading). Demonstrates promise‑based transaction handling that commits or rollbacks the whole chain, transparent nested transactions that create save points, and a working webSQL Todo example—Bookshelf still requires explicit transaction passing in some cases.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:28sequel
- 12:56Atomicity Consistency Isolation Durability
- 17:11SAVEPOINT ROLLBACK TO
- 25:00Reinvent the wheel
- 25:39other languages
- 26:14Node: a target for traditional CRUD web applications
related talks
02h 42mSQL (The Return): Demystifying Preconceptions and Using the DB Effectively
35mNoSQL, No Server, No problem: Using ORM's in Javascript Applications
45mNoSQL: Death to Relational Databases
18mFrom SQL to NOSQL - a gentle intro for Devs
23mI Would Never Use an ORM
25mI Would Never Use an ORM
41mModern SQL: Evolution of a dinosaur
41mDo you really need that relational DB?
