We're using MySQL with Sequelize.js as the ORM.What we're wondering is whether a DOA layer of abstraction is worthwhile. Here are our options:To use the Sequelize models throughout the application.To abstract Sequelize by building a layer that converts Sequelize    models to Backbone models so that we're using Backbone throughout    the rest of the application instead.Is abstraction important in this case or is it normal to use Models from the ORM throughout the other layers?
Using a DAO to abstract our ORM from the rest of the application
orm;node.js;abstraction;dao
Don't do it.  An extra layer of hand-written code will cost you far more than you think, and return far less.Building a DAO layer is worthwhile only if: Sequelize proves inadequate, and you can't modify Sequelize to meet your requirements, and there is another ORM that can do what you need, and the cost of building the DAO layer is less than the cost of switching your code to a new ORM.I expect that it will cost just as much, and probably more, to create and maintain the DAO layer than you would spend later changing ORMs.