Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upnode-orm2 or sequelize? #747
Comments
|
@ohjames you can promisify with bluebird e.g.
You might also need to set the context right e.g.
...but yes this is a pain and you also should really read this and then decide to use python and django instead |
|
You can't promisify with bluebird though, well only partially, due to #773 and see also rafaelkaufmann/q-orm#1. For many reasons orm2 is a terrible choice, thankfully I'm not working with the client who made me use it anymore ;) sequelize is better, I will check out loopback, but honestly I'm starting to feel that ORMs often aren't a good idea and there's plenty of recent articles by people who feel the same. |
|
Python/Django is pretty cool, used it a lot. Slightly prefer rails to Django though, much terser code due to ruby's advanced metaprogramming. Node is still cool though, despite the lack of mature ORMs, with recent projects I've been using rethinkdb without an ORM and finding there's less boilerplate when I'm just writing my joins directly. |
|
Loopback is good (and worth bearing in mind it's a framework not just an ORM) but like anything there are drawbacks, context handling was an issue for me but i think they are improving that in 3.0. I want to take a look at rethinkdb and not using ORMs is an interesting approach, I guess it depends on the ORMs available. |
Hey all,
Have any of you had experience using both sequelize and node-orm2? If so, which one is best? I've used sequelize quite a bit and just came across this & it looks good, really good!