Home · iOS & Swift Tutorials

Server-Side Swift with Vapor Book: New Chapters Available!

Six new chapters are now available in our definitive book on building web apps and web APIs using Server Side Swift with Vapor, written by the creators of the Vapor 3 framework.

4.8/5 4 Ratings


  • Swift 4.2, iOS 12, Xcode 10

We’re excited to announce that our flagship server-side book — Server Side Swift with Vapor — now includes six new chapters that will take your server-side app production and deployment to the next level! And, for one more week only, you can get this book for $10 off!

Read on to learn:

  • More about Server Side Swift with Vapor
  • What’s new in this edition of the book
  • About the authors
  • How you can get your own copy!
  • About Server Side Swift with Vapor

    Server Side Swift with Vapor, 2nd ed., is split into five sections to give you a complete, beginning-to-end understanding of building applications in Vapor and then deploying them to Cloud-based providers:

    • Section I: Creating a Simple Web API: This section teaches you the beginnings of building Vapor applications, including how to use Swift Package Manager.
    • Section II: Making a Simple Web App: This section teaches you how to build a front-end web site for your Vapor application. You’ll also learn how to accept data from a browser so that users can create and edit your models.
    • Section III: Validation, Users & Authentication: This section shows you how to protect your Vapor application with authentication. You’ll learn about different types of authentication: HTTP Basic authentication and token-based authentication for the API, and cookie- and session- based authentication for the web site.
    • Section IV: Advanced Server Side Swift: The chapters in this section deal with more advanced topics for Vapor and were written by the Vapor Core Team members.
    • Section V: Production & External Deployment: This section shows you how to deploy your Vapor application to external Cloud-based providers to offload the job of hosting your application. You’ll learn how to upload to Vapor’s own home-grown solution — Vapor Cloud.

    Learn or review the basics, including how a client and server work together!

    Server Side Swift with Vapor, 2nd ed., is 100% complete and is available today with six new chapters — and it’s on sale until Friday, June 14th!

    What’s New in This Edition?

    Server Side Swift with Vapor, 2nd ed., now has six new chapters focused on production and deployment of your app:

    • Advanced Fluent: In this chapter, you’ll learn about some of Fluent’s more advanced features. You’ll see how to save models with enums and use Fluent’s soft delete and timestamp features. You’ll also learn how to use raw SQL and joins, as well as seeing how to return nested models.
    • Deploying with Docker: Docker is a popular containerization technology that has made a huge impact in the way applications are deployed. Containers are a way of isolating your applications, allowing you to run multiple applications on the same server. In this chapter, you’ll learn how to deploy a Vapor app with with a PostgreSQL database using Docker Compose.
    • Deploying with AWS (Amazon Web Services): Amazon Web Services (AWS) is by far the largest Cloud provider today. It provides a number of service offerings which simplify the deployment and maintenance of applications. In this chapter, you’ll learn how to use a few of these to deploy a Vapor app.
    • Production Concerns: In this chapter, you’ll learn the advantages and disadvantages of some common deployment methods for Vapor. You’ll also learn how to properly optimize, configure, and monitor your applications to increase efficiency and uptime.
    • Microservices, Part 1: In this chapter, you’ll learn how to leverage microservices to split up your code into different applications. You’ll learn the benefits and the downsides of microservices and how to interact with them. Finally, you’ll learn how authentication and relationships work in a microservices architecture.
    • Microservices, Part 2: In this chapter, you’ll learn about API gateways and how to make microservices accessible to clients. Finally, you’ll learn how to use Docker and Docker Compose to spin up the whole application.

    Server Side Swift with Vapor Authors

    Learn Vapor from the team who created… well… Vapor!

    Tim Condon is a software engineer who has worked in most areas of the industry, including security, back-end, front-end and mobile! Having previously worked for the BBC, he is now the founder of Broken Hands, specializing in Vapor training and consultancy.

    Jonas Schwartz had a long career as a backend and server operations developer, before he teamed up with Tanner and Logan in 2017. He came onboard after talks about building a cloud platform. Since then, his focus has been on making hosting easy and more scalable for Vapor applications.

    Logan Wright began his career as an iOS Developer working on many categories of applications from navigation, to customized bluetooth communication protocols. Always a major supporter of OSS, Logan met Tanner through the Vapor project. Eventually, that grew into a full-time position and the community as we know it today.

    Tanner Wayne Nelson is an American software engineer based in New York City. He started programming in elementary school and went on to study Computer Science at New York University. Tanner created Vapor in 2016 and now works full time maintaining the core framework and the dozens of packages around it.

    Where to Go From Here?

    Server Side Swift with Vapor, 2nd ed., is available today, in full release and is nearly 600 pages of essential tutorial-style content to deepen your server side-development app skills!

    Remember, when you purchase this book, you get the digital PDF, e-pub, source code and project files, and free updates!

    • If you’ve already bought the Server Side Swift with Vapor digital edition, you can log in to the store and download the updated version, here.
    • If you haven’t already bought this must-have addition to your development library, head over to our store page by Friday, June 14, to grab your copy at our special launch discount of just $49.99!

Average Rating


Add a rating for this content

4 ratings

More like this