Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hey Ruby, or: How to introduce a DB to a language

Hey Ruby, or: How to introduce a DB to a language

A little lightening talk I gave today at the amazing Scottish Ruby Conf about my work on ArangoDB's Ruby Adapter.

Lucas Dohmen

May 13, 2013
Tweet

More Decks by Lucas Dohmen

Other Decks in Programming

Transcript

  1. RWTH Aachen, Computer Science Student on branch master triAGENS GmbH,

    Developer moon lum moonbeamlabs by Lucas Dohmen Hey Ruby, or: How to introduce a DB to a lan ua e
  2. What is ? •Free and Open Source… •… Document and

    Graph Store… •… with embedded JavaScript… •… real transactions… •… and an amazin query lan ua e Core Team Member
  3. What I believe in (when it comes to DBs) •I

    believe there should be a low-level driver •I believe that the DB vendor should offer it •I believe that it should be written with as little opinion as possible
  4. Ashikawa::Core •Low Level Driver for Aran oDB •Abstracts the REST

    interface of Aran oDB •Basis for the other ems gem install ashikawa-core
  5. Opinions •Which Lo er do you use? NullLo er. •Which

    HTTP Lib do you use? Faraday. •Which JSON Lib do you use? MultiJSON
  6. Ashikawa::AR •Implements the Active Record pattern •Inte rates with Rails

    •Will et some love next week gem install ashikawa-ar
  7. Active Record? Really? •Active Record is a bad match for

    NoSQL •You want to match one composite in the database to multiple objects, not one