Upload
santex-group
View
206
Download
1
Embed Size (px)
Citation preview
HISTORY
Swift 2.2 was made Open Source Software on Dec 3 2015
“One of the most exciting aspects of developing Swift in the open is knowing that it is now free to be ported across a wide range of platforms, devices, and use cases”
https://swift.org
BENCHMARK
https://medium.com/@qutheory/server-side-swift-vs-the-other-guys-2-speed-ca65b2f79505#.vh4uy8mqh
BENCHMARK
https://medium.com/@qutheory/server-side-swift-vs-the-other-guys-2-speed-ca65b2f79505#.vh4uy8mqh
BENCHMARK
https://medium.com/@qutheory/server-side-swift-vs-the-other-guys-2-speed-ca65b2f79505#.vh4uy8mqh
ENGINE
MODULES
https://github.com/vapor/engine
STRUCTURE
PROJECT
. ├── Sources │ └── App │ └── Controllers │ └── Middleware │ └── Models │ └── main.swift ├── Public ├── Resources │ └── Views └── Package.swift
Requirements : Xcode 8+ with Swift 3+
Vapor toolbox :Install
curl -sL toolbox.vapor.sh | bash
ENVIRONMENT SETUP
vapor xcode
ENVIRONMENT SETUP
Create a base template project
From the project folder
vapor new Hello
DEMO
Pugmanityhttp://shrouded-forest-39648.herokuapp.com/
https://github.com/CoderPug/pugmanity
main.swiftFMhttp://www.cocoalima.com/mainswift
https://github.com/CoderPug/main.swiftFM