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
360
MongoDB.pm is MooooooooongoDB.pm
MongoDB.pmをMooに書きかえた話
mackee
April 06, 2013
Tweet
Share
More Decks by mackee
See All by mackee
マイクロサービス化を利用した Goへの移行事例
mackee
0
19
PerlでつくるフルスクラッチWebAuthn/パスキー認証 / Demonstration of full-scratch WebAuthn/Passkey Authentication written in Perl
mackee
3
1.5k
SRE定例やその辺の取り組みをアプリケーションエンジニア目線で語る / "Observe" about SRE Meeting by Application Engineer
mackee
0
1.7k
TinyGoで使えるORM sqllaの 紹介とTinyGoで使えるようにするための工夫
mackee
0
440
Go向けORM sqllaの紹介と JOINやUNIONを含んだクエリの扱い方
mackee
0
740
デプロイ今昔物語 〜CGIからサーバーレスまで〜 / The deployment technics
mackee
10
9.6k
E2Eテストから負荷試験シナリオを作ってみた / Why do we make a scenario of load testing from E2E testing scenarios
mackee
2
4.5k
じわじわとPerlからGoに移行しようとしている俺達のマイクロサービシーズの紹介 / The migrating to microservices in Go from Monolith in Perl
mackee
2
2.7k
Mojoliciousで書いて理解するhotwireの仕組み
mackee
0
4.7k
Other Decks in Programming
See All in Programming
自作ソフト(VMagicMirror)がVRMA対応してる話+実装のTips
bakudreameater
0
110
Parallel Socket Communication in Swift
s_shimotori
0
250
どうしてこうなった命名集 ~🔥編~ / OOC 2024 LT
pictiny
4
2.9k
クソコード動画『カプセル化 Mk-II』 で考える 上手くカプセル化できない理由 / encapsulation2
minodriven
11
8k
incrementalモデルの理解を深める
ikkimiyazaki
2
640
チームでモデリングを育てるうえで 考えたこと・気づいたこと / Cultivating Modeling in Teams: Thoughts and Insights
mackey0225
5
2.4k
phpunit/php-code-coverageって何をしてるんだ #phperkaigi
o0h
PRO
2
220
実践!RDRAを活用した既存システムの仕様変更 / Specification Changes in Existing Systems Utilizing RDRA
imamotohikaru
0
2.7k
ISUCONってなんだか難しそう……!!でも、初めてのISUCONにPHPで挑戦してきました!
kotomin_m
1
300
品質とスピードを両立: TypeScriptの柔軟な型システムをバックエンドで活用する
kosui
5
1.1k
受託開発でGitLab CI を活用していく
xiombatsg
1
130
document.write再考
brn
5
2.5k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
A designer walks into a library…
pauljervisheath
199
23k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Principles of Awesome APIs and How to Build Them.
keavy
119
16k
A Tale of Four Properties
chriscoyier
150
22k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
How GitHub Uses GitHub to Build GitHub
holman
467
290k
GitHub's CSS Performance
jonrohan
1023
450k
YesSQL, Process and Tooling at Scale
rocio
160
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
19
1.9k
Embracing the Ebb and Flow
colly
78
4.1k
4 Signs Your Business is Dying
shpigford
174
21k
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༵