Book description
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.
Authors David Ungar and Robert Dickerson take you through Swift’s support for object-oriented, functional, and imperative programming, and then show you how to build a Swifty web service that interfaces with other services and databases. By demonstrating how Swift is related to Java and Javascript, two leading technologies currently used on clients and servers today, this ebook extends your repertoire of skills with one of today's most in-demand languages.
- 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
- 3. Swift Promises to Tame Asynchrony
- 4. Swift Package Manager
- 5. Writing a To-Do List with Kitura
- Conclusions
Product information
- Title: Extending Swift Value(s) to the Server
- Author(s):
- Release date: February 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491972137
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
The Staff Engineer's Path
For years, companies have rewarded their most effective engineers with management positions. But treating management as …
video
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. …
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …