[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 77
  • Last Modified:

Need a good ORM for Node.js

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
newbieweb
Asked:
newbieweb
  • 4
  • 4
3 Solutions
 
RobOwner (Aidellio)Commented:
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
 
RobOwner (Aidellio)Commented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
So, Sailsjs makes it easy to export all the features of Waterline?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
RobOwner (Aidellio)Commented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
Well, I decided I will use Waterline AND SailsJS !

Keep your eye out for tons more questions!
0
 
newbiewebSr. Software EngineerAuthor Commented:
0
 
RobOwner (Aidellio)Commented:
If you install Sails you get Waterline :)

Look forward to the questions!
0
 
newbiewebSr. Software EngineerAuthor Commented:
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now