Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kotlin: Server-Client
Search
Iñaki Villar
April 07, 2018
Technology
3
530
Kotlin: Server-Client
Droidcon Vietnam 2018
Iñaki Villar
April 07, 2018
Tweet
Share
More Decks by Iñaki Villar
See All by Iñaki Villar
Scaling Android Builds in Pandemic Times
cdsap
1
150
Building Android Projects with kts
cdsap
2
280
The Build Shrugged
cdsap
1
82
State of Testing in Kotlin
cdsap
0
270
Dexs, R8 and 3.3
cdsap
0
370
Deep Dive Work Manager
cdsap
0
350
Advanced Topics Android
cdsap
0
120
Kotlin: Server-Client
cdsap
0
100
Droidcon Dubai : Kotlin - Server - Client
cdsap
0
67
Other Decks in Technology
See All in Technology
[VPoE Global Summit] サービスレベル目標による信頼性への投資最適化
satos
0
220
様々なファイルシステム
sat
PRO
0
220
スタートアップの現場で実践しているテストマネジメント #jasst_kyushu
makky_tyuyan
0
100
Claude Codeを駆使した初めてのiOSアプリ開発 ~ゼロから3週間でグローバルハッカソンで入賞するまで~
oikon48
10
5.4k
Copilot Studio ハンズオン - 生成オーケストレーションモード
tomoyasasakimskk
0
210
CNCFの視点で捉えるPlatform Engineering - 最新動向と展望 / Platform Engineering from the CNCF Perspective
hhiroshell
0
140
Implementing and Evaluating a High-Level Language with WasmGC and the Wasm Component Model: Scala’s Case
tanishiking
0
170
現場データから見える、開発生産性の変化コード生成AI導入・運用のリアル〜 / Changes in Development Productivity and Operational Challenges Following the Introduction of Code Generation AI
nttcom
1
450
AIエージェント入門 〜基礎からMCP・A2Aまで〜
shukob
1
160
AWS UG Grantでグローバル20名に選出されてre:Inventに行く話と、マルチクラウドセキュリティの教科書を執筆した話 / The Story of Being Selected for the AWS UG Grant to Attending re:Invent, and Writing a Multi-Cloud Security Textbook
yuj1osm
1
130
まだ間に合う! 2025年のhono/ssg事情
watany
3
580
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
1
280
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Facilitating Awesome Meetings
lara
57
6.6k
Optimizing for Happiness
mojombo
379
70k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Balancing Empowerment & Direction
lara
5
700
Music & Morning Musume
bryan
46
6.9k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Transcript
#droidconvn Kotlin: Server-Client @inyaki_mwc
#droidconvn WORA
#droidconvn Write once run anywhere WORA
#droidconvn
#droidconvn
#droidconvn
#droidconvn
#droidconvn JavaZone 2013- Javapocalypse: https://www.youtube.com/watch?v=E3418SeWZfQ
#droidconvn Kotlin Native
#droidconvn Kotlin Native - Windows (x86_64 only at the moment)
- Linux (x86_64, arm32, MIPS, MIPS little endian) - MacOS (x86_64) - iOS (arm64 only) - Android (arm32 and arm64) - WebAssembly (wasm32 only)
#droidconvn Kotlin Native - Windows (x86_64 only at the moment)
- Linux (x86_64, arm32, MIPS, MIPS little endian) - MacOS (x86_64) - iOS (arm64 only) - Android (arm32 and arm64) - WebAssembly (wasm32 only) “Kotlin/Native is currently in development; preview releases are available for you to try”
#droidconvn Kotlin Today
#droidconvn Kotlin Today
#droidconvn Kotlin Today Kotlin.js
#droidconvn Kotlin Today Kotlin.js
#droidconvn Kotlin Today Kotlin.js
#droidconvn Kotlin Today Server
#droidconvn Kotlin Server KTOR Vert.x Spring
#droidconvn Kotlin Server KTOR Vert.x Spring https://vertx.io/
#droidconvn Kotlin Server KTOR Vert.x Spring Heroku AWS Google Cloud
#droidconvn Kotlin Server KTOR Vert.x Spring Heroku AWS Google Cloud
#droidconvn Kotlin Server
#droidconvn Kotlin Server
#droidconvn Kotlin Server
#droidconvn Kotlin Server
#droidconvn Kotlin Server
#droidconvn Kotlin Server
#droidconvn Kotlin Server
#droidconvn Show me
#droidconvn Prerequisites I SDK Google Cloud curl https://sdk.cloud.google.com | bash
#droidconvn Prerequisites I App Engine Java SDK Google Cloud curl
https://sdk.cloud.google.com | bash
#droidconvn Android Studio/IJ Prerequisites II
#droidconvn Android Studio/IJ App Engine Gradle Plugin Prerequisites II
#droidconvn Coding
#droidconvn Coding
#droidconvn Deploying
#droidconvn Deploying Create Project Google Cloud
#droidconvn Deploying Create Project Google Cloud gcloud auth login
#droidconvn Deploying Create Project Google Cloud gcloud auth login gcloud
config set project Project_ID
#droidconvn Deploying Create Project Google Cloud gcloud auth login gcloud
config set project Project_ID ./gradlew appengineDeploy https://kotlin-client-server.appspot.com/_ah/api/kotlin/v2/trades/1
#droidconvn Advanced Example
#droidconvn Advanced Example
#droidconvn Advanced Example
#droidconvn local server repository domain remote Advanced Example
#droidconvn local server repository domain remote Advanced Example Datastore Retrofit
GetTrades Sync Cron Cloud Endpoints
#droidconvn local server repository domain remote Advanced Example Datastore Retrofit
GetTrades Sync Cron Cloud Endpoints Objectify
#droidconvn local server repository domain remote Advanced Example Retrofit GetTrades
Sync Cron Cloud Endpoints Datastore
#droidconvn local server repository domain remote Advanced Example Retrofit GetTrades
Sync Cron Cloud Endpoints Datastore
#droidconvn local server repository domain remote Advanced Example Retrofit GetTrades
Sync Cron Cloud Endpoints Datastore
#droidconvn local server repository domain remote Advanced Example Retrofit GetTrades
Sync Cron Cloud Endpoints Datastore
#droidconvn local server repository domain remote Advanced Example Retrofit GetTrades
Sync dagger Cron Cloud Endpoints Datastore
#droidconvn Problems Retrofit
#droidconvn Problems Retrofit
#droidconvn Problems Retrofit class CallWrapper( private val request: Request, private
var executed: Boolean = false, private var cancelled: Boolean = false ) : Call
#droidconvn Problems Retrofit class CallWrapper( private val request: Request, private
var executed: Boolean = false, private var cancelled: Boolean = false ) : Call .callFactory(CallFactoryWrapper())
#droidconvn Advanced Example Cron
#droidconvn Advanced Example Cron class CronService : HttpServlet() { override
fun doGet(req: HttpServletRequest?, resp: HttpServletResponse?) {
#droidconvn Coding
#droidconvn server Client Integration client core Domain Entities Uses Cases
Repository Abstractions Modules Abstractions Dependencies
#droidconvn server Client Integration client core GetTrades
#droidconvn Coding
#droidconvn Coming soon Github Repository Medium Article
#droidconvn cảm ơn @inyaki_mwc