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

SWIFTly, Go Cloud - Swift@IBM

SWIFTly, Go Cloud - Swift@IBM

Presented at MoDS2016. Swift continues to grow in popularity and is now one of the most used programming languages for mobile. Since the introduction of open source Swift for Linux, IBM has been enabling the language on the Cloud. This session shows how the new models of client and server interaction for application development enable us to rapidly build an app with client and simplify back-end integration of services - all written in Swift. Come, join this session to hear more about what is next for Swift at IBM.

Vidyasagar Machupalli

September 16, 2016
Tweet

More Decks by Vidyasagar Machupalli

Other Decks in Programming

Transcript

  1. About ME » Developer Advocate, IBM Cloud » Polyglot &

    Pragmatic Programmer » @VidyasagarMSC » http://vidyasagarmsc.com
  2. User- facing Client Apps App Services 3rd Party Services On

    Prem Services End Users Modern Application Design
  3. End Users User- facing Client Apps App Services On Prem

    Services 3rd Party Services Modern Application Design
  4. End Users User- facing Client Apps App Services On Prem

    Services 3rd Party Services Integrated Developer Experience Modern Application Design
  5. Community enablement – Swift Sandbox – Swift Package Catalog Consistent

    developer experience – Kitura Web Framework – Core swift.org contributions Cloud enablement – IBM Cloud Deployment – IBM Cloud Tools for Swift Bringing Swift to the Server
  6. Community Enablement • Interactive sandbox for rapid prototyping and experimentation

    in Swift • Saves your work • Supports multiple versions of Swift • Responsive design IBM Swift Sandbox
  7. Community Enablement • Find, explore and share packages from the

    open- source Swift ecosystem • Explore dependencies • Submit your own packages IBM Swift Package Catalog
  8. A Swift Web Framework and HTTP Server » Open sourced

    in February 2016 » Modular package-based web framework » Leverages libdispatch and Foundation » Driving IBM’s contributions into swift.org » Used at IBM for Swift server-side applications Consistent Developer Experience https://github.com/IBM-Swift/Kitura Kitura Web Framework
  9. Sample photo sharing app Rich client interface written in Swift

    Swift Server built with Kitura, IBM Cloud, Watson, and OpenWhisk Available at github.com/IBM-Swift/BluePic BluePic End-to-end Swift
  10. BluePic design pattern Services Object Storage Watson Image Recognition Cloudant

    Core Cloud Services Response iOS App Model Controllers Views User Interaction Request Application Server Client and Service Integration Routing Service Logic End-to-end Swift
  11. BluePic design pattern Application Server Client and Service Integration Core

    Cloud Services Users Photos Image Insights = Tags Push Notifications Mountain, Sunset, River Meta Data End-to-end Swift
  12. BluePic development setup macOS Develop and Debug Application Server Other

    Services Mountain, Sunset, River Meta Data Cloud End-to-end Swift
  13. Other Services Cloud Develop and Debug macOS Develop and Debug

    Mountain, Sunset, River Meta Data BluePic development setup End-to-end Swift
  14. Other Services Cloud Develop and Debug macOS Develop and Debug

    Mountain, Sunset, River Meta Data IBM Cloud Tools for Swift (Mac App) BluePic development setup End-to-end Swift
  15. + Develop and Debug Develop and Debug Other Services Mountain,

    Sunset, River Meta Data Cloud macOS End-to-end Swift Development IBM Cloud Tools for Swift