Upgrade to Pro — share decks privately, control downloads, hide ads and more …

tDiary annual report 2009

tDiary annual report 2009

SHIBATA Hiroshi

October 10, 2011
Tweet

More Decks by SHIBATA Hiroshi

Other Decks in Programming

Transcript

  1. tDiary annual report 2009 ࣲా തࢤ (tDiary.org) SHIBATA Hiroshi (tDiary.org)

    2009೥12݄6೔೔༵೔
  2. ࣗݾ঺հ 2009೥12݄6೔೔༵೔

  3. • SHIBATA Hiroshi a.k.a hsbt (hsbt.org) • ιϑτ΢ΣΞΤϯδχΞ • 1981೥ੜ·Ε

    ๺ւಓࡏॅ 2009೥12݄6೔೔༵೔
  4. RubyͱͷؔΘΓ • ߴઐ4೥ͷ࣌ͷԠ༻਺ֶͰ id:gotoken ͔ Βڭ͑ͯ΋Β͏ • tDiary Λ࢖͍࢝ΊͯओʹWebؔ࿈ͷϥΠ ϒϥϦΛ࢖͍࢝ΊΔ

    2009೥12݄6೔೔༵೔
  5. tDiary ࢖ͬͯΔਓ͍·͔͢? 2009೥12݄6೔೔༵೔

  6. Administrator of developer team for tDiary.org http://www.tdiary.org/ 2009೥12݄6೔೔༵೔

  7. ΑΖ͓͘͠ئ͍͠·͢ɻ 2009೥12݄6೔೔༵೔

  8. Agenda • ͋Ε͔ΒҰ೥… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future

    2009೥12݄6೔೔༵೔
  9. ͋Ε͔ΒҰ೥… 2009೥12݄6೔೔༵೔

  10. SapporoRubyKaigi01 2009೥12݄6೔೔༵೔

  11. Ruby 1.9 ࢖ͬͯΔਓ͍·͔͢? 2009೥12݄6೔೔༵೔

  12. tDiary ʹΑΔ Ruby 1.9 ීٴ࡞ઓ 2009೥12݄6೔೔༵೔

  13. tDiary ʹΑΔRuby 1.9 ීٴ࡞ઓ • Ruby 1.9͸͍͔ͭ͸࢖Θͳ͚Ε͹ͳΒͳ ͍ • tDiaryΛRuby

    1.9ීٴͷΩϥʔΞϓϦʹ ͢Δ • ͱΓ͋͑ͣಈ͔͘ΒRubyΛ1.9ʹόʔ δϣϯΞοϓͯ͠͠·͏ 2009೥12݄6೔೔༵೔
  14. Agenda • ͋Ε͔ΒҰ೥… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future

    2009೥12݄6೔೔༵೔
  15. tDiary-2.3.2ϦϦʔεܭը (Ruby 1.9 αϙʔτ) 2009೥12݄6೔೔༵೔

  16. ͱΓ͋͑ͣಈ͔ͯ͠ΈΔ 2009೥12݄6೔೔༵೔

  17. ·ͣ͸ܭը 2009೥12݄6೔೔༵೔

  18. 2008೥10݄ ๭ॴͰ࡞ઓձٞ 2009೥12݄6೔೔༵೔

  19. Ruby 1.9 ͰͷओͳରԠ • աڈόʔδϣϯͱͷඇޓ׵෦෼ • จࣈΤϯίʔσΟϯάͷมߋ • magic comment

    • ֎෦ encoding 2009೥12݄6೔೔༵೔
  20. Ruby 1.9 ͷओͳରԠ • 1.8ͱ1.9ʹଘࡏ͢Δ༷ʑͳඇޓ׵Λ compatible.rbͰٵऩ • ઌ಄ʹmagic commentΛҰׅࢦఆͯ͠ encoding

    Λ໌ࣔ 2009೥12݄6೔೔༵೔
  21. • default_externalΛ࢖͏ • ൑ఆʹRUBY_VERSION͸࢖Θͳ͍ ֎෦ encoding ͷࢦఆ 2009೥12݄6೔೔༵೔

  22. ৄ͘͠͸… • RubyKaigi2009 ͷεϥΠυΛࢀর • http://www.slideshare.net/hsbt/ rubykaigi2009-presentation-slide 2009೥12݄6೔೔༵೔

  23. eval࣮ߦ࣌ʹSecurityError 2009೥12݄6೔೔༵೔

  24. [BUG]ͩͬͨ • $SAFE= 1ͷ࣌ͷevalʹ[BUG] • ௚Δ·Ͱ͜Μͳײ͡ͰରԠ ruby-1.9.1p129 Ͱ bug fix

    2009೥12݄6೔೔༵೔
  25. 2009/05/08 tDiary-2.3.2 ϦϦʔε 2009೥12݄6೔೔༵೔

  26. tDiaryձٞ01 2009೥12݄6೔೔༵೔

  27. Ϣʔβʔ/ίϛολͷ੠ • cacheϑΥϧμʹcache͡Όͳ͍σʔλ͕ ͋Δ • mod_rubyո͍͔͠ΒfcgiΛऔΓࠐΈ͍ͨ • Ruby 1.9 Ͱಈ͔͢ͱඍົʹ஗͍

    • Ұ෦ϓϥάΠϯͷ core औΓࠐΈ 2009೥12݄6೔೔༵೔
  28. ղܾࡁΈͷ߲໨ • r[3475] cacheύεར༻ plugin ͷमਖ਼ • r[3485] fcgi αϙʔτ

    • r[3511]ʙr[3514] ύϑΥʔϚϯεվળ • r[3541]ʙr[3544] navi_user.rb ͷऔΓࠐΈ 2009೥12݄6೔೔༵೔
  29. Agenda • ͋Ε͔ΒҰ೥… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future

    2009೥12݄6೔೔༵೔
  30. tDiary-2.3.3~ future • testing frameworkͷ࠾༻ • rspec • cucumber •

    CGI͔ΒRack΁ͷࡌͤସ͑ • ػೳ௥Ճͱෆ۩߹मਖ਼ 2009೥12݄6೔೔༵೔
  31. testable_tdiary • ࡳຈtDiaryձٞ01ͷ֯୩͞Μͷεϥ ΠυΛࢀর • http://kakutani.com/20081025.html#p01 2009೥12݄6೔೔༵೔

  32. githubͰ࡞ۀத http://github.com/hsbt/tdiary/ 2009೥12݄6೔೔༵೔

  33. ࡞ۀεςʔλε •script/server (pure webrick) •rackup -s tdiary.ru •cucumber -l ja

    features •rspec spec/**/*.rb 2009೥12݄6೔೔༵೔
  34. ະղܾͷ໰୊ • XML-RPC ͸ࣺͯͯ Atom αϙʔτ΁ • ͍ͭͰʹPubSubhubbub΋ • testble_tdiary

    ͷ svn/trunk Ϛʔδ • ຊ֨తͳ Rack ରԠ • #gustav ໰୊ 2009೥12݄6೔೔༵೔
  35. #gustav ໰୊ 2009೥12݄6೔೔༵೔

  36. ύονϕʔεͷϫʔΫϑϩʔ Chapter.10Λࢀর 2009೥12݄6೔೔༵೔

  37. ·ͱΊ 2009೥12݄6೔೔༵೔

  38. RubyistʹͰ͖Δ͜ͱ http://jp.rubyist.net/magazine/?0027-WhatWeCanDo 2009೥12݄6೔೔༵೔

  39. ·ͱΊ • 2009೥΋tDiary͸Rubyͱڞʹ੒௕͠·͠ ͨ • 2010೥΋ͨͿΜtDiary͸Rubyͱڞʹ੒௕ ͠·͢ • Rubyist ʹग़དྷΔ͜ͱΛ΍ΔͳΒtDiary

    2009೥12݄6೔೔༵೔
  40. ๻ΒͷಓͷΓ͸ ·ͩ·ͩ௕͍ 2009೥12݄6೔೔༵೔

  41. ͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ 2009೥12݄6೔೔༵೔

  42. Q&A 2009೥12݄6೔೔༵೔