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

車輪の再発明のススメ

 車輪の再発明のススメ

#tehepero_lt 第一回資料

horimislime

August 26, 2014
Tweet

More Decks by horimislime

Other Decks in Technology

Transcript

  1. ंྠͷ࠶ൃ໌ͷεεϝ
    #tehepero_lt

    @horimislime

    View full-size slide


  2. • ʙ2014/07/31 ŢƄŒŰƄŧŔŕŪũƄŝſ
    • 2014/08/01ʙ ŗŘśŖŚţŧŔŕŪũƄŝſ
    • ຑ෍े൪ࡇΓͰ͓ෲ͕౰ͨΓ·ͨ͠

    View full-size slide

  3. ΋ͬͱΞ΢τϓοτ͍ͨ͠

    View full-size slide

  4. ΋ͬͱΞ΢τϓοτ͍ͨ͠

    View full-size slide

  5. ϓϩάϥϛϯάॳ৺ऀͷ೰Έ
    • ○○ݴޠΛษڧͨ͠ʂͳʹ͔࡞ͬͯΈ͍ͨ
    • ͘͢͝ྑ͍ΞΠσΞΛߟ͚͑ͨͲطʹ࡞ΒΕ͍ͯͨ…
    • ○○ͷ͕͜͜ෆຬɻͰ΋ࣗ෼Ͱ࡞Δ΄Ͳ༏Ґੑ͕ͳʙ
    • ݁ہ࡞Δ΋ͷ͕ܾ·Βͣͳ͔ͳ͔ख͕ಈ͔ͤͳ͍

    View full-size slide

  6. ंྠͷ࠶ൃ໌ͱ͸
    ंྠͷ࠶ൃ໌ʢ͠ΌΓΜͷ͍͞͸ͭΊ͍ɺӳ:
    reinventing the wheelʣ͸ɺंྠΛ୊ࡐʹͨ͠
    ׳༻۟Ͱ͋ΓɺੈքதͰ࢖ΘΕ͍ͯΔɻʮ޿
    ͘ड͚ೖΕΒΕཱ֬͞Ε͍ͯΔٕज़΍ղܾ๏
    Λ஌Βͣʹʢ·ͨ͸ҙਤతʹແࢹͯ͠ʣɺಉ
    ༷ͷ΋ͷΛ࠶ͼҰ͔Β࡞Δ͜ͱʯΛҙຯ͢Δɻ


    [ंྠͷ࠶ൃ໌ - Wikipedia](http://ja.wikipedia.org/wiki/ंྠͷ࠶ൃ໌)

    View full-size slide

  7. ंྠͷ࠶ൃ໌ͱ͸
    ंྠͷ࠶ൃ໌ʢ͠ΌΓΜͷ͍͞͸ͭΊ͍ɺӳ:
    reinventing the wheelʣ͸ɺंྠΛ୊ࡐʹͨ͠
    ׳༻۟Ͱ͋ΓɺੈքதͰ࢖ΘΕ͍ͯΔɻʮ޿
    ͘ड͚ೖΕΒΕཱ֬͞Ε͍ͯΔٕज़΍ղܾ๏
    Λ஌Βͣʹʢ·ͨ͸ҙਤతʹແࢹͯ͠ʣɺಉ
    ༷ͷ΋ͷΛ࠶ͼҰ͔Β࡞Δ͜ͱʯΛҙຯ͢Δɻ


    [ंྠͷ࠶ൃ໌ - Wikipedia](http://ja.wikipedia.org/wiki/ंྠͷ࠶ൃ໌)

    View full-size slide

  8. υϠإͰ࠶ൃ໌͢Δ
    • ҙਤͯ͠࠶ൃ໌͢ΔΜ͔ͩΒ໰୊ͳ͍
    • ·ͣ͸Ϗϡʔͷແ͍CLI΍APIͱ͔࢝Ί΍͍͢
    • Α͘࢖ͬͯΔπʔϧɺݟ׳ΕͨίʔυͰ࢝ΊΔͷ΋Good
    • ධ࿦Ո੎ʻͦΕ΋͏͋Δ͡ΌΜɺԿ͕ྑ͘ͳͬͨͷʁ

    - ໧Ε

    View full-size slide

  9. Χϯλϯʹ࢝ΊΒΕΔ࠶ൃ໌

    View full-size slide

  10. Gyazo
    • ΈΜͳେ޷͖ΦϨΦϨGyazo
    • ωοτ্ʹ৭Μͳ࣮૷͕స͕͍ͬͯΔ
    • γϯϓϧ͔ͭ࠷௿ݶͷWebΞϓϦ։ൃ͕Ͱ͖Δ

    - ετϨʔδɺHTTP API(ϓϨθϯ૚)
    • ࠳ં͠ͳ͍ఔ౓ͷεέʔϧײ(ॏཁ)

    View full-size slide

  11. ηϧϑ࠶ൃ໌ࣄྫ

    View full-size slide

  12. ηϧϑ࠶ൃ໌
    • 1೥લॻ͍ͨίʔυಡΊ͹୭ͩͬͯΫιͩͱࢥ͏
    • ࠓͷ஌ࣝͰ࡞Γͳ͓͢ɻྑ͍ৼΓฦΓʹ΋
    • 1೥͋Δͱٕज़τϨϯυ΋มΘ͍ͬͯΔ

    - ৽ٕज़Ͱ࡞Γͳ͓͚ͩ͢Ͱ΋ษڧʹͳΔ
    • དྷ೥΋࠶དྷ೥΋ಉ͜͡ͱ͕Ͱ͖Δ͸ͣ

    View full-size slide

  13. ྫ: 5ϲ݄લʹॻ͍ͨiOSΞϓϦ
    • iOSະܦݧ͕2ധ3೔Ͱ࡞ͬͨͷͰ৭ʑΞϨ
    • ŝƄŔŖŷͰiOS΍Γ͸͡ΊͨͷͰ஌ݟ͕ཷ·͍ͬͯΔ
    • ౰࣌͸ແ͔ͬͨSwiftͰϑϧεΫϥον΋༗Γ

    View full-size slide

  14. ྫ: ೖࣾ௚ޙʹॻ͍ͨίʔυ
    • Chrome֦ுͰWebϖʔδӾཡ৘ใΛͻͨ͢ΒཷΊΔπʔϧ
    • 2೥લ: herokuʹσʔλऩूαʔόΛઃஔ

    - Spring3.x ͳAPIɺετϨʔδʹMySQL

    - Extension͸ద౰ʹαϯϓϧΛҾ༻࣮ͯ͠૷
    • Now: Extension͔Β௚ͰBigQueryʹಥͬࠐΉ

    - API΋ϛυϧ΋ෆཁ

    - Extension͸YeomanͰBowerͰGrunt

    View full-size slide

  15. ࠶ൃ໌ʹ͓͚ΔϝϦοτ
    • ΞΠσΞ͕ແͯ͘΋खΛಈ͔࢝͠ΊΒΕΔ

    - ωοτ্ʹస͕Δແ਺ͷωλ
    • طଘͷϞϊɾࣗ෼ͷίʔυΛݟ௚͢͜ͱͰษڧʹͳΔ
    • ׂΓͱϞνϕʔγϣϯΛҡ࣋͠΍͍͢

    - ͍ͭ΋࢖ͬͯΔπʔϧΛศརʹ

    - ੲͷίʔυΛ΋ͬͱྑ͍ͨ͘͠

    View full-size slide

  16. ·ͱΊ
    • ंྠͷ࠶ൃ໌͸Πλ͘ͳ͍
    • খͯ͘͞΋ྼԽ൛Ͱ΋ɺͱʹ͔͘࡞ͬͯΈΔ

    - 1೥ޙʹηϧϑ࠶ൃ໌ɺཌ೥΋ɾɾྑ͍ϧʔϓʹ
    • έν͚ͭΔ΍ͭʹݶͬͯखಈ͔ͯ͠ͳ͍ͷͰؾʹ͠ͳ͍

    - ΧδϡΞϧʹ࠶ൃ໌͠·͍͖͍ͬͯͨ͘

    View full-size slide

  17. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View full-size slide