Go Premium for a chance to win a PS4. Enter to Win

x
?
SolvedPrivate

Need a good ORM for Node.js

Posted on 2015-01-08
8
Medium Priority
?
72 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
  • 4
  • 4
8 Comments
 
LVL 43

Assisted Solution

by:Rob
Rob earned 2000 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 2000 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 43

Accepted Solution

by:
Rob earned 2000 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

926 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