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
15
5.3k
ワンバイナリWebサービスのススメ
mackee
10
8.1k
tanukistack ライブコーディング / tanukistack live-coding
mackee
0
120
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
950
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
930
database/sqlでNullを扱う歴史とsql.Null[T]の登場 / sql.Null[T] history
mackee
0
810
マイクロサービス化を利用した Goへの移行事例
mackee
0
940
PerlでつくるフルスクラッチWebAuthn/パスキー認証 / Demonstration of full-scratch WebAuthn/Passkey Authentication written in Perl
mackee
3
5.4k
Other Decks in Programming
See All in Programming
Leading Effective Engineering Teams in the AI Era
addyosmani
7
570
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
1
120
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
170
iOSでSVG画像を扱う
kishikawakatsumi
0
150
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
400
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
390
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
300
What's new in Spring Modulith?
olivergierke
1
160
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
16
6.5k
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
5
600
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
940
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
BBQ
matthewcrist
89
9.8k
Gamification - CAS2011
davidbonilla
81
5.5k
4 Signs Your Business is Dying
shpigford
185
22k
YesSQL, Process and Tooling at Scale
rocio
173
15k
Producing Creativity
orderedlist
PRO
347
40k
Balancing Empowerment & Direction
lara
5
700
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
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༵