ActiveRecord.js 是一个开源的JavaScript 对象映射框架,包括:
ActiveRecord.js abstracts away underlying SQL commands so that JavaScript developers can have a unified API for storing, finding, selecting and retrieving objects and their data using the ActiveRecord pattern popularized by the Ruby on Rails community.
示例代码: