O'Reilly logo

Swift Functional Programming - Second Edition by Dr. Fatih Nayebi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Vapor

Vapor (https://github.com/qutheory/vapor) is a popular Laravel/Lumen-inspired web framework that is MIT-licensed. It is purely written in Swift and is modular.

Vapor provides CLI tools to simplify building and running Vapor applications.

vapor new <project-name> can be used to create a new project, vapor build can be used to build the project and download dependencies, vapor xcode can be used to create the Xcode project, and vapor run can be used to run the project.

Vapor uses Swift Package Manager (SPM) as the dependency manager: starting an application with Vapor is as easy as importing Vapor and adding the following lines to the main file:

let drop = Droplet() drop.run() 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required