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

Startup Rails で知っておいた方がいいかもしれない6つのこと

Kiminari Homma
September 27, 2016

Startup Rails で知っておいた方がいいかもしれない6つのこと

http://connpass.com/event/39963/
での発表資料です。

Kiminari Homma

September 27, 2016
Tweet

More Decks by Kiminari Homma

Other Decks in Programming

Transcript

  1. Startup Rails Ͱ஌͓͍ͬͯͨํ
    ͕͍͍͔΋͠Εͳ͍ 6ͭ ͷ͜ͱ
    @kimihom

    View full-size slide

  2. ࣗݾ঺հ
    ຊؒ ߖ੒ @kimihom
    CTO at selfree,llc
    CallConnect
    ελʔτΞοϓ ͷͨΊͷ ి࿩ CS ༻ SaaS
    powered by
    ϒϩά “ϘΫίί” ӡӦ

    View full-size slide

  3. λʔήοτ
    ίίʂ

    View full-size slide

  4. લఏ
    ͋ͳͨͷ࠷ॳͷԾઆ(ϓϩμΫτ)͸
    99% ؒҧ͍ͬͯΔ

    View full-size slide

  5. ϑΟʔυόοΫΛड͚ͳ͕Β
    αʔϏεͷίΞ΋ͿͬյͤΔ
    େ୾͕͞ඞཁ
    ͦͯ͠ݟ͚ͭΖ Product/Market Fit
    Rails ͰԿΛ͢΂͖͔ʁ

    View full-size slide

  6. ͦͷ̍.
    ςετ͸ॻ͖͗͢Δͳ
    ͜ͷϑΣʔζͰ͸
    ඼࣭ < ػೳݕূ

    View full-size slide

  7. ͦͷ̎.
    Πϯϑϥߏங/ӡ༻ʹ
    खؒΛ͔͚Δͳ
    ϓϩμΫτͷίʔσΟϯά͚ͩʹ࣌ؒΛ࢖͓͏
    ੒ޭ͢Δલ͔Βεέʔϧͷ৺഑͸͍Βͳ͍
    Ϋʔϙϯ౳ͷϚʔέςΟϯάʹ௼ΒΕͯ͸͍͚ͳ͍

    View full-size slide

  8. ͦͷ̏.
    SP ΞϓϦ༻ API Λ࡞Δ৔߹͸
    Web ͱ෼͚Α͏ (Grape ౳)
    … AngularJS? React.js?

    View full-size slide

  9. RailsConf 2016 ʹͯ
    https://www.youtube.com/watch?v=SWEts0rlezA

    View full-size slide

  10. ͦͷ̐.
    form_for @active_model, remote: true
    Λ׆༻ͤΑʂ
    ஋ηοτɺAjaxɺݕূɺΤϥʔॲཧɺI18N…

    View full-size slide

  11. ͦͷ̑.
    Ajax ϨεϙϯεͰ html.erb Λฦͦ͏
    ( pjax. Turbolinks “5” Ͱ΋ OK )
    $(document).on("ajax:success", ‘.form’, function(q, data, xhr){
    $(“#main”).html(data);
    });

    View full-size slide

  12. ͦͷ̒.
    ϝʔϧͰΤϥʔ௨஌ίʔυΛॻ͘ͳ
    Papertrail ౳Λ࢖͑
    σϓϩΠޙͰ΋௨஌ΛͲΜͲΜ଍ͤΔ؀ڥ

    View full-size slide

  13. ͓·͚
    ࢿۚௐୡޙͷΠέΠέελʔτΞοϓͷ
    Ϋʔϧͳٕज़࿩ʹ৺Λ࿭Θ͞ΕΔͳ
    ͋Ε͸ ࠾༻/PR ͷͨΊͷ؁͍᠘
    ੒ޭاۀ΋࠷ॳ͸΄ͱΜͲ ”Ϋιίʔυ”

    View full-size slide

  14. ϨʔϧʹԊͬͨਓੜΛาΉͳʂ
    ͦͯ͠ Rails ͷϨʔϧʹ৐Εʂ
    (ࣗٮ)

    View full-size slide

  15. օ͞Μͷ ”੒ޭ” Λفͬͯ·͢ɻ

    View full-size slide