TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

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 Superwall.

SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.

Learn More

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.