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

0f552f8411335ac247e390aa03790990?s=128

David Okun

March 02, 2017
Tweet

Transcript

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

    @dokun24
  2. Agenda • Server Side Swift State of the Union •

    What is Kitura & how has it grown? • Kuery Demo • WebSockets Demo • ????????????? Demo • Fin @dokun24 2
  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
  4. RESTful APIs @dokun24 4

  5. 2015 - Open Source Swift @dokun24 5

  6. 6

  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
  8. None
  9. None
  10. OMG IT ME

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

  13. Swift-Kuery • Kuery is a pluggable SQL database driver •

    Focus on making the API “Swifty” • Great to support an ORM buildout 13 @dokun24
  14. Currently supported DBs 14 @dokun24

  15. Before we start • PostgreSQL running locally on machine •

    Accessible at localhost:5432 15 @dokun24
  16. Pre-loaded table 16 @dokun24

  17. Demo - Kuery 17 @dokun24

  18. WebSocket Connections • Allows asynchronous sending and receiving of data

    packets through an opened connection • RFC 6455 18 @dokun24
  19. Before we start • http://www.websocket.org/ echo.html • Everything you had

    before 19 @dokun24
  20. Demo - WebSockets 20 @dokun24

  21. Serverless Swift!!! • Yep! • Uses Apache OpenWhisk, which just

    so happens to be deployed on… 21 @dokun24
  22. 22 @dokun24

  23. Before we start • Open an account on Bluemix 23

    @dokun24 https://console.ng.bluemix.net/registration
  24. Live Demo - OpenWhisk 24 @dokun24

  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
  26. 26 @dokun24 • T-shirts!!! • Stickers!!! • JS Developers!!! •

    Paul Hudson!!! While I’m here…
  27. Thank you!!!! @dokun24 27 @dokun24