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
Yesod で Blog Engine つくってみた
Search
Hiromi Ishii
April 21, 2012
Technology
2
130
Yesod で Blog Engine つくってみた
Hiromi Ishii
April 21, 2012
Tweet
Share
More Decks by Hiromi Ishii
See All by Hiromi Ishii
大規模数値計算を支える Haskell ── Pragmatic Haskell in Large-Scale Numerical Computation──
konn
3
3.6k
The Great Power of newtypes
konn
3
3.8k
本当はすごい newtype
konn
10
2.4k
わかったつもりになる Gröbner 基底
konn
5
970
Other Decks in Technology
See All in Technology
長年運用されているサービスの主要データ移行をサービス停止せず安全にリリースしました
phayacell
2
210
アジャイルテストの4象限で考える プロダクト開発の品質への向き合い方
nagano
1
1.1k
『GRANBLUE FANTASY: Relink』続・最高の「没入感」を実現するカットシーン制作手法とそれを支える技術
cygames
0
100
問題を認識して解決できる人は何でもできる
i999rri
0
120
知らない景色を見に行こう チャンスを掴んだら道が開けたマネジメントの旅 / Into the unknown~My management journey~
kakehashi
11
1.3k
振る舞い駆動開発(BDD)における、テスト自動化の前に大切にしていること #stac2024 / BDD formulation
nihonbuson
3
1.2k
Will Positron accelerate us?
lycorptech_jp
PRO
1
130
Amazon Bedrock Knowledge BasesがGraphRAGに対応!! ・・・それってつまりどういうコト!? をチョット深堀ってみる
tokushun
0
160
WernerVogelsのKeynoteで語られた6つの教訓とOps
hatahata021
2
220
大規模サーバ移行を成功に導くための事前調査フェーズの工夫事例
fukuchiiinu
2
120
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
240
Amazon Bedrock Multi-Agent Collaboration Workshop の紹介 - ワークショップでAIエージェントを学ぼう
nasuvitz
4
370
Featured
See All Featured
The Invisible Side of Design
smashingmag
298
50k
Designing for Performance
lara
604
68k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
How to Think Like a Performance Engineer
csswizardry
21
1.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Raft: Consensus for Rubyists
vanstee
136
6.7k
Navigating Team Friction
lara
183
15k
Being A Developer After 40
akosma
87
590k
Making the Leap to Tech Lead
cromwellryan
133
9k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Transcript
Yesod Ͱ Blog Engine Λͭͬͯ͘Έͨ @mr_konn 20124݄22༵
ࣗݾհ • @mr_konn • ֶՊࡾ • auehtnticate-oauth / yesod-auth-oauth ϝϯςφ
• ϒϩάɿhttp://blog.konn-san.com • Powered by Yesod & Mighty • ͜Ε࡞ͬͨͱ͖ͷ͠·͢ 20124݄22༵
Yablog: Yet Another Blog-engine 20124݄22༵
Yablog: Yet Another Blog-engine • ϒϩάͱͯ͠Ұ௨Γͷػೳ 20124݄22༵
Yablog: Yet Another Blog-engine • ϒϩάͱͯ͠Ұ௨Γͷػೳ • ෳਓࣥච / ίϝϯτ
/ τϥοΫόοΫ / Real Time Preview / λά / ϑΟʔυ / ίϝϯτ௨ 20124݄22༵
Yablog: Yet Another Blog-engine • ϒϩάͱͯ͠Ұ௨Γͷػೳ • ෳਓࣥච / ίϝϯτ
/ τϥοΫόοΫ / Real Time Preview / λά / ϑΟʔυ / ίϝϯτ௨ • ΣϒαʔϏεͱͷ࿈ܞ 20124݄22༵
Yablog: Yet Another Blog-engine • ϒϩάͱͯ͠Ұ௨Γͷػೳ • ෳਓࣥච / ίϝϯτ
/ τϥοΫόοΫ / Real Time Preview / λά / ϑΟʔυ / ίϝϯτ௨ • ΣϒαʔϏεͱͷ࿈ܞ • SocialɿTwitter / ͯϒ / ͯελ / G+ / ͍͍Ͷʂ 20124݄22༵
Yablog: Yet Another Blog-engine • ϒϩάͱͯ͠Ұ௨Γͷػೳ • ෳਓࣥච / ίϝϯτ
/ τϥοΫόοΫ / Real Time Preview / λά / ϑΟʔυ / ίϝϯτ௨ • ΣϒαʔϏεͱͷ࿈ܞ • SocialɿTwitter / ͯϒ / ͯελ / G+ / ͍͍Ͷʂ • Google CSE / Google Analytics / Amazon Associates 20124݄22༵
Yablog: Yet Another Blog-engine • ϒϩάͱͯ͠Ұ௨Γͷػೳ • ෳਓࣥච / ίϝϯτ
/ τϥοΫόοΫ / Real Time Preview / λά / ϑΟʔυ / ίϝϯτ௨ • ΣϒαʔϏεͱͷ࿈ܞ • SocialɿTwitter / ͯϒ / ͯελ / G+ / ͍͍Ͷʂ • Google CSE / Google Analytics / Amazon Associates • ଟ͘ͷϚʔΫΞοϓݴޠɺ Syntax Colouring Λαϙʔτ 20124݄22༵
Yablog: Yet Another Blog-engine • ϒϩάͱͯ͠Ұ௨Γͷػೳ • ෳਓࣥච / ίϝϯτ
/ τϥοΫόοΫ / Real Time Preview / λά / ϑΟʔυ / ίϝϯτ௨ • ΣϒαʔϏεͱͷ࿈ܞ • SocialɿTwitter / ͯϒ / ͯελ / G+ / ͍͍Ͷʂ • Google CSE / Google Analytics / Amazon Associates • ଟ͘ͷϚʔΫΞοϓݴޠɺ Syntax Colouring Λαϙʔτ • MathJax ʹΑΔඒ͍ࣜ͠ 20124݄22༵
ཉ͍͠ػೳɺ Ұ௨Γɻ 20124݄22༵
ཉ͍͠ͷ ࡞Ζ͏ʂ 20124݄22༵
࡞Δͷ େม……ʁ 20124݄22༵
ͦΜͳ͜ͱͳ͍ʂ 20124݄22༵
͔ͭͬͨͷ 20124݄22༵
͔ͭͬͨͷ • Yesod 20124݄22༵
͔ͭͬͨͷ • Yesod • Google Analytics ࠷ॳ͔Βαϙʔτ 20124݄22༵
͔ͭͬͨͷ • Yesod • Google Analytics ࠷ॳ͔Βαϙʔτ • ඇಉظ൛ʹॻ͖͑·ͨ͠ɻ 20124݄22༵
͔ͭͬͨͷ • Yesod • Google Analytics ࠷ॳ͔Βαϙʔτ • ඇಉظ൛ʹॻ͖͑·ͨ͠ɻ •
Newsfeed ͷੜࠃࡍԽָνϯ 20124݄22༵
͔ͭͬͨͷ • Yesod • Google Analytics ࠷ॳ͔Βαϙʔτ • ඇಉظ൛ʹॻ͖͑·ͨ͠ɻ •
Newsfeed ͷੜࠃࡍԽָνϯ • ೝূػߏ͖ͳͷΛ͑Δ 20124݄22༵
͔ͭͬͨͷ • Yesod • Google Analytics ࠷ॳ͔Βαϙʔτ • ඇಉظ൛ʹॻ͖͑·ͨ͠ɻ •
Newsfeed ͷੜࠃࡍԽָνϯ • ೝূػߏ͖ͳͷΛ͑Δ • Yablog Ͱͦͷ·· Google ͔ BrowserId 20124݄22༵
͔ͭͬͨͷ • Yesod • Google Analytics ࠷ॳ͔Βαϙʔτ • ඇಉظ൛ʹॻ͖͑·ͨ͠ɻ •
Newsfeed ͷੜࠃࡍԽָνϯ • ೝূػߏ͖ͳͷΛ͑Δ • Yablog Ͱͦͷ·· Google ͔ BrowserId • HashDB ͱ͔ͷ͕Α͔͔ͬͨͳ͊ɻ 20124݄22༵
͔ͭͬͨͷʢଓʣ 20124݄22༵
͔ͭͬͨͷʢଓʣ • Pandoc 20124݄22༵
͔ͭͬͨͷʢଓʣ • Pandoc • Markdown (+lhs) / ReST / HTML
/ TeX… 20124݄22༵
͔ͭͬͨͷʢଓʣ • Pandoc • Markdown (+lhs) / ReST / HTML
/ TeX… • ϚʔΫΞοϓͷύʔζ&HTMLܗʹ 20124݄22༵
͔ͭͬͨͷʢଓʣ • Pandoc • Markdown (+lhs) / ReST / HTML
/ TeX… • ϚʔΫΞοϓͷύʔζ&HTMLܗʹ • HTML Yesodͱڞ௨ͷ blaze Λར༻ 20124݄22༵
͔ͭͬͨͷʢଓʣ • Pandoc • Markdown (+lhs) / ReST / HTML
/ TeX… • ϚʔΫΞοϓͷύʔζ&HTMLܗʹ • HTML Yesodͱڞ௨ͷ blaze Λར༻ • highlighting-kate 20124݄22༵
͔ͭͬͨͷʢଓʣ • Pandoc • Markdown (+lhs) / ReST / HTML
/ TeX… • ϚʔΫΞοϓͷύʔζ&HTMLܗʹ • HTML Yesodͱڞ௨ͷ blaze Λར༻ • highlighting-kate • γϯλοΫεΧϥʔϦϯάɻ 20124݄22༵
͔ͭͬͨͷʢଓʣ • Pandoc • Markdown (+lhs) / ReST / HTML
/ TeX… • ϚʔΫΞοϓͷύʔζ&HTMLܗʹ • HTML Yesodͱڞ௨ͷ blaze Λར༻ • highlighting-kate • γϯλοΫεΧϥʔϦϯάɻ • Yablog Ͱୟ͍͍ͯ·͕͢ɺPandoc ͔Βୟ͚ Δɻ 20124݄22༵
Amazon Associates • Pandoc + SYB ͷҖྗ • URL Λݟ͚ͨΒ
Amazon ͔Ͳ͏͔ ఆɺࣗಈͰΞϑΟϦϯΫԽ 20124݄22༵
͔ͭͬͨͷ 20124݄22༵
͔ͭͬͨͷ • MongoDB 20124݄22༵
͔ͭͬͨͷ • MongoDB • όοΫΤϯυɻϞμϯʂ 20124݄22༵
͔ͭͬͨͷ • MongoDB • όοΫΤϯυɻϞμϯʂ • Day TimeOfDay Λͦͷ··Ͱอ
ଘͰ͖ͳ͍ͷͰҙʂ 20124݄22༵
͔ͭͬͨͷ • MongoDB • όοΫΤϯυɻϞμϯʂ • Day TimeOfDay Λͦͷ··Ͱอ
ଘͰ͖ͳ͍ͷͰҙʂ • auth ͷֻ͔ͬͨDBʹΞΫηεग़དྷͳ ͍ʁ 20124݄22༵
͔ͭͬͨͷ • Bootstrap • ͓खܰʹ Twitter ϞυΩͷWeb UI Λʂ •
࠷৽ͷ Yesod ͔Βಉࠝ……ʁ 20124݄22༵
͔ͭͬͨͷ 20124݄22༵
͔ͭͬͨͷ • Mighty • @kazu_yamamoto ͞ΜͷHTTPαʔό • Reverse Proxy ΛͬͯαϒυϝΠϯ
Ͱӡ༻͍ͯ͠Δ 20124݄22༵
ࠓޙͷ༧ఆ • τϥόඈ͢ػೳ • ໘ͳͷͰ࡞ͬͯͳ͔ͬͨʈʈʀ • ը૾ͷຒΊࠐΈ • Ͳ͜ʹͲ͏อଘ͖͢ʁ •
JavaScript ॏ͍ͷΛԿͱ͔͢Δ • దʹಥͬࠐΜͩΒಡΈࠐΈ͕ੌ͍͘……ɻ • USTҎ֎ͷ࣌ؒଳͷαϙʔτ 20124݄22༵
ॴ • ϨϙδτϦɿhttp://gitweb.konn-san.com/ repo/Yablog/tree/master • ͜ͷϨϙδτϦ Yesod ΞϓϦ • ·ͩൃల్্ͳͷͰɺཁ͕͋Ε
GitHub ͷํʹϨϙ࡞Γ·͢ 20124݄22༵
·ͱΊ • Haskell ʹࢁͷϥΠϒϥϦ͕͋Δ • Έ߹Θ͍ͤͯΔͱ͍ͭͷؒʹ͔ ͍ͯ͠Δ • ཉ͍͠ͷΛ࡞ΕΔʂ 20124݄22༵
Any Questions? 20124݄22༵
ޚਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ 20124݄22༵