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
390
MongoDB.pm is MooooooooongoDB.pm
MongoDB.pmをMooに書きかえた話
mackee
April 06, 2013
Tweet
Share
More Decks by mackee
See All by mackee
perl for shell, awk and sed programmers
mackee
2
1.3k
今更GoのWebフレームワークを作ろうとしているワケ / Why am I trying to create a Go web framework now?
mackee
1
63
マイクロサービス化を利用した Goへの移行事例
mackee
0
100
PerlでつくるフルスクラッチWebAuthn/パスキー認証 / Demonstration of full-scratch WebAuthn/Passkey Authentication written in Perl
mackee
3
3.2k
SRE定例やその辺の取り組みをアプリケーションエンジニア目線で語る / "Observe" about SRE Meeting by Application Engineer
mackee
0
1.8k
TinyGoで使えるORM sqllaの 紹介とTinyGoで使えるようにするための工夫
mackee
0
1.1k
Go向けORM sqllaの紹介と JOINやUNIONを含んだクエリの扱い方
mackee
0
4.4k
デプロイ今昔物語 〜CGIからサーバーレスまで〜 / The deployment technics
mackee
10
12k
E2Eテストから負荷試験シナリオを作ってみた / Why do we make a scenario of load testing from E2E testing scenarios
mackee
3
5.4k
Other Decks in Programming
See All in Programming
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
初めてDefinitelyTypedにPRを出した話
syumai
0
410
Remix on Hono on Cloudflare Workers
yusukebe
1
290
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
100
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
900
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.1k
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
210
Ethereum_.pdf
nekomatu
0
460
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
The Language of Interfaces
destraynor
154
24k
For a Future-Friendly Web
brad_frost
175
9.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
The Invisible Side of Design
smashingmag
298
50k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Gamification - CAS2011
davidbonilla
80
5k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
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༵