Kitura: Beyond “Hello,
World!”
David Okun, Developer Evangelist, IBM
of 17
1
Slide 2
Slide 2 text
Agenda
• Why Swift?
• Why Kitura?
• Live Demo
• Questions & Answers
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
Why Swift?
of 17
4
Slide 5
Slide 5 text
of 17
5
Slide 6
Slide 6 text
http://benchmarksgame.alioth.debian.org/u64q/swift.html
http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
of 17
6
Slide 7
Slide 7 text
http://benchmarksgame.alioth.debian.org/u64q/swift.html
http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
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
Why Kitura?
• Written like Express.js
• IBM & Apple collaborate on
Swift
• Foundation just works
• Libdispatch just works
of 17
9
Slide 10
Slide 10 text
Developer Experience
Client Side Data Side
Server API Layer
of 17
10
Slide 11
Slide 11 text
of 17
11
Slide 12
Slide 12 text
Before The Demo
• What is an API contract?
• What is a microservice?
of 17
12
Slide 13
Slide 13 text
A Diagram
of 17
13
NFL.com
Node.js Scraping
Microservice
Kitura iOS Client
Slide 14
Slide 14 text
Live Demo
14
Slide 15
Slide 15 text
Recap
• Swift performance makes it a hot candidate
• Long term support = use your existing knowledge
• Score Microservice: https://github.com/dokun1/nfl-score-scraper
• This Kitura Demo: https://github.com/dokun1/
KituraMicroservicesDemo
• http://www.kitura.io
• Follow me on Twitter: @dokun24
15