?
SolvedPrivate

Need a good ORM for Node.js

Posted on 2015-01-08
8
Medium Priority
?
62 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 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
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

 
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
What we learned in Webroot's webinar on multi-vector protection.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

719 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