Swift quickly became the dominant language for iOS app development not long after Apple introduced the language in 2014. When Swift moved to open source, extending this modern language from client to server side became an option, and today, with Swift 3.0, companies can extend the value of Swift end-to-end. With this ebook, you’ll learn how to write your entire application in Swift—from mobile client to the middle tier to server-side database access.
- Learn how Swift produces clear and concise code, and prevents and detects bugs
- Produce code for the client and server with a single uniform IDE
- Reuse Swift abstractions and code on the client, server, and middle tier
- Dive into asynchronous programming with Swift’s support for monads and futures
- Use Swift’s optional types and structures to tell the compiler more about your program
Dr. David Ungar holds a research position at IBM in the Ubiquitous Platforms group within Cloud and Mobile Enterprise Research.
Robert F. Dickerson is a software engineer in the Swift@IBM Engineering group.
Table of contents
- Preface: Swift for the Rest of Your Application
- 1. A Swift Introduction
2. Optional Types, Structures, & Enumerations
- Optional Types Exterminate Nil-Value Bugs
- Structures Isolate Mutation
- Enumerations with Associated Values
- Choosing an Aggregate
- 3. Swift Promises to Tame Asynchrony
- 4. Swift Package Manager
- 5. Writing a To-Do List with Kitura
- Title: Extending Swift Value(s) to the Server
- Release date: February 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491972137
You might also like
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
The Staff Engineer's Path
For years, companies have rewarded their most effective engineers with management positions. But treating management as …
How Slack rearchitected its system to achieve zero downtime and improve latency, reliability and availability
In 2016, Slack faced a problem: the load on its backend servers had increased by 1,000x. …
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …