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

Kitura - What's Next?

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

More Decks by David Okun

Other Decks in Programming

Transcript

  1. Kitura - What’s Next?
    David Okun, Developer Evangelist, IBM
    1
    @dokun24

    View Slide

  2. Agenda
    • Server Side Swift State of the Union
    • What is Kitura & how has it grown?
    • Kuery Demo
    • WebSockets Demo
    • ????????????? Demo
    • Fin
    @dokun24 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
    @dokun24 of 17
    3

    View Slide

  4. RESTful APIs
    @dokun24 4

    View Slide

  5. 2015 - Open
    Source Swift
    @dokun24 5

    View Slide

  6. 6

    View Slide

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

    View Slide

  8. View Slide

  9. View Slide

  10. OMG IT ME

    View Slide

  11. …and Kitura now
    • Stability alongside Swift 3, Foundation and
    LibDispatch
    • Support for most major DataStores
    • WebSockets
    • Protocol Buffers
    • Native Querying Language (Kuery)
    11
    @dokun24

    View Slide

  12. 12

    View Slide

  13. Swift-Kuery
    • Kuery is a pluggable SQL database driver
    • Focus on making the API “Swifty”
    • Great to support an ORM buildout
    13
    @dokun24

    View Slide

  14. Currently supported DBs
    14
    @dokun24

    View Slide

  15. Before we start
    • PostgreSQL running locally on
    machine
    • Accessible at localhost:5432
    15
    @dokun24

    View Slide

  16. Pre-loaded table
    16
    @dokun24

    View Slide

  17. Demo - Kuery
    17
    @dokun24

    View Slide

  18. WebSocket Connections
    • Allows asynchronous sending and receiving of
    data packets through an opened connection
    • RFC 6455
    18
    @dokun24

    View Slide

  19. Before we start
    • http://www.websocket.org/
    echo.html
    • Everything you had before
    19
    @dokun24

    View Slide

  20. Demo - WebSockets
    20
    @dokun24

    View Slide

  21. Serverless Swift!!!
    • Yep!
    • Uses Apache OpenWhisk, which just so happens
    to be deployed on…
    21
    @dokun24

    View Slide

  22. 22
    @dokun24

    View Slide

  23. Before we start
    • Open an account on Bluemix
    23
    @dokun24
    https://console.ng.bluemix.net/registration

    View Slide

  24. Live Demo - OpenWhisk
    24
    @dokun24

    View Slide

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

    View Slide

  26. 26
    @dokun24
    • T-shirts!!!
    • Stickers!!!
    • JS Developers!!!
    • Paul Hudson!!!
    While I’m here…

    View Slide

  27. Thank you!!!!
    @dokun24
    27
    @dokun24

    View Slide