Submit Search
Upload
Aniki - The ORM as our great brother.
•
0 likes
•
2,202 views
karupanerura
Follow
https://github.com/karupanerura/Aniki
Read less
Read more
Report
Share
Report
Share
1 of 56
Download now
Download to read offline
Recommended
2012/05/04 (仮) Flyday Night Fever #1
Perlと電子工作をつなげてみた v1.1.0
Perlと電子工作をつなげてみた v1.1.0
aokcub
ゴルフ
ゴルフ
ゴルフ
Takesxi Sximada
LTのおふざけなので怒らないでください
アプリ屋 対 ネットワーク屋
アプリ屋 対 ネットワーク屋
Yasuhito Takamiya
関数型言語勉強会大阪Lt2012 05-19
C#erがF#に這い寄ってみた
C#erがF#に這い寄ってみた
Hiroshi Maekawa
第二回 中国地方DB勉強会 http://local.aguuu.com/events/21550 O/R Mapping と ActiveRecord の話をする予定だったけど、時間が短くなったので、ActiveRecord の話はざっくりとなったセッションです。
O/R Mapping の話をするよ。ActiveRecord の話をしたかった。
O/R Mapping の話をするよ。ActiveRecord の話をしたかった。
Tomohiko Himura
ThinReports and Sinatra
Thin reports再び
Thin reports再び
sy250
なぜ東方地方で、しかもElixirの勉強会を新卒のよわよわなエンジニアが開催しているのか。思い立つまでの経緯と体験と開催して得られた知見を8ページ程度のスライドで紹介しています
清流elixirのこれまで-東海にElixir界の異端児が生まれた話-
清流elixirのこれまで-東海にElixir界の異端児が生まれた話-
OkabeYuya
Presentation by the project founder, Willy Tarreau, on what's new in v1.6, what's coming in 1.7 and how to contribute to the project ! Presentation par le fondateur du projet, Willy Tarreau. Les nouveautés de la v1.6, le roadmap de la v1.7 et comment contribuer au projet !
What's New in HAProxy
What's New in HAProxy
HAProxy Technologies
Recommended
2012/05/04 (仮) Flyday Night Fever #1
Perlと電子工作をつなげてみた v1.1.0
Perlと電子工作をつなげてみた v1.1.0
aokcub
ゴルフ
ゴルフ
ゴルフ
Takesxi Sximada
LTのおふざけなので怒らないでください
アプリ屋 対 ネットワーク屋
アプリ屋 対 ネットワーク屋
Yasuhito Takamiya
関数型言語勉強会大阪Lt2012 05-19
C#erがF#に這い寄ってみた
C#erがF#に這い寄ってみた
Hiroshi Maekawa
第二回 中国地方DB勉強会 http://local.aguuu.com/events/21550 O/R Mapping と ActiveRecord の話をする予定だったけど、時間が短くなったので、ActiveRecord の話はざっくりとなったセッションです。
O/R Mapping の話をするよ。ActiveRecord の話をしたかった。
O/R Mapping の話をするよ。ActiveRecord の話をしたかった。
Tomohiko Himura
ThinReports and Sinatra
Thin reports再び
Thin reports再び
sy250
なぜ東方地方で、しかもElixirの勉強会を新卒のよわよわなエンジニアが開催しているのか。思い立つまでの経緯と体験と開催して得られた知見を8ページ程度のスライドで紹介しています
清流elixirのこれまで-東海にElixir界の異端児が生まれた話-
清流elixirのこれまで-東海にElixir界の異端児が生まれた話-
OkabeYuya
Presentation by the project founder, Willy Tarreau, on what's new in v1.6, what's coming in 1.7 and how to contribute to the project ! Presentation par le fondateur du projet, Willy Tarreau. Les nouveautés de la v1.6, le roadmap de la v1.7 et comment contribuer au projet !
What's New in HAProxy
What's New in HAProxy
HAProxy Technologies
HA Proxy logs use cases: going the extra mile with your logs will give you more perspective than you would ever have dreamed possible.
HA Proxy logs - The Art of Logging
HA Proxy logs - The Art of Logging
logmatic.io
ChinaNetCloud training for HAProxy. This is an introduction to the popular load balancer, HAProxy.
ChinaNetCloud Training - HAProxy Intro
ChinaNetCloud Training - HAProxy Intro
ChinaNetCloud
HAProxy load balancer, how, when, where to use.
HAProxy
HAProxy
Arindam Nayak
HAProxy tech talk
HAProxy tech talk
icebourg
Scaling out on the cloud is easy. Especially, if you have a software provisioning system that helps you to deploy your environment wherever you want. This session will give you an overview of the fantastic new features of HAProxy V 1.5, and how you can integrate it into your environment to build a high available environment, using open source software. Starting with a single-webserver + mysql setup provisioned via chef, we will deploy an HA Proxy Cluster in front and scale out your nginx and mysql database backend.
HAProxy scale out using open source
HAProxy scale out using open source
Ingo Walz
The speaker Jan Gehring is the initiator of the Rex Project, which he has developed in his free time since 2010. Jan works for inovex GmbH as a senior linux system architect and designs, optimises and deploys highly scalable, automated linux environments for customers. For 13 years he has been professionally with Linux and open source and could through numerous projects gained extensive practical experience. His duties include the design, construction and operation of systems. His focus is here in the Data Center Automation, highly available and highly scalable web architectures, and Java-based application servers.
Keepalived & HA-Proxy as an alternative to commercial loadbalancer - August 2014
Keepalived & HA-Proxy as an alternative to commercial loadbalancer - August 2014
inovex GmbH
An introduction to haproxy, including installation, configuration an log.
Introduction to Haproxy
Introduction to Haproxy
Shaopeng He
The Perl Conference 2019 in Pittsburgh Lightning Talks
Perl5 VS JSON
Perl5 VS JSON
karupanerura
Kichijoji.pm #14
コンテキストと仲良く
コンテキストと仲良く
karupanerura
YAPC::Fukuoka 2017 HAKATA
The plan of Aniki 2.0
The plan of Aniki 2.0
karupanerura
Okinawa.pm #5
Aniki::Internal
Aniki::Internal
karupanerura
Ruby Kaigi LT 2016
The Crystal language *recently* update
The Crystal language *recently* update
karupanerura
Mackerel Meetup #7 LT
KOWAZA for mackerel
KOWAZA for mackerel
karupanerura
Kansai.pm #14
TIme::Moment+Time::Strptime=
TIme::Moment+Time::Strptime=
karupanerura
Yokohama.pm #14 LT
DateTimeX::Moment
DateTimeX::Moment
karupanerura
The ORM as our great brother. Gotanda.pm #7 vs Yokohama.pm #13
Aniki has come
Aniki has come
karupanerura
YAPC::EU 2015
Optimize perl5 code for perfomance freaks
Optimize perl5 code for perfomance freaks
karupanerura
YAPC::Asia 2015 http://yapcasia.org/2015/talk/show/523b9508-0d77-11e5-8174-67dc7d574c3a (Please review and teach me my English.)
Technology for reduce of mistakes - うっかりをなくす技術
Technology for reduce of mistakes - うっかりをなくす技術
karupanerura
東京 Crystal 勉強会 #1 in 五反田
router-simple.cr
router-simple.cr
karupanerura
Kichijoji.pm #4
Why we use mruby with Perl5?
Why we use mruby with Perl5?
karupanerura
It's joking :p
はかたの塩
はかたの塩
karupanerura
Shibuya.pm #17でLTをしなかったスライドです。
Gotanda.pmの紹介
Gotanda.pmの紹介
karupanerura
More Related Content
Viewers also liked
HA Proxy logs use cases: going the extra mile with your logs will give you more perspective than you would ever have dreamed possible.
HA Proxy logs - The Art of Logging
HA Proxy logs - The Art of Logging
logmatic.io
ChinaNetCloud training for HAProxy. This is an introduction to the popular load balancer, HAProxy.
ChinaNetCloud Training - HAProxy Intro
ChinaNetCloud Training - HAProxy Intro
ChinaNetCloud
HAProxy load balancer, how, when, where to use.
HAProxy
HAProxy
Arindam Nayak
HAProxy tech talk
HAProxy tech talk
icebourg
Scaling out on the cloud is easy. Especially, if you have a software provisioning system that helps you to deploy your environment wherever you want. This session will give you an overview of the fantastic new features of HAProxy V 1.5, and how you can integrate it into your environment to build a high available environment, using open source software. Starting with a single-webserver + mysql setup provisioned via chef, we will deploy an HA Proxy Cluster in front and scale out your nginx and mysql database backend.
HAProxy scale out using open source
HAProxy scale out using open source
Ingo Walz
The speaker Jan Gehring is the initiator of the Rex Project, which he has developed in his free time since 2010. Jan works for inovex GmbH as a senior linux system architect and designs, optimises and deploys highly scalable, automated linux environments for customers. For 13 years he has been professionally with Linux and open source and could through numerous projects gained extensive practical experience. His duties include the design, construction and operation of systems. His focus is here in the Data Center Automation, highly available and highly scalable web architectures, and Java-based application servers.
Keepalived & HA-Proxy as an alternative to commercial loadbalancer - August 2014
Keepalived & HA-Proxy as an alternative to commercial loadbalancer - August 2014
inovex GmbH
An introduction to haproxy, including installation, configuration an log.
Introduction to Haproxy
Introduction to Haproxy
Shaopeng He
Viewers also liked
(7)
HA Proxy logs - The Art of Logging
HA Proxy logs - The Art of Logging
ChinaNetCloud Training - HAProxy Intro
ChinaNetCloud Training - HAProxy Intro
HAProxy
HAProxy
HAProxy tech talk
HAProxy tech talk
HAProxy scale out using open source
HAProxy scale out using open source
Keepalived & HA-Proxy as an alternative to commercial loadbalancer - August 2014
Keepalived & HA-Proxy as an alternative to commercial loadbalancer - August 2014
Introduction to Haproxy
Introduction to Haproxy
More from karupanerura
The Perl Conference 2019 in Pittsburgh Lightning Talks
Perl5 VS JSON
Perl5 VS JSON
karupanerura
Kichijoji.pm #14
コンテキストと仲良く
コンテキストと仲良く
karupanerura
YAPC::Fukuoka 2017 HAKATA
The plan of Aniki 2.0
The plan of Aniki 2.0
karupanerura
Okinawa.pm #5
Aniki::Internal
Aniki::Internal
karupanerura
Ruby Kaigi LT 2016
The Crystal language *recently* update
The Crystal language *recently* update
karupanerura
Mackerel Meetup #7 LT
KOWAZA for mackerel
KOWAZA for mackerel
karupanerura
Kansai.pm #14
TIme::Moment+Time::Strptime=
TIme::Moment+Time::Strptime=
karupanerura
Yokohama.pm #14 LT
DateTimeX::Moment
DateTimeX::Moment
karupanerura
The ORM as our great brother. Gotanda.pm #7 vs Yokohama.pm #13
Aniki has come
Aniki has come
karupanerura
YAPC::EU 2015
Optimize perl5 code for perfomance freaks
Optimize perl5 code for perfomance freaks
karupanerura
YAPC::Asia 2015 http://yapcasia.org/2015/talk/show/523b9508-0d77-11e5-8174-67dc7d574c3a (Please review and teach me my English.)
Technology for reduce of mistakes - うっかりをなくす技術
Technology for reduce of mistakes - うっかりをなくす技術
karupanerura
東京 Crystal 勉強会 #1 in 五反田
router-simple.cr
router-simple.cr
karupanerura
Kichijoji.pm #4
Why we use mruby with Perl5?
Why we use mruby with Perl5?
karupanerura
It's joking :p
はかたの塩
はかたの塩
karupanerura
Shibuya.pm #17でLTをしなかったスライドです。
Gotanda.pmの紹介
Gotanda.pmの紹介
karupanerura
Kichijoji.pm #3
すいすいSwift
すいすいSwift
karupanerura
Chiba.pm #6 LT
Perlにおけるclass実装パターン
Perlにおけるclass実装パターン
karupanerura
Kichijoji.pm #2
モジュール開発におけるぼくの試行錯誤
モジュール開発におけるぼくの試行錯誤
karupanerura
YAPC::Asia Tokyo 2014 DEMO: https://github.com/karupanerura/yapcasia2014-demo
Perl5 meta programming
Perl5 meta programming
karupanerura
mysqlcasual6-next-key-lock
mysqlcasual6-next-key-lock
karupanerura
More from karupanerura
(20)
Perl5 VS JSON
Perl5 VS JSON
コンテキストと仲良く
コンテキストと仲良く
The plan of Aniki 2.0
The plan of Aniki 2.0
Aniki::Internal
Aniki::Internal
The Crystal language *recently* update
The Crystal language *recently* update
KOWAZA for mackerel
KOWAZA for mackerel
TIme::Moment+Time::Strptime=
TIme::Moment+Time::Strptime=
DateTimeX::Moment
DateTimeX::Moment
Aniki has come
Aniki has come
Optimize perl5 code for perfomance freaks
Optimize perl5 code for perfomance freaks
Technology for reduce of mistakes - うっかりをなくす技術
Technology for reduce of mistakes - うっかりをなくす技術
router-simple.cr
router-simple.cr
Why we use mruby with Perl5?
Why we use mruby with Perl5?
はかたの塩
はかたの塩
Gotanda.pmの紹介
Gotanda.pmの紹介
すいすいSwift
すいすいSwift
Perlにおけるclass実装パターン
Perlにおけるclass実装パターン
モジュール開発におけるぼくの試行錯誤
モジュール開発におけるぼくの試行錯誤
Perl5 meta programming
Perl5 meta programming
mysqlcasual6-next-key-lock
mysqlcasual6-next-key-lock
Aniki - The ORM as our great brother.
1.
Aniki 〜たよりがいのあるORM〜 id:karupanerura
2.
感謝とお詫び 参加頂きありがとうございます。 準備が滞り急な日程となってしまいすみま せんでした。 皆様のお陰で無事開催することができました。 次回からはもうちょっと早く告知します。。
3.
あばうとみー id:karupanerura Perl/Java/JS/elisp/etc.. Mobile Factory, Inc. Gotanda.pm
リーダー #3 ご来場 まことに ありがとうございます!
4.
DBプログラミング入門 寄稿しました Perl Hackers Hub
買ってください!! 2014/12/23 発売!! あこがれのあのコーナーにぼくの記事が!
5.
本題
6.
O/R Mapper
7.
Objectに
8.
RDBを
9.
Mapping
10.
べんり
11.
Perlの ORM
12.
DBIx::Class
13.
特徴
14.
でかい 複雑 高機能
15.
イイトコ
16.
リレーション よしなになる
17.
とにかく べんり
18.
ヤナトコ
19.
なかで なにやってるのか ようわからん
20.
IFが なんか 古い気がする...
21.
Teng
22.
特徴
23.
ちいさい 簡潔 低機能
24.
イイトコ
25.
かんたん べんり
26.
IFがモダン
27.
ヤナトコ
28.
リレーション つらい
29.
SearchJoinedも あるけど もうちょっと 直感的に つかいたい
30.
なんとか したい
31.
Aniki
32.
特徴
33.
そこそこちいさい そこそこ簡潔 そこそこ高機能
34.
Tengに リレーションが ついた みたいなやつ
35.
Schema
36.
DBIx::Schema::DSL を 採用
37.
Schemaクラス生成 とか 煩わしいこと しないで済む
38.
Migrationも かんたんに 実装できる (未実装だけど…)
39.
外部キー制約から リレーション情報 を取得
40.
制約だけ書けば それを使って 関連する レコードを取得可
41.
Plugin
42.
Mooを採用
43.
Roleとして Pluginが 書ける
44.
必要な属性が なければ applyできない とかできる
45.
もちろん RowのPluginも 書ける
46.
ここから まじめな 資料
47.
シンプルにするために DBIx::Schema::DSLを採用 Mooを採用 5.14.2以降のみをサポート
48.
DBIx::Schema::DSLとは id:songmuさん作 DSLでSchemaが書ける DDL(CREATE TABLE)も生成できる SQL::Translator::Schemaが取れる スキーマの情報が得られる
49.
スキーマの情報とは? どんなテーブルがあるのか テーブルにどんなカラムがあるのか PRIMARY KEYはなにか テーブルの制約条件はなにか ほかもろもろが分かる
50.
補足1: Tengの場合 Teng::Schema::Dumper データベースからスキーマ情報を dumpしてDSLにする Teng::Schema::Loader データベースから動的にスキーマ 情報を得る
51.
補足2: DBICの場合 Schemaクラスをテーブル毎に定義 DBIx::Class::Coreを継承 アクセサにテーブル名とかセット していく DBIx::Class::Schema::Loader dbicdump(1)とかで自動生成可
52.
Mooとは Mo[ou]seのちっちゃい版 さいきんはこれがナウいらしい DSLでアクセサとか生やせる Roleという機能でTraitみたいなこと できる
53.
Mooとは meta object protocolがある クラスのメタデータにアクセス可 メタプログラミングしやすい ただし、Mooseが必要 AnikiはMouseにした
54.
DEMO
55.
まとめ DBIx::ClassもTengもべんり DBIx::Schema::DSLべんり Moo/Mo[ou]seべんり
56.
おわり
Download now