SolvedPrivate

Need a good ORM for Node.js

Posted on 2015-01-08
8
39 Views
Last Modified: 2016-02-10
I have a Node project which uses Express and MySQL, but I need an ORM. I have heard good things about Waterline.

What can you tell me about which ORM to use? Do I need Sales.JS if I want Waterline?

I have a new project so it's the best time for new frameworks, and would consider Sales.JS is there was real benefit. But I do consider the current framework to be MVC, which I suspect comes from Express: Models, Views and Routes.

I like Waterline since I may need MongoDb at some point, but expect to use MySQL exclusively, for a long while.

Thanks!
0
Comment
Question by:newbieweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 43

Assisted Solution

by:Rob
Rob earned 500 total points
ID: 40539332
I've used Sails with great success and the benefit is the model abstraction means that you can switch databases easily as you code uses the same syntax regardless.  I would strongly suggest Sails.
0
 
LVL 43

Assisted Solution

by:Rob
Rob earned 500 total points
ID: 40539335
http://sailsjs.org/ is built on Waterline but you don't need it just to have the ORM.  I just like the MVC framework.  Makes your code a lot more logical and clean.
0
 

Author Comment

by:newbieweb
ID: 40539343
So, Sailsjs makes it easy to export all the features of Waterline?
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 43

Accepted Solution

by:
Rob earned 500 total points
ID: 40539353
Absolutely.  It incorporates a lot of stuff that makes all aspects on db and content easy.  I know, I sound like I'm selling it but that's because I've found it so easy! *laughing*
0
 

Author Closing Comment

by:newbieweb
ID: 40539378
Well, I decided I will use Waterline AND SailsJS !

Keep your eye out for tons more questions!
0
 

Author Comment

by:newbieweb
ID: 40539383
0
 
LVL 43

Expert Comment

by:Rob
ID: 40539388
If you install Sails you get Waterline :)

Look forward to the questions!
0
 

Author Comment

by:newbieweb
ID: 40539392
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question