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

High 意識 Android - Mercari Day

High 意識 Android - Mercari Day

Presentation at #mercariday

Motohiro Takayama

January 20, 2017
Tweet

More Decks by Motohiro Takayama

Other Decks in Technology

Transcript

  1. FAQ

  2. Stats % git diff --shortstat `git log --pretty=%H --since 'last

    year' | tail -n 1` → 2,029 files changed, +385,707, -170,628 ▪▪▪▪ % git log --pretty=%H --since 'last year' | wc -l → 4,049 commits
  3. FAQ

  4. ଠฏ༸Λ·͙ͨ Code Review " PR # Review " Revise #

    Review # LGTM " Revise " Merge ☀ ☀ ☀ ☀ PR ͷ଺ཹ͕࣌ؒ௕͘ͳΔ → ϦϦʔε஗
  5. 6:30am standup meeting • " ϝϯόʔ͕Έͳ༮ࣇ࣋ͪͩͬͨ
 → ڧ੍ૣى͖ • #

    ʹ༏͍͠ (ன) • Նͩͬͨ → ே໌Δ͍ͷͰૣى͖͠΍͍͢
 → ࢼ͠ʹ΍ͬͯΈΑ͏
  6. ݹΊͷςΫϊϩδ 34 • Networking: • HttpUrlConnection / Apache HttpClient
 with

    ൿ఻ͷϨγϐ • Async Operation: • Callback Interface / EventBus • Singletons • Giant Activities
  7. →एฦΓ 5 • Networking: okhttp • Async Operation: RxJava •

    Singletons: Dagger2 • Giant Activities: MVVM
  8. $ # " 0 → 1 8 → 10 1

    → 8 Product Phase
  9. ໰୊ • มߋͮ͠Β͍ • isJP(), isUS(), isUK() • #޲͚ͷมߋΛ͍͚ͨͩ͠ͳͷʹ"ͷίʔυΛؾʹ͠ͳ͍ͱ͍͚ͳ͍ •

    ࣌ࠩ໰୊ (ઌड़) • QA େม • Өڹൣғ: #޲͚ͷมߋ͚ͩͲɺ΄Μͱʹ"͸յΕͯͳ͍? • Region ͝ͱͰ phase ͕ҟͳΔ • ༏ઌ౓΍։ൃελΠϧ΋ҟͳΔ
  10. ID ج൫ • Single Sign On తͳ΋ͷ • Mercari <->

    Souzoh • iOS / Android ͷϥΠϒϥϦॻ͘͜ͱʹͳͬͨ
  11. gRPC "# ໰୊ • #-"Ͱ gRPC ௨৴͢Δͱࢗ͞ΔσόΠε͕ • " Ͱ͸໰୊͕ൃੜ͠ͳ͍

    • ϥΠϒϥϦͷԞਂ͍ͱ͜Ζʹ໰୊͕͋Γͦ͏ • ී௨ͷ௨৴͸໰୊͕ͳ͍ • ͔͕࣌ؒ͠͠ͳ͍⌛
  12. gRPC-gateway ? • gRPC ͷαʔϏεʹ RESTful JSON API ͰΞΫ ηεͰ͖Δ

    • ී௨ͷ HTTPS ΞΫηε͸ͭͳ͕Δ • ໰୊ճආ
  13. ஌ݟ • Kotlin • ϥΠϒϥϦɺςετͳͲ͔Β߈ΊΔ → μϝʔδগͳ͍ • ϨϏϡʔ͞ΕͮΒ͍ •

    gRPC • REST ͸ಀ͕͛ͩ໾ʹཱͭ • ίϯτϦϏϡʔγϣϯͰ͖Δ༨༟Λ࢒͓ͯ͘͠