Server Side Swift with Vapor: Building Web APIs and Web Apps in Swift
Authors: raywenderlich.com Tutorial Team – Tim Condon – Tanner Nelson – Jonas Schwartz – Logan Wright
ISBN-10: 1942878532
ISBN-13: 9781942878537
Edition 版次: First
Publication Date 出版日期: 2018-08-20
Print Length 页数: 462 pages
Book Description
By finelybook
Learn how to use Swift on the server!
Server Side Swift with Vapor introduces you to the world of server development with the added bonus of using Swift. You’ll learn how to build APIs,web sites,databases,application servers and use Vapor’s very own Vapor Cloud to host your solutions off-site. You’ll use many of Vapor’s modules such as Fluent,Vapor’s ORM,and Leaf,the templating engine for building web pages.
This book is for iOS developers who already know the basics of iOS and Swift development and want to transfer that knowledge to writing server based applications.
Topics Covered in Server Side Swift with Vapor:
HTTP Learn the basics of how to make requests to and from servers.
Fluent: Learn how to use Fluent to save and manage your models in databases.
Controllers: Learn how to use controllers to route your requests and responses.
Leaf: Learn how Vapor’s Leaf module and its templating language allow you to build dynamic web sites directly.
Middleware: Learn how built-in Vapor modules can assist with common tasks such as validating users,settings required response headers,serving static files and more.
Section l: Creating a Simple Web APl
Chapter 1: Introduction
Chapter 2: Hello Vapor
Chapter 3: HTTP Basics
Chapter 4: Async
Chapter 5: Fluent & Persisting Models
Chapter 6: Configuring a Database
Chapter 7: CRUD Database Operations
Chapter 8: Controllers
Chapter 9: Parent Child Relationships
Chapter 10: Sibling Relationships
Chapter 11: Testing
Chapter 12: Creating a Simple iPhone App,Part 1
Chapter 13: Creating a Simple iPhone App,Part 2
Section lI: Making a Simple Web App
Chapter 14: Templating with Leaf
Chapter 15: Beautifying Pages
Chapter 16: Making a Simple Web App,Part 1
Chapter 17: Making a Simple Web App,Part 2
Section ll: Validation,Users & Authentication
Chapter 18: API Authentication,Part1
Chapter 19: API Authentication,Part2
Chapter 20: Web Authentication,Cookies & Sessions
Chapter 21: Validation
Section IV: Advanced Server Side Swift
Chapter 22: Google Authentication
Chapter 23: Database/API Versioning & Migration
Chapter 24: Caching
Chapter 25: Middleware
Chapter 26: Deploying with Heroku
Chapter 27: WebSockets
Conclusion
More Books You Might Enjoy
Server Side Swift with Vapor 9781942878537. zip[/erphpdown]