Learn about the concepts behind server-side Swift programming and how existing iOS developers can leverage their Swift skills to build back-end systems using Swift language.
- Mobile apps do not live in isolation. They're constantly communicating with a persistent medium, such as a database to fetch data, insert data, delete and perform other various operations. The communication between the app and the database is performed by a Web service layer, which sits between the app and the database. Before the release of Swift language, developers had to learn and rely on third party frameworks to build their backend services.
These frameworks included Ruby on Rails, PHP, Microsoft ASP.NET, Node, Django, and many more. The learning curve was steep, time consuming and error prone, and mostly developers ended up hiring backend developers with expertise in server-side frameworks. Some iOS developers moved to backend service providers, like Parse, Firebase, CloudKit, Backendless, Realm, and many more.
Backend service providers provided their custom API and frameworks to work with their system. Unfortunately when using backend service providers, developers were left at the mercy of the provider, as there was less flexibility and an uncertain future of the framework. Parse was among one of the most loved providers in the developers' community. Unfortunately, few years after the release, Facebook decided to shut down Parse, leaving thousands of developers stranded.
Server-side Swift addresses these issues by providing complete control in the hands of developers, adding more flexibility and options to implement their Web API.
- Reviewing the concepts behind server-side Swift programming
- Different server-side Swift frameworks
- Setting up a Kitura project
- Adding HeliumLogger for debugging
- Accessing JSON passed parameters using Kitura.
- Reading URL parameters and URL encoded form parameters
- Configuring the PostgreSQL database
- Fetching, inserting, and deleting records from the database
- Integrating a Kitura API with an iPhone app