Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Swift for back end: A new generation of full stack languages?

1,141 views

Published on

This slide deck by Carlos Lopez, Sr. Mobile Developer at Koombea, was presented as part of Koombea Conf 2016.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Swift for back end: A new generation of full stack languages?

  1. 1. Swift for Back-End: A new generation of full stack languages?
  2. 2. Full-stack “Developers who are comfortable working with both back-end and front-end technologies”
  3. 3. Full-stack Examples
  4. 4. Full-stack Developer Examples
  5. 5. Swift ● Modern ● Fast ● Safe ● OpenSource ●
  6. 6. Swift vs Objective-C ● Swift is easier to read ● Swift is easier to maintain ● Swift is safer ● Swift is unified with memory management ● Swift requires less code
  7. 7. Swift vs Objective-C
  8. 8. Swift is easier to read Objective C Swift
  9. 9. Swift is easier to read
  10. 10. Swift Full-stack
  11. 11. Swift Mobile
  12. 12. Swift Desktop
  13. 13. Swift Server
  14. 14. ● Web swift framework ● Pure swift ● MVC ● Middlewares ● API
  15. 15. Installation ● Install swift ● Install vapor toolbox (curl -sL toolbox.vapor.sh | bash) ● Install swiftenv(optional) ● Have fun ;)
  16. 16. Databases
  17. 17. Fluent is the first Swift ORM and it works great with a wide range of databases. It provides a beautifully expressive and easy to use syntax for interacting with your database.
  18. 18. DEMO
  19. 19. Pros and Cons Pros ● Performance ● Swift ● Debug ● Apple Cons ● Early phase**
  20. 20. Vapor vs other guys ● Vapor (Swift) ● Ruby on Rails (Ruby) ● Laravel (PHP) ● Lumen (PHP) ● Express (JavaScript) ● Django (Python) ● Flask (Python) ● Spring (Java) ● Nancy (C#) ● Go (Pure Go, no framework)
  21. 21. PlainText
  22. 22. SQLite Fetch
  23. 23. JSON
  24. 24. Deploy
  25. 25. Things to do?
  26. 26. Things to do? ● Authentication ● API ● Errors Handling ● Bug Fixes ● https://github.com/OpenKitten/MongoKitten/pull/41
  27. 27. Documentation ● https://vapor.github.io/documentation/ ● https://github.com/vapor/vapor ● http://stackoverflow.com/
  28. 28. Results Vapor’s speed comes from the fact that it is both compiled and has modern syntax and language features. Even though it is a new framework, it is giving people plenty to talk about.
  29. 29. Got questions? Twitter.com/callo90 carlos.lopez@koombea.com

×