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
960
Other Decks in Technology
See All in Technology
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
1
230
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
120
Platform Engineering for Software Developers and Architects
syntasso
1
520
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
130
Taming you application's environments
salaboy
0
190
社内で最大の技術的負債のリファクタリングに取り組んだお話し
kidooonn
1
550
Featured
See All Featured
Designing for Performance
lara
604
68k
Ruby is Unlike a Banana
tanoku
97
11k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Into the Great Unknown - MozCon
thekraken
32
1.5k
Statistics for Hackers
jakevdp
796
220k
Thoughts on Productivity
jonyablonski
67
4.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Faster Mobile Websites
deanohume
305
30k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
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༵