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
91
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
110
dokun1
0
140
dokun1
0
150
dokun1
3
320
dokun1
0
98
dokun1
0
120
dokun1
0
70
dokun1
0
16
Other Decks in Programming
See All in Programming
cwozaki
1
1.9k
nbkouhou
9
4.7k
viteinfinite
0
200
ajstarks
2
550
shigeruoda
0
480
akkeylab
0
360
showwin
0
130
line_developers_tw
1
490
supikiti
3
1.3k
e10dokup
0
450
akatsukinewgrad
0
210
akatsukinewgrad
0
210
Featured
See All Featured
addyosmani
310
21k
chriscoyier
683
180k
samlambert
237
9.9k
marcelosomers
220
15k
yeseniaperezcruz
302
31k
stephaniewalter
260
11k
reverentgeek
168
7.2k
geeforr
332
29k
denniskardys
220
120k
cherdarchuk
71
260k
lara
16
2.6k
chriscoyier
145
19k
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