Expanding to the Server
with Swift & Kitura
David Okun, Developer Evangelist, IBM
of 17
1
Slide 2
Slide 2 text
Agenda
• AboutMe.swift
• Why Swift?
• Why Kitura?
• Workshop & Live Coding
of 17
2
Slide 3
Slide 3 text
AboutMe.swift
• Joined IBM November 2016
• Learned about Kitura
February 2016
• Previously worked on Mobile
Tech at IDscan Biometrics Ltd.
(London, UK)
• Introduced to server work by
Parse
of 17
3
Slide 4
Slide 4 text
When you work
with C++, no one
cares about
Swift.
4
Slide 5
Slide 5 text
of 17
5
Slide 6
Slide 6 text
Why Swift?
of 17
6
Slide 7
Slide 7 text
of 17
7
Slide 8
Slide 8 text
http://benchmarksgame.alioth.debian.org/u64q/swift.html
http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
of 17
8
Slide 9
Slide 9 text
http://benchmarksgame.alioth.debian.org/u64q/swift.html
http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
of 17
9
Slide 10
Slide 10 text
http://benchmarksgame.alioth.debian.org/u64q/swift.html
http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
of 17
10
Slide 11
Slide 11 text
Why Kitura?
• Written like Express.js
• IBM & Apple collaborate on
Swift
• Foundation just works
• Libdispatch just works
of 17
11
Slide 12
Slide 12 text
Developer Experience
Client Side Data Side
Server API Layer
of 17
12
Slide 13
Slide 13 text
Before The Demo
• What is an API contract?
• What is a microservice?
• What is even a Node.js?
of 17
13
Slide 14
Slide 14 text
of 17
14
Cats API (Node.js)
Bears API (Node.js)
???????
iOS Client
Slide 15
Slide 15 text
Recap
• Swift performance makes it a hot candidate
• Long term support = use your existing knowledge
• This Kitura Demo: https://github.com/dokun1/
KituraMicroservicesDemo
• http://www.kitura.io
• Follow me on Twitter: @dokun24
15