easily building fast, scalable network applications. Node.js uses an event- driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
conventions for RESTful data syncing • Flexible, easily extended, concise codebase • Lightweight, doesn’t add features without a number of solid real world use cases
database structure • Maintains consistency between datatypes in different query dialects • Used in combination with migrations to keep database properly structured
selected through another model • Example, a “doctor” hasMany “appointments”, and an appointment hasOne “patient” • doctor.hasMany(Patients).through(Appointment)
pass the same connection along to each query • In Bookshelf, each async call (fetch, save, create, load, destroy), takes an “options” object which may optionally take a {transacting: t} - where “t” is the object in the transaction closure