Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Expanding to the Server with Swift & Kitura

David Okun
January 25, 2017

Expanding to the Server with Swift & Kitura

The open-sourcing of Swift has given the mobile developer community the ability to take the language anywhere. Learning about the existence of Kitura had a profound effect on me, personally - it made me a full-stack developer by way of knowing the language I already know. In this talk, I'll show you how Kitura can empower you to take what you already know about Swift, and expand it to an entirely new domain.

David Okun

January 25, 2017
Tweet

More Decks by David Okun

Other Decks in Programming

Transcript

  1. Expanding to the Server
    with Swift & Kitura
    David Okun, Developer Evangelist, IBM
    of 17
    1

    View Slide

  2. Agenda
    • AboutMe.swift
    • Why Swift?
    • Why Kitura?
    • Workshop & Live Coding
    of 17
    2

    View Slide

  3. 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

    View Slide

  4. When you work
    with C++, no one
    cares about
    Swift.
    4

    View Slide

  5. of 17
    5

    View Slide

  6. Why Swift?
    of 17
    6

    View Slide

  7. of 17
    7

    View Slide

  8. http://benchmarksgame.alioth.debian.org/u64q/swift.html
    http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
    of 17
    8

    View Slide

  9. http://benchmarksgame.alioth.debian.org/u64q/swift.html
    http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
    of 17
    9

    View Slide

  10. http://benchmarksgame.alioth.debian.org/u64q/swift.html
    http://www.cs.cmu.edu/~pbbs/benchmarks/nBody.html
    of 17
    10

    View Slide

  11. Why Kitura?
    • Written like Express.js
    • IBM & Apple collaborate on
    Swift
    • Foundation just works
    • Libdispatch just works
    of 17
    11

    View Slide

  12. Developer Experience
    Client Side Data Side
    Server API Layer
    of 17
    12

    View Slide

  13. Before The Demo
    • What is an API contract?
    • What is a microservice?
    • What is even a Node.js?
    of 17
    13

    View Slide

  14. of 17
    14
    Cats API (Node.js)
    Bears API (Node.js)
    ???????
    iOS Client

    View Slide

  15. 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

    View Slide

  16. Questions & Answers
    16

    View Slide

  17. Live Demo
    17

    View Slide

  18. Thank you!!!
    18

    View Slide