Build a Web Application with Swift

Speakers: Steve Goodrich

Level: Advanced, Lecture

Excerpt: We all know Swift is great for writing iOS and macOS end user applications. But did you know that Swift is also great for server side applications as well? In this session we will look at a Swift web application built with the Vapor web framework. Our example application will maintain a list of e-mail addresses and allow you to check the list against the “Have I been pwned” web site for security breaches in which those e-mail addresses may have been exposed.

Description: Swift is a great general purpose programming language. While Apple generally puts their emphasis on writing end user applications, several groups including large companies like IBM are focusing on making it a world class server side language as well. In this session, we will look at a project that illustrates how to set up routing, models, views, and controllers for a simple web application. This will include looking at how Vapor and Swift combine to make things like encoding and decoding request and response data and managing data in a database simple and relatively intuitive. We will also look at how Vapor keeps your applications responsive by providing an extensive async framework. As a bonus, we will deploy our app into a Docker container taking advantage of Swift’s cross platform nature.

About the speaker

Steve Goodrich (Twitter: @zepedebo) – Software Engineer, Apple Technologies – Ivanti

Steve is an Apple technologies specialist at Ivanti (or as his team like to say iVanti). Steve has been a professional software developer for over 30 years. He has written embedded systems, telecom engineering software, warehouse management systems, and integrated medical practice management and EHR software. Steve has extensive experience teaching and has taught a wide variety of classes including AI, database, UNIX system and network programming, compilers, Java, and software quality for Weber State University.

This entry was posted in MacAdmins 2019 Sessions. Bookmark the permalink.