Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Kitura - What's Next?
David Okun
March 02, 2017
Programming
0
95
Kitura - What's Next?
A talk given at ForwardSwift in SF on 2 March 2017 about Kitura and the future of Server Side Swift
David Okun
March 02, 2017
Tweet
Share
More Decks by David Okun
See All by David Okun
dokun1
4
2.5k
dokun1
0
120
dokun1
0
140
dokun1
0
150
dokun1
3
320
dokun1
0
120
dokun1
0
120
dokun1
0
74
dokun1
0
20
Other Decks in Programming
See All in Programming
hiro_y
1
480
progate
2
530
ickx
3
640
cc4966
1
110
nerocrux
3
1.7k
borkdude
1
190
daipresents
0
350
ktgrstsh
1
240
toedter
0
140
bkuhlmann
2
330
minodriven
37
29k
dnskimo
7
1.4k
Featured
See All Featured
hatefulcrawdad
257
17k
bermonpainter
343
26k
aarron
258
36k
paulrobertlloyd
73
1.5k
andyhume
64
3.8k
trishagee
24
3.1k
hursman
108
9.3k
mza
80
4.2k
pauljervisheath
195
15k
chrislema
173
14k
sachag
446
36k
denniskardys
220
120k
Transcript
Kitura - What’s Next? David Okun, Developer Evangelist, IBM 1
@dokun24
Agenda • Server Side Swift State of the Union •
What is Kitura & how has it grown? • Kuery Demo • WebSockets Demo • ????????????? Demo • Fin @dokun24 2
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 @dokun24 of 17 3
RESTful APIs @dokun24 4
2015 - Open Source Swift @dokun24 5
6
Introducing…Kitura • Kitura is a RESTful API framework written in
Swift • Open sourced February 2016 • v1.0 in September 2016 • Also introduced Bluemix Swift Runtime 7 @dokun24
None
None
OMG IT ME
…and Kitura now • Stability alongside Swift 3, Foundation and
LibDispatch • Support for most major DataStores • WebSockets • Protocol Buffers • Native Querying Language (Kuery) 11 @dokun24
12
Swift-Kuery • Kuery is a pluggable SQL database driver •
Focus on making the API “Swifty” • Great to support an ORM buildout 13 @dokun24
Currently supported DBs 14 @dokun24
Before we start • PostgreSQL running locally on machine •
Accessible at localhost:5432 15 @dokun24
Pre-loaded table 16 @dokun24
Demo - Kuery 17 @dokun24
WebSocket Connections • Allows asynchronous sending and receiving of data
packets through an opened connection • RFC 6455 18 @dokun24
Before we start • http://www.websocket.org/ echo.html • Everything you had
before 19 @dokun24
Demo - WebSockets 20 @dokun24
Serverless Swift!!! • Yep! • Uses Apache OpenWhisk, which just
so happens to be deployed on… 21 @dokun24
22 @dokun24
Before we start • Open an account on Bluemix 23
@dokun24 https://console.ng.bluemix.net/registration
Live Demo - OpenWhisk 24 @dokun24
Recap • Swift is maturing super fast • For Kitura:
long term support = use your existing knowledge • https://www.github.com/dokun1 • http://www.kitura.io • https://console.ng.bluemix.net/registration 25 @dokun24
26 @dokun24 • T-shirts!!! • Stickers!!! • JS Developers!!! •
Paul Hudson!!! While I’m here…
Thank you!!!! @dokun24 27 @dokun24