トルテにおける新規Android アプリ開発の技術選定について(JP)
by
Shohei Kawano
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
τϧςʹ͓͚Δ৽نANDROID ΞϓϦ։ൃͷٕज़બఆʹ͍ͭͯ ͔Θͷ @shaunkawano גࣜձࣾτϧς / Android Developer
Slide 2
Slide 2 text
No content
Slide 3
Slide 3 text
ɾ201611݄ઃཱ ɾΧοϓϦϯάΞϓϦ։ൃ ɾCEO, Designer, Server, iOS, Android גࣜձࣾτϧς (2017/01/12࣌) IUUQTXXXDZCFSBHFOUDPKQOFXTJOGPJOGPEFUBJMJE
Slide 4
Slide 4 text
AndroidΞϓϦ։ൃΛ͢ΔͨΊ ʹɺͲΜͳٕज़Λબఆ͔ͨ͠
Slide 5
Slide 5 text
৮Εͳ͍͔ ɾબఆٕͨ͠ज़ͷৄࡉαϯϓϧίʔυʹ͍ͭͯ ɾٕज़Ҏ֎ͷ͜ͱʹ͍ͭͯ ิ ɾ2017/1/12࣌Ͱબఆٕͨ͠ज़πʔϧʹ͍ͭͯհͯ͠͠·͢ ɾʮ͋ͬͪΑΓͬͪ͜ͷ΄͏͕༏Ε͍ͯΔʯͱ͍͏Θ͚Ͱ͋Γ·ͤΜ ɾ͝ҙݟɺΞυόΠεͳͲ͓͓ͪͯ͠Γ·͢ (ͥͻ͖͍ͨͰ͢) ༰ʹ͍ͭͯ
Slide 6
Slide 6 text
AndroidΞϓϦ։ൃΛ͢ΔͨΊ ʹɺͲΜͳٕज़Λબఆ͔ͨ͠
Slide 7
Slide 7 text
ٕज़બఆ ઃܭ CI ͦͷଞ ओཁϥΠϒϥϦ
Slide 8
Slide 8 text
ٕज़બఆ ઃܭ CI ͦͷଞ ओཁϥΠϒϥϦ
Slide 9
Slide 9 text
ઃܭ
Slide 10
Slide 10 text
ઃܭͰॏཁࢹͨ͜͠ͱ
Slide 11
Slide 11 text
1. ॳΊͯͰཧղ͍͢͠ 2. ߏ͕͔Γ͍͢ 3. εέʔϧ͍͢͠
Slide 12
Slide 12 text
'MVY IUUQTGBDFCPPLHJUIVCJPqVY
Slide 13
Slide 13 text
IUUQTGBDFCPPLHJUIVCJPqVY • σʔλͷྲྀΕΛҰํʹ੍ݶ • ঢ়ଶཧͷΘ͔͠͞Βղ์ • Action, Dispatcher, Store, View Flux
Slide 14
Slide 14 text
FluxͷߏͱσʔλͷྲྀΕ IUUQTGBDFCPPLHJUIVCJPqVYEPDTJOEFQUIPWFSWJFXIUNMTUSVDUVSFBOEEBUBqPX
Slide 15
Slide 15 text
AndroidΞϓϦ։ൃʹ͓͚ΔFluxͷৄࡉɾαϯϓϧΞϓϦ “flux de relax” IUUQTTQFBLFSEFDLDPNPHBDMFKBQBOqVYEFSFMBY
Slide 16
Slide 16 text
ٕज़બఆ ઃܭ: Flux ओཁϥΠϒϥϦ CI ͦͷଞ
Slide 17
Slide 17 text
ओཁϥΠϒϥϦ
Slide 18
Slide 18 text
• Dagger 2 • OkHttp 3 / Retrofit 2 • Databinding • RxJava 2 / RxAndroid • RxLifecycle • Firebase • EventBus • Lightweight-Stream-API • Retrolambda • Moshi • Fresco ओཁϥΠϒϥϦ (TPO -PHBO4RVBSF 4UBUJD(TPO (MJEF 1JDBTTP
Slide 19
Slide 19 text
• Dagger 2 • OkHttp 3 / Retrofit 2 • Databinding • RxJava 2 / RxAndroid • RxLifecycle • Firebase • EventBus • Lightweight-Stream-API • Retrolambda • Moshi • Fresco ओཁϥΠϒϥϦ (TPO -PHBO4RVBSF 4UBUJD(TPO (MJEF 1JDBTTP
Slide 20
Slide 20 text
Moshi IUUQTHJUIVCDPNTRVBSFNPTIJ • Android / Java༻JSONϥΠϒϥϦ • ͍ํGsonͱ΄ͱΜͲಉ͡ • ઃఆͰ͖Δ͜ͱGsonΑΓগͳ͍ • OkHttp, Retrofitಉ༷okioΛ෦Ͱ͍ͬͯΔ
Slide 21
Slide 21 text
Fresco IUUQGSFTDPMJCPSH • XMLͰͷը૾Ճػೳ͕๛ • 1ϲ݄΄Ͳલv1.0.0͕ϦϦʔε • ଞϥΠϒϥϦʹൺͯ༰ྔେ͖Ί͔
Slide 22
Slide 22 text
Fresco SimpleDrawee XML ࢦఆՄೳϓϩύςΟҰཡ IUUQGSFTDPMJCPSHEPDTVTJOHESBXFFTYNMIUNM
Slide 23
Slide 23 text
ٕज़બఆ ઃܭ: Flux CI ͦͷଞ ओཁϥΠϒϥϦ
Slide 24
Slide 24 text
CI
Slide 25
Slide 25 text
Bitrise IUUQEFWDFOUFSCJUSJTFJP IUUQTHJUIVCDPNGBTUMBOFGBTUMBOF +
Slide 26
Slide 26 text
ʮJenkins? Circle CI? Wercker?ʯ ʮBitriseͱ͍͏ϞόΠϧΞϓϦ։ൃ͚ͷ αʔϏε͕͋ΔΒ͍͠ʯ ʮͬͯΈ·͠ΐ͏ʯ CIπʔϧɾαʔϏε
Slide 27
Slide 27 text
Bitrise ɾϞόΠϧΞϓϦ։ൃ͚CI/CD PaaS ɾiOS, Android, Xamarin ɾϑϦʔϓϥϯ͕͋Γɺ͓ࢼ͠ಋೖ͍͢͠ 10/Ϗϧυ, 200Ϗϧυ/݄ IUUQEFWDFOUFSCJUSJTFJP
Slide 28
Slide 28 text
Bitrise༗ྉϓϥϯྉۚද IUUQTXXXCJUSJTFJPQSJDJOH +1ฒྻϏϧυՃʹ͖ͭ+$50
Slide 29
Slide 29 text
Bitrise ɾϏϧυɾϦϦʔε࡞ۀΛࣗಈԽ͢Δπʔϧ ɾςετͷ࣮ߦɺAPKɺSlack௨ɺ PlayStore༻εΫϦʔϯγϣοτը૾ੜͳͲ ɾࠓͷͱ͜Ζςετ࣮ߦͱSlack௨ͷΈར༻ IUUQTHJUIVCDPNGBTUMBOFGBTUMBOF
Slide 30
Slide 30 text
ٕज़બఆ CI: Bitrise × fastlane ઃܭ: Flux ओཁϥΠϒϥϦ ͦͷଞ
Slide 31
Slide 31 text
ݴޠ
Slide 32
Slide 32 text
IUUQMPHPEBUBCBTFTDPNKBWBMPHPIUNMKBWBJDPO
Slide 33
Slide 33 text
ςετ
Slide 34
Slide 34 text
ςετ Robolectric IUUQTJUFNPDLJUPPSH IUUQSPCPMFDUSJDPSH
Slide 35
Slide 35 text
σʔλϕʔε
Slide 36
Slide 36 text
σʔλϕʔε • Orma • SqlBrite • SqlDelight • StorIO • Realm ະఆ
Slide 37
Slide 37 text
APIυΩϡϝϯτ
Slide 38
Slide 38 text
• APIυΩϡϝϯτ • αʔόʔ։ൃதϞοΫAPIΛୟ͚Δڥ • ϞοΫAPIͷΓΛมߋ͍͢͠ڥ ΄͍͠ͷ
Slide 39
Slide 39 text
Apiary IUUQTBQJBSZJP
Slide 40
Slide 40 text
• APIυΩϡϝϯτ࡞πʔϧ • υΩϡϝϯτԽͨ͠APIΛ͙͢ʹୟ͘͜ͱ ͕Ͱ͖Δ • υΩϡϝϯτAPI BlueprintͰهड़ Apiary
Slide 41
Slide 41 text
τϧςʹ͓͚Δ৽نAndroidΞϓϦ։ൃͷٕज़બఆʹ͍ͭͯ CI: Bitrise × fastlane ઃܭ: Flux ओཁϥΠϒϥϦ: େମͦΜͳײͩ͡ΑͶ Java, Robolectric, Mockito, Apiary
Slide 42
Slide 42 text
·ͱΊ
Slide 43
Slide 43 text
• ࣭ͱ֦ுੑͷߴ͍ΞϓϦΛͰ͖Δͩ ͚ૣ͘࡞ΔͨΊͷखஈͷҰͭ • νʔϜձࣾʹΑͬͯબఆํ๏ҧ͏ • νʔϜͰ͠߹͏ʴ৭Μͳਓ͔Βҙ ݟΛ͖ͳ͕Βબఆ͍ͨ͠ ٕज़બఆ
Slide 44
Slide 44 text
THANK YOU ! ͔Θͷ @shaunkawano גࣜձࣾτϧς / Android Developer