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
tDiary annual report 2009
Search
SHIBATA Hiroshi
October 10, 2011
Programming
1
750
tDiary annual report 2009
SHIBATA Hiroshi
October 10, 2011
Tweet
Share
More Decks by SHIBATA Hiroshi
See All by SHIBATA Hiroshi
How to make faster release cycle of Ruby?
hsbt
2
5.4k
Ruby の開発を支えるエコシステム
hsbt
4
2.2k
Why is building the Ruby environment hard?
hsbt
6
7.1k
開発環境へのこだわり
hsbt
16
12k
OSS ことはじめ
hsbt
5
1.3k
GMO DevNight 05 在宅勤務開始から2ヶ月でやったこと
hsbt
2
510
Development Environment 2019
hsbt
1
320
How to become the Psychic
hsbt
0
1.9k
Software Development
hsbt
1
6.4k
Other Decks in Programming
See All in Programming
Generating OpenAPI schema from serializers throughout the Rails stack - Kyobashi.rb #5
envek
1
380
sappoRo.R #12 初心者セッション
kosugitti
0
280
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
250
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
920
DRFを少しずつ オニオンアーキテクチャに寄せていく DjangoCongress JP 2025
nealle
2
270
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
990
Bedrock Agentsレスポンス解析によるAgentのOps
licux
3
920
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
810
SwiftUI Viewの責務分離
elmetal
PRO
2
270
コードを読んで理解するko build
bells17
1
110
kintone開発を効率化するためにチームで試した施策とその結果を大放出!
oguemon
0
150
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
190
Featured
See All Featured
Six Lessons from altMBA
skipperchong
27
3.6k
Typedesign – Prime Four
hannesfritz
40
2.5k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Writing Fast Ruby
sferik
628
61k
Unsuck your backbone
ammeep
669
57k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Bash Introduction
62gerente
611
210k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
52k
Site-Speed That Sticks
csswizardry
4
410
The Cult of Friendly URLs
andyhume
78
6.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Transcript
tDiary annual report 2009 ࣲా തࢤ (tDiary.org) SHIBATA Hiroshi (tDiary.org)
200912݄6༵
ࣗݾհ 200912݄6༵
• SHIBATA Hiroshi a.k.a hsbt (hsbt.org) • ιϑτΣΞΤϯδχΞ • 1981ੜ·Ε
ւಓࡏॅ 200912݄6༵
RubyͱͷؔΘΓ • ߴઐ4ͷ࣌ͷԠ༻ֶͰ id:gotoken ͔ Βڭ͑ͯΒ͏ • tDiary Λ͍࢝ΊͯओʹWebؔ࿈ͷϥΠ ϒϥϦΛ͍࢝ΊΔ
200912݄6༵
tDiary ͬͯΔਓ͍·͔͢? 200912݄6༵
Administrator of developer team for tDiary.org http://www.tdiary.org/ 200912݄6༵
ΑΖ͓͘͠ئ͍͠·͢ɻ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
͋Ε͔ΒҰ… 200912݄6༵
SapporoRubyKaigi01 200912݄6༵
Ruby 1.9 ͬͯΔਓ͍·͔͢? 200912݄6༵
tDiary ʹΑΔ Ruby 1.9 ීٴ࡞ઓ 200912݄6༵
tDiary ʹΑΔRuby 1.9 ීٴ࡞ઓ • Ruby 1.9͍͔ͭΘͳ͚ΕͳΒͳ ͍ • tDiaryΛRuby
1.9ීٴͷΩϥʔΞϓϦʹ ͢Δ • ͱΓ͋͑ͣಈ͔͘ΒRubyΛ1.9ʹόʔ δϣϯΞοϓͯ͠͠·͏ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
tDiary-2.3.2ϦϦʔεܭը (Ruby 1.9 αϙʔτ) 200912݄6༵
ͱΓ͋͑ͣಈ͔ͯ͠ΈΔ 200912݄6༵
·ͣܭը 200912݄6༵
200810݄ ॴͰ࡞ઓձٞ 200912݄6༵
Ruby 1.9 ͰͷओͳରԠ • աڈόʔδϣϯͱͷඇޓ෦ • จࣈΤϯίʔσΟϯάͷมߋ • magic comment
• ֎෦ encoding 200912݄6༵
Ruby 1.9 ͷओͳରԠ • 1.8ͱ1.9ʹଘࡏ͢Δ༷ʑͳඇޓΛ compatible.rbͰٵऩ • ઌ಄ʹmagic commentΛҰׅࢦఆͯ͠ encoding
Λ໌ࣔ 200912݄6༵
• default_externalΛ͏ • ఆʹRUBY_VERSIONΘͳ͍ ֎෦ encoding ͷࢦఆ 200912݄6༵
ৄ͘͠… • RubyKaigi2009 ͷεϥΠυΛࢀর • http://www.slideshare.net/hsbt/ rubykaigi2009-presentation-slide 200912݄6༵
eval࣮ߦ࣌ʹSecurityError 200912݄6༵
[BUG]ͩͬͨ • $SAFE= 1ͷ࣌ͷevalʹ[BUG] • Δ·Ͱ͜Μͳײ͡ͰରԠ ruby-1.9.1p129 Ͱ bug fix
200912݄6༵
2009/05/08 tDiary-2.3.2 ϦϦʔε 200912݄6༵
tDiaryձٞ01 200912݄6༵
Ϣʔβʔ/ίϛολͷ • cacheϑΥϧμʹcache͡Όͳ͍σʔλ͕ ͋Δ • mod_rubyո͍͔͠ΒfcgiΛऔΓࠐΈ͍ͨ • Ruby 1.9 Ͱಈ͔͢ͱඍົʹ͍
• Ұ෦ϓϥάΠϯͷ core औΓࠐΈ 200912݄6༵
ղܾࡁΈͷ߲ • r[3475] cacheύεར༻ plugin ͷमਖ਼ • r[3485] fcgi αϙʔτ
• r[3511]ʙr[3514] ύϑΥʔϚϯεվળ • r[3541]ʙr[3544] navi_user.rb ͷऔΓࠐΈ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
tDiary-2.3.3~ future • testing frameworkͷ࠾༻ • rspec • cucumber •
CGI͔ΒRackͷࡌͤସ͑ • ػೳՃͱෆ۩߹मਖ਼ 200912݄6༵
testable_tdiary • ࡳຈtDiaryձٞ01ͷ֯୩͞Μͷεϥ ΠυΛࢀর • http://kakutani.com/20081025.html#p01 200912݄6༵
githubͰ࡞ۀத http://github.com/hsbt/tdiary/ 200912݄6༵
࡞ۀεςʔλε •script/server (pure webrick) •rackup -s tdiary.ru •cucumber -l ja
features •rspec spec/**/*.rb 200912݄6༵
ະղܾͷ • XML-RPC ࣺͯͯ Atom αϙʔτ • ͍ͭͰʹPubSubhubbub • testble_tdiary
ͷ svn/trunk Ϛʔδ • ຊ֨తͳ Rack ରԠ • #gustav 200912݄6༵
#gustav 200912݄6༵
ύονϕʔεͷϫʔΫϑϩʔ Chapter.10Λࢀর 200912݄6༵
·ͱΊ 200912݄6༵
RubyistʹͰ͖Δ͜ͱ http://jp.rubyist.net/magazine/?0027-WhatWeCanDo 200912݄6༵
·ͱΊ • 2009tDiaryRubyͱڞʹ͠·͠ ͨ • 2010ͨͿΜtDiaryRubyͱڞʹ ͠·͢ • Rubyist ʹग़དྷΔ͜ͱΛΔͳΒtDiary
200912݄6༵
ΒͷಓͷΓ ·ͩ·͍ͩ 200912݄6༵
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ 200912݄6༵
Q&A 200912݄6༵