Software Alternatives & Reviews

Bookshelf.js VS MyBATIS

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

Bookshelf.js logo Bookshelf.js

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

MyBATIS logo 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.
  • Bookshelf.js Landing page
    Landing page //
    2021-08-21
  • MyBATIS Landing page
    Landing page //
    2023-04-18

Bookshelf.js videos

Bookshelf.js crud for beginners

MyBATIS videos

Screencast #18: Introduction to mybatis

More videos:

  • Demo - MyBatis Intro & Demo

Category Popularity

0-100% (relative to Bookshelf.js and MyBATIS)
Development
44 44%
56% 56
Web Frameworks
38 38%
62% 62
Application And Data
48 48%
52% 52
Tool
28 28%
72% 72

User comments

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

Reviews

These are some of the external sources and on-site user reviews we've used to compare Bookshelf.js and MyBATIS

Bookshelf.js Reviews

We have no reviews of Bookshelf.js yet.
Be the first one to post

MyBATIS Reviews

17 Popular Java Frameworks for 2023: Pros, cons, and more
MyBatis is somewhat similar to the Hibernate framework, as both facilitate communication between the application layer and the database. However, MyBatis doesn’t map Java objects to database tables like Hibernate does — instead, it links Java methods to SQL statements. As a result, SQL is visible when you’re working with the MyBatis framework, and you still have control over...
Source: raygun.com

Social recommendations and mentions

Based on our record, Bookshelf.js should be more popular than MyBATIS. 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

MyBATIS mentions (2)

  • How do you guys go about the persistence layer?
    Other tools you can look at for the data layer are MyBatis (https://mybatis.org/mybatis-3/) and JOOQ (https://www.jooq.org) they put you a little closer to the database than JPA/Hibernate. Source: about 2 years ago
  • Do most established companies use ORMs?
    While its not as well known, have you ever glanced at mybatis? https://mybatis.org/mybatis-3/. Source: over 2 years ago

What are some alternatives?

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

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

Hibernate - Hibernate an open source Java persistence framework project.

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

Entity Framework - See Comparison of Entity Framework vs NHibernate.

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

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