Rubyで便利な学校生活 / 20171118-aosc-yuruweb

Rubyで便利な学校生活 / 20171118-aosc-yuruweb

「ゆるくWebを勉強しよう@旭川」でのLT資料
https://connpass.com/event/64613/

D56efd2db811cb782f1458df3888c82a?s=128

Takuya Mukohira

November 18, 2017
Tweet

Transcript

  1. RubyͰ ศརͳֶߍੜ׆ ಩খ຀ߴઐ ઐ߈Պ1೥
 ޲ฏ୎໼ @mktakuya ΏΔ͘WebΛษڧ͠Α͏@Ѵ઒
 2017-11-18

  2. ࣗݾ঺հ • ޲ฏ ୎໼ / Ή͜͏ͻΒ ͨ͘΍
 @mktakuya / ͑Ή͚ʔ

    • ಩খ຀ߴઐ ઐ߈Պ1೥
 ʢੈؒతʹ͸ֶ෦3೥ʣ • ڵຯɿ WebɺDBɺRubyɺ
 ɹɹɹTwitterɺϒϩάɺΠΧ2 • Έͯɿ blog.mktakuya.net ஶऀۙӨˣ ਃ͠༁ͳ͍ؾ࣋ͪΛࣔ͢ˠ ɹɹɹTwitterΞΠίϯ
  3. ๺ւಓͷແྉμ΢ϯϩʔυ ʲന஍ਤઐ໳ళʳ
 http://www.freemap.jp/itemFreeDlPage.php?b=hokkaido&s=hokkaido

  4. ๺ւಓͷແྉμ΢ϯϩʔυ ʲന஍ਤઐ໳ళʳ
 http://www.freemap.jp/itemFreeDlPage.php?b=hokkaido&s=hokkaido ← Ѵ઒ࢢ ← ઍࡀࢢ ↑ ಩খ຀ߴઐ

  5. None
  6. None
  7. None
  8. ຊ୊

  9. File:National Institute of Technology,Tomakomai College.jpg - Wikimedia Commons
 https://commons.wikimedia.org/wiki/File:National_Institute_of_Technology,Tomakomai_College.jpg ֶߍੜ׆

  10. ֶߍੜ׆ • तۀ • ࣮ݧʢʁʣ • ෦׆ / αʔΫϧ •

    ͦͷଞ͍Ζ͍Ζ
  11. ֶߍੜ׆ on the Web • ֶߍͷχϡʔε
 
 • तۀมߋ

  12. http://jyugyou.tomakomai-ct.ac.jp/jyugyou.php

  13. http://www.tomakomai-ct.ac.jp/news

  14. ֶߍੜ׆ ✕
 Ruby

  15. ಩খ຀ߴઐ
 News Bot

  16. ← Web൛ ↓ Twitter bot ← ϝʔϧ൛

  17. तۀมߋ৘ใ
 ΧϨϯμʔ഑৴

  18. ← ొ࿥ը໘ ↓ GoogleΧϨϯμʔͷ༷ࢠ

  19. ར༻ٕज़ • WebΞϓϦέʔγϣϯ
 ɾϓϩάϥϛϯάݴޠRuby
 ɾϑϨʔϜϫʔΫɿ Sinatra
 ɾDBؔ࿈: Active Record
 ɾσϓϩΠઌ:

    Heroku https://github.com/mktakuya/tmnct-news https://github.com/mktakuya/jyugyou-feed
  20. ϝϦοτ

  21. ʮૉৼΓʯ

  22. ૉৼΓͱ͸ɺΞΠσΞΛࢥ͍͍ͭͯͦΕΛσϓϩΠ͢Δ·Ͱ ͷ͜ͱͰ͢ɻΞΠσΞΛࢥ͍͍ͭͨॠؒʹίʔυΛॻ͖࢝Ί ͯɺσϓϩΠͯ͠ɺ୭΋͕࢖͑Δঢ়ଶʹ·Ͱ͢Δ͜ͱΛԿ౓ ΋ૉৼΓ͢Δ͜ͱ͕ॏཁͱ͍ͬͯ·ͨ͠ɻࢥ͍͖͔ͭΒσϓ ϩΠ·Ͱ͕1ετϩʔΫͷૉৼΓͰ͢ɻ
 ʢதུʣͦͷૉৼΓΛԿ౓΋܁Γฦ͢͜ͱͰɺ͍͔ͭେ͖ͳ ώοτ΍ϗʔϜϥϯΛ์ͯΔΑ͏ʹͳΕΔ ૉৼΓ - ྑ͍͋ͦͳͪ͢ΌΜ


    http://asonas.hatenablog.com/entry/2012/12/07/041524
  23. Ϣʔβ͕͙͢ଆʹ͍Δ

  24. Ϣʔβ͕ଆʹ͍ΔࣄͷϝϦοτ • ࢖ͬͯ΋ΒͬͯΔײ • ϑΟʔυόοΫ • Ϟνϕʔγϣϯҡ࣋ʹͭͳ͕Δ • ଞֶՊͷਓʹ͍͢͝ͶʔͬͯݴΘΕͯ
 ؾ࣋ͪΑ͘ͳΕΔ

  25. σϝϦοτ

  26. ࢭΊΔͱౖΒΕΔ͆͆

  27. RubyͰ ศརͳֶߍੜ׆ ಩খ຀ߴઐ ઐ߈Պ1೥
 ޲ฏ୎໼ @mktakuya

  28. ʙENDʙ