Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MongoDB.pm is MooooooooongoDB.pm
Search
mackee
April 06, 2013
Programming
0
400
MongoDB.pm is MooooooooongoDB.pm
MongoDB.pmをMooに書きかえた話
mackee
April 06, 2013
Tweet
Share
More Decks by mackee
See All by mackee
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
6
2.5k
ワンバイナリWebサービスのススメ
mackee
10
8k
tanukistack ライブコーディング / tanukistack live-coding
mackee
0
120
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
850
perl for shell, awk and sed programmers
mackee
3
2.5k
今更GoのWebフレームワークを作ろうとしているワケ / Why am I trying to create a Go web framework now?
mackee
1
820
database/sqlでNullを扱う歴史とsql.Null[T]の登場 / sql.Null[T] history
mackee
0
700
マイクロサービス化を利用した Goへの移行事例
mackee
0
840
PerlでつくるフルスクラッチWebAuthn/パスキー認証 / Demonstration of full-scratch WebAuthn/Passkey Authentication written in Perl
mackee
3
5.1k
Other Decks in Programming
See All in Programming
Processing Gem ベースの、2D レトロゲームエンジンの開発
tokujiros
2
120
速いWebフレームワークを作る
yusukebe
4
1.5k
AIレビュアーをスケールさせるには / Scaling AI Reviewers
technuma
2
240
TanStack DB ~状態管理の新しい考え方~
bmthd
2
400
Updates on MLS on Ruby (and maybe more)
sylph01
1
170
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
300
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
0
230
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
19
4.1k
レガシープロジェクトで最大限AIの恩恵を受けられるようClaude Codeを利用する
tk1351
4
1.5k
ECS初心者の仲間 – TUIツール「e1s」の紹介
keidarcy
0
150
Go言語での実装を通して学ぶLLMファインチューニングの仕組み / fukuokago22-llm-peft
monochromegane
0
110
Claude Codeで実装以外の開発フロー、どこまで自動化できるか?失敗と成功
ndadayo
3
1.8k
Featured
See All Featured
Code Review Best Practice
trishagee
70
19k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
Facilitating Awesome Meetings
lara
55
6.5k
Writing Fast Ruby
sferik
628
62k
Music & Morning Musume
bryan
46
6.8k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Bash Introduction
62gerente
614
210k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Embracing the Ebb and Flow
colly
87
4.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Designing for Performance
lara
610
69k
Transcript
MongoDB.pm is MoooooooongoDB.pm no Moose; use Moo; ͱ͍͏ @mackee_w 134݄7༵
PerlͰMongoDB • ͍Ζ͍ΖϞδϡʔϧ͋Δ • MongoDB.pm ʢެࣜυϥΠό) • AnyMongo (AnyEvent) •
MongoDB::Async (Coro) 134݄7༵
ඇಉظͱ͔͍͠͠ ·͋ެࣜυϥΠόͰ 134݄7༵
134݄7༵
134݄7༵
Oh!!!!!!!!!!11111 Moooooooooooooose! 134݄7༵
Mooseॏ͍͍͠ ͨ͘ͳ͍͍ 134݄7༵
ͪͳΈʹMouse 134݄7༵
ͳͷͰMouseʹ ॻ͖͑ͯΈͨ 134݄7༵
http://mackee.hatenablog.com/entry/2013/03/20/235652 134݄7༵
͍͍ͩͨͷྲྀΕ • s/Moose/Mouse/g • Class::MOP::Class͍ͬͯΔͷΛ Mouse::Meta::ClassΛ͏ • ͋ͱ߽շʹdelegate͍ͯ͠Δͱ͜ΖͰ ͍Ζ͍ΖέΞ͢Δ 134݄7༵
ςετ͕௨ͬͨͰʂ • 2ׂ͙Β͍ૣ͘ͳΓ·ͨ͠ 134݄7༵
Ͱ • ࣾIRCͰ • @songmu͞Μ ʮMouseͰpull requestΛ͛ͯड͚ औΒΕͳͦ͞͏͔ͩΒMooͰॻ͍ͨΒ ͍͍Μ͡Όͳ͍͔ͳʯ 134݄7༵
͙͵͵ 134݄7༵
ͤͳɾɾɾ 134݄7༵
ւ֎Ͱ MouseݏΘΕΔ http://blog.64p.org/entry/2013/02/11/212654 134݄7༵
ͤͳɾɾɾ 134݄7༵
ͳͷͰϋοΧιϯͰ Mooʹॻ͖͑ͯΈͨ 134݄7༵
߽շʹdelegate͍ͯ͠Δ ͱ͜ΖͰίέΔ 134݄7༵
delegateΛͳΜͱ͔ extendsʹม 134݄7༵
ͳΜ͔ίέΔ͚ΕͲ ϕϯν௨ͬͨ 134݄7༵
134݄7༵
͘ͳͬͨ ʘ(^o^)ʗ 134݄7༵
metaclass͏ͱ Mooseʹؙ͛͢Δ ͔ͩΒ͘ͳΔͷͰɻ 134݄7༵
ͱΓ͋͑ͣ ͔͜͜ΒͰ͢Ͷ 134݄7༵
͓ΘΓ 134݄7༵