Software Alternatives & Reviews

Bookshelf.js VS NHibernate

Compare Bookshelf.js VS NHibernate and see what are their differences

Bookshelf.js logo Bookshelf.js

Application and Data, Data Stores, and Object Relational Mapper (ORM)

NHibernate logo NHibernate

The official NHibernate community site. Download NHibernate. Read blogs. Contribute to the NHibernate Wiki. Find reference documentation.
  • Bookshelf.js Landing page
    Landing page //
    2021-08-21
  • NHibernate Landing page
    Landing page //
    2020-02-21

Bookshelf.js videos

Bookshelf.js crud for beginners

NHibernate videos

Introduction to NHibernate: Setting up your Mappings

More videos:

  • Review - Fluent NHibernate: Getting started w/ your first mappings
  • Review - ActiveCommerce + NHibernate + SPEAK Part 1

Category Popularity

0-100% (relative to Bookshelf.js and NHibernate)
Development
52 52%
48% 48
Web Frameworks
51 51%
49% 49
Application And Data
53 53%
47% 47
Tool
49 49%
51% 51

User comments

Share your experience with using Bookshelf.js and NHibernate. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Bookshelf.js seems to be more popular. It has been mentiond 6 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Bookshelf.js mentions (6)

  • Top 6 ORMs for Modern Node.js App Development
    Bookshelf.js is an uncomplicated and lightweight ORM designed for Node.js, constructed atop the Knex.js query builder. Its primary aim is to support SQL databases, such as PostgreSQL, MySQL, and SQLite. Bookshelf.js focuses on simplicity and user-friendliness, offering a direct method for defining models and relationships through JavaScript classes and prototypal inheritance. - Source: dev.to / 7 months ago
  • Is there a 'batteries included' backend framework like Django, but written in JS?
    If you're set on JS (using only one language on a team/project can be very nice) common choices for backend often involve using Express or hapi with some ORM (like Prisma or Bookshelf). Source: about 2 years ago
  • Using Database Transactions to Write Queries in Strapi
    Strapi uses Bookshelf.js library to send database queries in an ORM fashion. Bookshelf itself is powered by Knex.js, which is a SQL query builder. Knex.js supports popular SQL-based database engines like PostgreSQL, SQLite, MySQL, and MariaDB, which are also supported by Strapi. Knex.js also supports database transactions, which then makes Bookshelf also provides support for it. With a basic understanding of both... - Source: dev.to / over 2 years ago
  • Recovering XAMPP developer looking to make a Node CRUD app. What Node database tools are easy to learn?
    I made the transition from LAMP to Node-based stacks 6 or 7 years ago and started out using BookshelfJS. Node is a different world though, one that lends itself to distributed services and server-less infrastructure, and it's changed how I interact with DBs. Source: over 2 years ago
  • How to get randomly sorted recordsets in Strapi
    First, we need to get all recordsets randomly sorted. To achieve this, we will need to build a query. Strapi is using Bookshelf as an ORM. So we can start by getting our Partnership model, so we can run a query on it. Inside the query, we get a knex (this is the query builder that Bookshelf uses under the hood) query builder instance. On this query builder instance, we can there ask to order recordsets randomly.... - Source: dev.to / over 2 years ago
View more

NHibernate mentions (0)

We have not tracked any mentions of NHibernate yet. Tracking of NHibernate recommendations started around Mar 2021.

What are some alternatives?

When comparing Bookshelf.js and NHibernate, you can also consider the following products

Beego - Beego Web is official blog and documentation website for beego app web framework

Mikro orm - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns.

Propel ORM - Application and Data, Languages & Frameworks, and Microframeworks (Backend)

Dapper - Dapper is a user-friendly object mapper for the .NET framework.

Hibernate - Hibernate an open source Java persistence framework project.

MyBATIS - MyBatis is a top-rated SQL-based data mapping solution used by Programmers, Software Engineers, and Database Architects for developing object-oriented software applications.