Try!Swift NYC: End to End Application Development in Swift

1,314 views

Published on

The addition of support for Swift as a server-side programming language makes it possible to use not just the same language on client and server, but also to reuse APIs and code. This session will introduce you to new models of client and server interaction for application development, and show you how to rapidly build an app with both client and server components written in Swift.

Presented: September 2nd, 216

Published in: Technology

Try!Swift NYC: End to End Application Development in Swift

  1. 1. Swift @ IBM Engineering Team Chris Bailey(@Chris__Bailey)! Robert Dickerson (@rfdickerson)! ! September 2nd, 2016! End to End Application Development Swift @ IBM
  2. 2. User-facing! Client Apps! Modern Application Design! App Services! 3rd Party Services! On Prem Services! End Users! Swift @ IBM
  3. 3. Modern Application Design! End Users! User-facing! Client Apps! App Services! On Prem Services! 3rd Party Services! Swift @ IBM
  4. 4. Modern Application Design! End Users! User-facing! Client Apps! App Services! On Prem Services! 3rd Party Services! Developer Experience Integrated Swift @ IBM
  5. 5. Why Swift on the Server?! Swift @ IBM
  6. 6. Performant Applications! Duration(s)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  7. 7. Performant Applications! Duration(s)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  8. 8. Performant Applications! Duration(s)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  9. 9. Performant Applications! Duration(s)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  10. 10. Low Memory! MemoryUsage(MB)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  11. 11. Low Memory! MemoryUsage(MB)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  12. 12. Low Memory! MemoryUsage(MB)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  13. 13. Low Memory! MemoryUsage(MB)! (lowerisbetter)! Swift @ IBMhttp://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm!
  14. 14. Swift is ideal for Cloud! Swift @ IBM
  15. 15. Isomorphic Development! Swift @ IBM Create Swift Project
  16. 16. Isomorphic Development! Swift @ IBM Create Swift Project Deploy Deploy
  17. 17. Isomorphic Development! Swift @ IBM Create Swift Project Deploy DeployGenerate Swagger API Specification
  18. 18. Sharing tools and technologies! Swift @ IBM
  19. 19. How does this happen?! Swift @ IBM
  20. 20. Extend Swift to the server! Swift @ IBM
  21. 21. Linux PlatformsDarwin Platforms ! ! ! ! ! ! ! ! Swift on Linux! Swift @ IBM Swift Standard Library Foundation Dispatch Swift Standard Library Foundation Dispatch
  22. 22. Add a Web Framework! Kitura: A Swift Web Framework and HTTP Server! https://github.com/IBM-Swift/Kitura Swift @ IBM
  23. 23. Server / Cloud DeploymentServer / Cloud DeploymentApple Client Deployment ! ! ! ! ! ! ! ! Client Facing App Client-Specific Libraries Kitura Web Framework! Swift @ IBM Swift Standard Library Foundation Dispatch Swift Standard Library Foundation Dispatch Networking Security HTTPParsing Application Libraries! Application Specific Cloud Services Server-Specific Libraries Application Libraries!
  24. 24. Server / Cloud DeploymentServer / Cloud DeploymentApple Client Deployment ! ! ! ! ! ! ! ! Client Facing App Client-Specific Libraries Kitura Web Framework! Swift @ IBM Swift Standard Library Foundation Dispatch Swift Standard Library Foundation Dispatch Networking Security HTTPParsing Application Libraries! Application Specific Cloud Services Server-Specific Libraries Swift “Server” APIs Application Libraries!
  25. 25. Swift 3.0 + Kitura! ! ! Swift on the Server is Real! Swift @ IBM
  26. 26. Let’s take a tour…! Swift @ IBM
  27. 27. Discover Try Build IBM Cloud Tools! Package Catalog! Swift Sandbox! Kitura + Packages! DeploySwift @ IBM Swift @ IBM
  28. 28. Thank you!! Swift @ IBM

×