Since Swift was first announced, raywenderlich.com has been a massive supporter of the language. Swift is modern, clean and fun, and it's the best way to develop not only iOS apps, but also APIs and web applications on the server!
That's why raywenderlich.com is very excited to announce something we've been working on secretly over the last few months.
Is it a bird? Is it a plane? No! It is Server-Side Swift Celebration !
As part of the Server-Side Swift Celebration, we announce our selection of new and updated server-side Swift books and video courses ̵
We are running this celebration for two weeks, and we have a lot to cover in the few days! Here's a quick overview of what's in store:
Why Server-Side Swift?
Development for Swift on the server is a very different deal than developing for iOS; You need to understand server deployment, testing your API, supporting multiple client platforms, and trying to learn about all the major server-side Swift frames out there.
You can now use Swift on MacOS, Linux or even Windows for server-side application development. With frames like Damp and Kitura, you can quickly build ready-to-use Swift web apps that can connect to databases, use templating for pages, send messages via web sockets, and distribute to various cloud-based solutions with ease. It's a brave, new Swift world out there!
We believe that Swift on the server is one of the most exciting things to happen to Swift in recent years, so it deserves its own curated space on the site.
New server-side-swift section on raywenderlich.com
Like our iOS, Android, Unity and Unreal Engine sections on the site, we now have a whole new part of raywenderlich.com dedicated to everything to do with server-side Swift!
This new part of raywenderlich.com is your one-stop shop for all the latest and greatest tutorials and articles to help you stay up to date All you need to know about using Swift on the server.
And to give our new Server-Side Swift part a balanced view, we have collected two heavyweights as Team Leads for this new Swift community. They are here to give you hard-won and battle-tested advice from server-side Swift frontlines:
Tim Condon – on the way up Steam ] side of our content.
David Okun – handles everything Kitura .
We will support the growing server-side Swift community as best we can, so Tim and David will work with our Server-Side Swift team to develop much new content for our server-side-swift section over time.
Well – on everything we launch with Server-Side Swift Celebration!
New Server Side Swift Books
To lead the Server-Side Swift Celebration, we present our two best books on server-side Swift Development: our latest book, Server Side Swift with Kitura and our recently updated book, Server Side Swift with Damp, Second Edition!
1) Server Side Swift with Kitura
Kitura gives you the ability to create production ready RESTful APIs written in Swift. Along with the power of Docker and Kubernetes, you can take Swift to the server and beyond!
Server Side Swift with Kitura will guide you through the development of EmojiJournal, a social network focused on your feelings. You learn how REST works, how to document the API, how to configure an ORM and user authentication, and even how to create a web front end, as well as an iOS front end. You'll also learn how to use powerful deployment tools to manage and run your API in a popular cloud of your choosing!
This book is for all developers who have had some exposure to Swift and want to learn how to use those skills to write code that operates on the server.
Here is a short, non-exhaustive list of what is discussed in the book:
- KueryORM : Learn how to enter Swift API for PostgreSQL, a very popular database
- The OpenAPI Spec : Learn how to document your API yourself and provide a tool for fast testing and iteration on it.
- Stencil : Use an open source painting tool to create a web app for your Swift app on the server.
- Authentication : Protect your Swift API from unwanted requests and learn how to use several different types of protection.
- Security : Demystify the world of TLS and learn to secure communication to and from your server.
- Dep Loyalty : Localhost is not enough – push your server into production with Docker & Kubernetes.
- And much, much more!
Server Side Swift with Kitura is 100% complete and available today – and it is for sale As part of our Server Side Swift Super Bundle.
Server Side Swift with Kitura Authors
Of course, our Server Side Swift with the Kitura book would be nothing without the effort of the hard-working authors of this book: 
Chris Bailey is co-author of this book. Chris is a software developer and architect at IBM. He has worked with programming languages and web frames longer than it is polite to discuss. Somewhere along that journey, he became involved with Swift on Linux, and became the chief architect of the Kitura web framework.
David Okun is a co-author of this book. He is a mobile software developer beat developer IBM developer in Austin, TX. David has primarily focused on iOS mobile software, but is also interested in Swift on the server and other web technologies such as Node.js.
2) Server Side Swift with Steam, Second Edition
Our Server Side Swift with Steam Book introduces you to the world of server development with the added bonus of using Swift. You learn how to build APIs, websites, databases, application servers and use Damp's own Vapor Cloud to host your solutions on site. You will use many of the steam modules like Fluent, Damp's ORM and Leaf, the templating engine for building web pages.
The second edition of this book has been updated with four new chapters:  Chapter 23: GitHub Authentication : Learn how to use OAuth 2.0 to delegate approval to GitHub so that users can log in with their GitHub accounts instead.
Here's an overview of what's inside:
- HTTP : Learn the basics of making requests to and from servers.
- Floating : Learn how to use Fluent to store and manage your models in databases.
- Controllers : Learn how to use controls to control your requests and responses.
- Leaf ]: Learn how the Damps Leaf module and its templating language allow you to build dynamic websites directly.
- Middleware : Learn how built-in steam modules can help with common tasks such as validation of users, settings required for response headers, static files, and more.
- And much, much more!
Server Side Swift with Steam, second edition, is 100% complete and available today – and it is on sale as part of our Server Side Swift Super Bundle. 19659021] Server Side Swift with Steam Writers
Here are the hard-working writers who have contributed to server side swift with steam:
Tim Condon is a software engineer who has worked in most areas of the industry, including security, back-end, front-end and mobile! He is the founder of Broken Hands, a company specializing in steam, and is currently working for the BBC on its mobile team. On Twitter, he can be found occasionally tweeting as @ 0xTim . You can find more about him at www.brokenhands.io.
Tanner Nelson is an American software engineer based in New York City. He started programming in elementary school and continued to study computer science at New York University. Tanner created Vapor in 2016 and is now working full time to maintain the core frame and dozens of packages around it.
Jonas Schwartz had a long career as a backend and server operator, before joining Tanner and Logan in 2017. He came aboard after talking about building a ski platform . Since then, he has focused on making hosting easier and more scalable for steam applications.
Logan Wright began his career as an iOS developer working with many categories of applications from navigation, to customized Bluetooth communication protocols. Always a big fan of OSS, Logan met Tanner through the Vapor project. Finally, it grew into a full-time position and society as we know it today.
Server-Side Swift Video Courses and Screencasts
Next in the Server page Swift Celebration is a curated collection of new and updated video courses and screencasts for raywenderlich.com subscribers!
These courses and screens are designed to get you working fast with Swift on the server. And because there's more to working with Swift on the Server than just using the frames, we've cured other video courses that help you become a server-side Swift champion, including working on the command line, using Git, working with Swift language and more!
Here is just a taste of some of the courses you will access as a raywenderlich.com subscriber:
1) Server Side Swift with Steam
In this Of course you will discover Vapor, server-side Swift web framework, learn everything you need to build powerful APIs and websites in Swift.
2) Server Side Swift with Kitura
Learn how to build robust full-featured applications using Swift and Kitura, paint your pages, work with CouchDB, building routes and more.
3) Distribute to Vapor Cloud 2
In this screen you'll benefit from how to deploy your Vapor app to Vapor Cloud 2 and take advantage of the free database located in it new version of their shooting service!
4) Implementing dock side server applications
Docker makes it easier to create, distribute and run applications using containers. In this well-known RWDevCOn 2017 session, you learn how to unpack the Swift app server version as a custom Docker image, and utilize Docker Compose to capture that image and create a container that can be used for both local development and production.
5) Command Line Basics
A command line course for beginners! Explore basics such as manipulating files and directories, navigation and tips and tricks to make the command line experience smoother.
6) Begin and Mastering Git
In this two-course set, you will learn everything from cloning and creating repos, by committing and ignoring files, to managing remote controls and pull requests. You will then use the solid foundation and build on it with the focus on fixing real-life issues, as you take a multi-user Git repository and work through the last steps to free up a software product.
And there are other video courses and screencasts that complement your Swift learning servers on the server, including data structures and algorithms in Swift, what's new in Swift 5, serialization in Swift and more!
How to get the courses
Do you want to access these and other great video courses?
This curated selection of courses is already included in your raywenderlich.com subscription. Don't have a subscription? You get a month including as part of the Server Side Swift Super Bundle, so it's a great way to see what you've missed in our video course directory!
These courses are designed as companions of Server Side with Kitura and Server Side Swift with Steam books. We recommend that you work through the video courses first, and refer back to the books for review, or to promote the knowledge of working with Swift on the server.
Server-Side Swift Tutorials
We will also release a bunch of new and updated server-side Swift tutorials over the coming week to help you learn more about topics such as deployment, testing, templating web sites, async on the server and more!
- 1) Getting started with steam : Get started quickly with server side Swift using Vapor, and build your first Vapor web app in Swift!. Available today.
- 2) Kitura: Getting Started with Server-Side Swift : Do you want your iOS skills to work in the back? This Kitura tutorial will teach you how to create RESTful APIs completely written in Swift. Available today.
- 3) Vapor vs. Kitura: Choosing a Server Page Swift Framework : If you come from IOS development and consider server-side Swift, one of the first questions you will probably ask: "What framework should I choose , and why?" In this post, we will compare the two most popular server-side Swift frames: Damp and Kitura. Available today.
- 4) Steam: Persistent Floating Models : The floating ORM lets you use any number of database engines in your Vapor app. Learn how to continue your models on server-side Swift apps using Vapor! Available Tuesday, February 26th.
- 5) Kitura and BFF pattern : In this article you learn what high problems Kitura solves with server-side Swift, and what the BFF pattern is all about! Available Tuesday, February 26th.
- 6) Vapor: Templating with Blades : Create a website-based client against Vapor API, and along the way, learn how to use Leaf to create dynamic sites in steam applications. ! Available Wednesday 27 February.
- 7) Damp: Beautifying Pages : Learn how to use the Bootstrap framework to add styling to your pages. Available Wednesday 27 February.
- 8) Kitura Stencil Tutorial: How To Create Websites With Swift : In this tutorial on building websites with the Stencil Swift templating library, you will find how a web-based front end is structured and see how to report your site. Available Wednesday 27 February.
- 9) A simple (!) Guide to Async on the server : An important theme in server-side Swift is asynchronous programming. This tutorial teaches you how to work on two key aspects of asynchronous programming: futures and promises.
- 8) Test your steam app : Use a pre-built steam application to learn how to test the server Swift Steam applications on macOS and also best practices to simplify the test code. Available Thursday 28 February.
- 10) Testing on Linux : In this tutorial, you test the Swift applications on Linux on Linux, learn the differences between testing on MacOS and Linux, and how to use Docker and Docker composing. Available Thursday 28 February.
- 11) OpenAPI Spec with Kitura: Getting Started : Get started with the OpenAPI specification on this server-side Swift guide on using the Swagger API with Kitura to generate an SDK for your iOS app! Available Thursday 28 February.
- 12) Implementing a Kitura App : Kitura servers built in Swift are pretty cool, but it is even cooler to distribute them in the cloud! See how to build a Docker image and then distribute to Kubernetes.
- 13) Distribute to Vapor Cloud 2 : Learn how to deploy your Vapor app to Vapor Cloud 2 and take advantage of the free database level in the new version of their Cloud service! Available Friday 1. March.
Server Side Swift Super Bundle
To celebrate the launch of our new Swift books, courses and screencasts, we serve a special package where you can get everything we've covered in this post – with great discount!
Our time-limited Server Side Swift Super Bundle includes:
- Server Side Swift with Kitura ($ 59.99 value): Gives you access to our New Server Side Swift with Kitura book , who teaches you how to build and deploy a full-fledged Web API, and how to build iOS and web clients to work with Kitura backend! PDF / ePub format, including all source code.
- Server Side Swift with Steam, Second Edition ($ 59.99 Value): Gives you access to our new Server Side Swift with Steam, second edition, book, starting with the basics of steam, so you go through creating APIs and webbackends; creating and configuring databases; distribute to Heroku, AWS or Docker; test your creations and more! PDF / ePub format, including all source code.
- The first month of a raywenderlich.com subscription ($ 19.99 value): Allows you to access all video courses and screencasts mentioned above, as well as full access to our complete library of other development video courses and screencasts, including new courses and screenshots we release in the future!
The bundle price of $ 99.99 includes the first month of your subscription, which will continue at $ 19.99 / month thereafter. You can cancel your subscription at any time and keep the books. This package gives you over 25% off all known products in our Server-Side Swift Celebration!
Server Side Swift Super Bundle is only available for the next two weeks so be sure to take full advantage of it before it's over.
Are you already a subscriber? Existing subscribers will receive a $ 20 discount on the bundle that will give you both books to your collection. It is our way of thanking subscribers for supporting what we do here at raywenderlich.com.
Have you already purchased one of these books? If you've purchased the pre-sale Kitura book or the first edition of Steam Side Steam Side in the last 30 days and would really benefit from the bundle of subscription, contact our support team at support @ razeware.com and they will take care of you.
Server-Side Swift Celebration Giveaway
As a final celebration, we'll give away three free Server Side Swift Super Bundles to some lucky readers!
To enter the giveaway, simply comment on this post and answer the following questions:
Why are you interested in our new Swift books, courses and screencasts on the server?
We will accidentally choose three winners who answer this Question before next Friday 8th. March. Good luck!
Where to go from here?
Swift has become a powerful language for server-side development on macOS, Linux and even Windows! Now it's time to join the exciting server-side Swift Revolution and learn how to master frames like Vapor and Kitura to build ready-to-use websites and web APIs and distribute them to cloud-based platforms with ease.
To mention, here's the plan for our two-week server-side-swift celebration:
- 25. February: Server-Side Swift site launch; Steam and Kitura book start; Get started with Damp, Kitura: Get started with ServerSide Swift and Vapor vs. Kitura: Choose a guide for the server-side Swift Framework.
- 26. February: Server Side Swift with Vapor updated video course; Steam: Continuous Models with Liquid and Kitura and BFF Pattern Training.
- 27. February: Steam: Templating with Leaf, Steam: Beautifying Pages, and Kitura Stencil: How to build websites with swift tutorials.
- February 28: A simple (!) Guide to Async on the server, Testing a steam app, testing in Linux and the OpenAPI specification guides.
- 1. March: Implement a Kitura app, distribute to Vapor Cloud 2 tutorials, and Deploying to Vapor Cloud 2 screen!
And once you've had an extra week to consume all the good stuff, announcing the Server Side Swift Celebration Giveaway winners on Friday 8th. March which is also the last day of the discount on this package!
Question about Server-Side Swift Celebration, or Server Side Swift Super Bundle? We have a handy FAQ here to help you:
If you've liked to learn more about using Swift on the server – or leveling up your existing skills – there's no better way to learn than these new books, tutorials, courses and screencasts.
And this is just the beginning! We are committed to creating additional new training programs, courses and screencasts on server-side Swift Development, with the goal of becoming the "go-to" community for everything related to server-side Swift.
And – don't forget to grab the Server Side Swift Super Bundle today before the deal is over!