3. Ashikawa::Core
• Low Level Driver for ArangoDB
• Abstracts the REST interface of ArangoDB
• Basis for the other gems
gem install ashikawa-core
4. Ashikawa::AR
• Implements the Active Record pattern
• Integrates with Rails
• Used on happy-geoco.de Rails Rumble
Project
gem install ashikawa-ar
5. Data Mapper 2
• Not yet
• Implements the Data Mapper pattern
• Will support various data sources
• If you want to know more, go to Piotr
Solnica‘s talk this weekend :(
• We will work on the support of ArangoDB
15. class MyFineModel
include Ashikawa::AR::Model
attribute :name
attribute :my_attribute
attribute :my_string, String
end
# Somewhere else...
model = MyFineModel.by_example name: "Johnny"
rails g ashikawa:model NAME attribute attribute2:String
16. What can you do?
• Define attributes via virtus
• Validate attributes via aequitas
• Find: all, by_example, find_by_aql…
• Delete, reload, save, update_attributes…
• More on rubydoc.info
• Just search for ashikawa-ar
17. Contact
@moonbeamlabs
@arangodb
triAGENS/ashikawa-core
triAGENS/ashikawa-ar
lucas@arangodb.org
ashikawa@googlegroups.com
…or just find us this weekend :)