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
ワンバイナリWebサービスのススメ
mackee
10
7.8k
tanukistack ライブコーディング / tanukistack live-coding
mackee
0
100
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
640
perl for shell, awk and sed programmers
mackee
2
2.2k
今更GoのWebフレームワークを作ろうとしているワケ / Why am I trying to create a Go web framework now?
mackee
1
610
database/sqlでNullを扱う歴史とsql.Null[T]の登場 / sql.Null[T] history
mackee
0
500
マイクロサービス化を利用した Goへの移行事例
mackee
0
630
PerlでつくるフルスクラッチWebAuthn/パスキー認証 / Demonstration of full-scratch WebAuthn/Passkey Authentication written in Perl
mackee
3
4.5k
SRE定例やその辺の取り組みをアプリケーションエンジニア目線で語る / "Observe" about SRE Meeting by Application Engineer
mackee
0
1.9k
Other Decks in Programming
See All in Programming
統一感のある Go コードを生成 AI の力で手にいれる
otakakot
1
3k
Perplexity Slack Botを作ってAI活用を進めた話 / AI Engineering Summit プレイベント
n3xem
0
670
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
レガシーシステムの機能調査・開発におけるAI利活用
takuya_ohtonari
0
610
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
Gleamという選択肢
comamoca
6
750
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
300
AIネイティブなプロダクトをGolangで挑む取り組み
nmatsumoto4
0
120
Benchmark
sysong
0
240
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
800
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
360
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
840
Featured
See All Featured
The Language of Interfaces
destraynor
158
25k
Embracing the Ebb and Flow
colly
86
4.7k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
The Invisible Side of Design
smashingmag
299
51k
4 Signs Your Business is Dying
shpigford
184
22k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
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༵