
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
backbone-simpledb
Advanced tools
Server-side overrides for Backbone to use simpledb
for Model persistence.
npm install backbone-simpledb
Pass an options
object when calling require()
. backbone-simpledb
exports
an SimpleDB sdb
instance and a sync
method that you can use to override
Backbone.sync
or Model.sync
for individual models.
var Backbone = require('backbone');
Backbone.sync = require('backbone-simpledb')({
keyid: 'MyAmazonID',
secret: 'MyAmazonSecretKey',
domain: 'testdb'
}).sync;
// Backbone.sync will now load and save models from the `testdb` domain
backbone-simpledb
stores models in the db using the model.url
as its key.
Collections retrieve models by matching the Collection url against the
initial portion of the Model url.
var orange = new FruitModel({id: 'orange'});
var apple = new FruitModel({id: 'apple'});
var banana = new FruitModel({id: 'banana'});
console.log(orange.url()); // fruits/orange
console.log(apple.url()); // fruits/apple
console.log(banana.url()); // fruits/banana
var fruits = new FruitCollection();
console.log(fruits.url); // fruits
fruits.fetch(); // retrieves orange, apple, banana
backbone-simpledb
does not attempt to overcome any of SimpleDB's inherent
limitations. In particular
In addition, model attributes are stored using JSON.stringify
in order to
overcome SimpleDB's string-only attribute datatypes. This further reduces the
available space per attribute for data.
FAQs
AWS SimpleDB sync backend for backbone.js.
We found that backbone-simpledb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.