UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Vapor: Where are the source code downloads?

Forums > Server-side Swift

Hey,

Just bought the VAPOR EDITION of Server Side Swift and there are no source code files accompanying it.

I checked GitHub TwoStraws to no avail.

Cheers, SDB

6      

I have been going through this book; let me offer a couple of insights.

  1. The current Vapor/Leaf has enough breaking API changes that you should not copy/paste the source code and you should absolutely not use the template Paul provides, as it will not compile.
  2. The book is still useful, but you should, instead, work through the examples by using the existing template. Just delete the stuff you don't need.
  3. You'll definitely want to have the Leaf documentation up in a browser as you're working through, since there are significant changes to what commands are called and how they're denoted (colons instead of braces, etc.).

7      

The book is for Vapor 3, so it is pretty far out of date. While there have not been many changes to Leaf, Vapor 4 is substantially different. It is disappointing that the book is still for sale without having a disclaimer that it is not currentl.

6      

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.