Categories: None [Edit]

ocean-dynamo

https://rubygems.org/gems/ocean-dynamo
https://github.com/OceanDev/ocean-dynamo
== OceanDynamo As one important use case for OceanDynamo is to facilitate the conversion of SQL databases to no-SQL DynamoDB databases, it is important that the syntax and semantics of OceanDynamo are as close as possible to those of ActiveRecord. This includes callbacks, exceptions and method chaining semantics. OceanDynamo follows this pattern closely and is of course based on ActiveModel. The attribute and persistence layer of OceanDynamo is modeled on that of ActiveRecord: there's +save+, +save!+, +create+, +update+, +update!+, +update_attributes+, +find_each+, +destroy_all+, +delete_all+, +read_attribute+, +write_attribute+ and all the other methods you're used to. The design goal is always to implement as much of the ActiveRecord interface as possible, without compromising scalability. This makes the task of switching from SQL to no-SQL much easier. OceanDynamo uses only primary indices to retrieve related table items and collections, which means it will scale without limits. OceanDynamo is fully usable as an ActiveModel and can be used by Rails controllers. Thanks to its structural similarity to ActiveRecord, OceanDynamo works with FactoryBot. See also Ocean, a Rails framework for creating highly scalable SOAs in the cloud, in which ocean-dynamo is used as a central component: http://wiki.oceanframework.net

Total

Ranking: 11,006 of 188,252
Downloads: 241,122

Daily

Ranking: 23,157 of 188,232
Downloads: 13

Depended by

RankDownloadsName
6,887654,381ocean-rails

Depends on

RankDownloadsName
71,239,301,750activesupport
34775,068,301activemodel
44690,758,651rails
99432,633,044simplecov
116359,785,541rspec-rails
185251,598,032factory_bot_rails
255181,768,211aws-sdk-dynamodb
275169,053,244sqlite3
6,887654,381ocean-rails

Owners

#GravatarHandle
1iconpeterbengtson