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.9k
本当はすごい newtype
konn
11
7.6k
わかったつもりになる Gröbner 基底
konn
5
980
Other Decks in Technology
See All in Technology
Building Scalable Backend Services with Firebase
wisdommatt
0
110
JAWS-UG20250116_iOSアプリエンジニアがAWSreInventに行ってきた(真面目編)
totokit4
0
130
Goで実践するBFP
hiroyaterui
1
120
三菱電機で社内コミュニティを立ち上げた話
kurebayashi
1
350
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
180
AWS re:Invent 2024 re:Cap Taipei (for Developer): New Launches that facilitate Developer Workflow and Continuous Innovation
dwchiang
0
150
月間60万ユーザーを抱える 個人開発サービス「Walica」の 技術スタック変遷
miyachin
1
110
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
840
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
440
自社 200 記事を元に整理した読みやすいテックブログを書くための Tips 集
masakihirose
2
320
Reactフレームワークプロダクトを モバイルアプリにして、もっと便利に。 ユーザに価値を届けよう。/React Framework with Capacitor
rdlabo
0
110
FODにおけるホーム画面編成のレコメンド
watarukudo
PRO
2
240
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
The Language of Interfaces
destraynor
155
24k
Automating Front-end Workflow
addyosmani
1366
200k
Faster Mobile Websites
deanohume
305
30k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Producing Creativity
orderedlist
PRO
343
39k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
BBQ
matthewcrist
85
9.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
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༵