Download presentation
Presentation is loading. Please wait.
1
1 Rel Ruby (+7NF) moriq Ruby@ 関西 RejectKaigi2007
2
2 SQL なんでこんな言語なんだ? SELECT * FROM r SELECT * FROM r WHERE c SELECT name FROM r WHERE c SELECT... FROM (SELECT name FROM r WHERE c) JOIN s
3
3 Tutorial D そこで Tutorial D ですよ r r[c] r[c]{name} r[c]{name} JOIN s
4
4 D data language specification http://en.wikipedia.org/wiki/Tu torial_D
5
5 Rel Tutorial D の Java 実装 An Implementation of Date and Darwen's "Tutorial D" http://dbappbuilder.sourceforge.net/Rel.html
6
6 Rel Ruby Rel を Ruby で実装してみた http://dev.moriq.com/svn/rails/ trunk/rel-ruby/
7
7 O/R mapper Object Model Relational Model なんでマッピングなんだ?
8
8 Relation Object Relation.new(heading) r = Relation.new(id: Integer, name: String)
9
9 Tuple Object Tuple.new(attributes) r << Tuple.new(id: 1, name: 'matz') r << {id: 1, name: 'matz'}
10
10 Relational Ruby Ruby で Relational Model を表現 r r.select { |t| t.name == 'matz' } r['name'] r['name'].join(s)
11
11 Ruby(AR) vs DBMS validation reference constraint inheritance locking logging index validation reference constraint inheritance locking logging index
12
12 App + (RelEngine + Storage) (App + RelEngine) + Storage
13
13 Thank you
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.