Swift in the Cloud
-1 %

Swift in the Cloud

Sofort lieferbar | Lieferzeit:3-5 Tage I

Unser bisheriger Preis:ORGPRICE: 41,00 €

Jetzt 40,72 €*

Alle Preise inkl. MwSt. | zzgl. Versand
Leigh Williamson
461 g
233x190x20 mm

Introduction xxiii1 Swift.org, the Open Source Project 1What's Included 1Source Code Repositories 2How to Get Involved 5Mailing Lists 7Bug Tracking 8Swift Evolution and Roadmap 12Priorities for the Swift 4.0 Major Release 14Binary Downloads 14MacOS Binaries 15Linux Binaries 16Swiftenv, Swift Version Manager 17Summary 172 A Swift Sandbox in the Cloud 19The IBM Cloud Platform 19Getting Started 26Sign Me Up!. 26Saving and Sharing Code Samples 28Selecting Swift Versions and More 30Have You Run on a Mainframe Lately? 30IBM Swift Package Catalog and Sandbox 32Summary 333 A Basic Introduction to Swift 35Background 35Let's Get Coding! 35Swift Standard Library 35Swift Foundation Library 37C Library Interoperability 39Concurrency Library 41Memory Management 43The Language Landscape 48Language Groupings 48Language Timeline 50Summary 514 The IBM Bluemix Buildpack for Swift 53Cloud Foundry Buildpacks 53Buildpack Phases 54Working with the IBM Bluemix Buildpack for Swift 55Where Is the Source Code Hosted? 55What Version of the Buildpack Is Currently Installed? 56File Artifacts Required for Provisioning Your Application on Bluemix 58Installing Additional System-Level Dependencies 61Downloading Closed Source Dependencies 68Examples of Using the IBM Bluemix Buildpack for Swift 69Swift HelloWorld 69Kitura Starter 74BluePic 77Using the Latest Code of the IBM Bluemix Buildpack for Swift 87Summary 885 Using Containers on Bluemix to Run Swift Code 91What Are Docker Containers? 91Docker Images for Swift 92Installing Docker. 93Using Docker as a Development Tool 94Exposing Your Swift Application's Port to the Host System 96Using docker-compose 96Why Use Containers on Bluemix? 98Containers for Packaging and Deployment of Swift Applications 99The Kubernetes Platform 99Running Your Docker Image in the Bluemix Cloud 100Install the Kubernetes Command Line 100Install the Bluemix Command Line. 100Install the IBM Container Registry Plug-In 102Install the IBM Container Service Plug-In 102Create a Runtime Image for Swift Applications 103Tag a Docker Image 106Push a Docker Image to Bluemix 107Create a Kubernetes Cluster on Bluemix 108High Availability in Kubernetes Clusters 112Binding Bluemix Services to IBM Containers. 113Summary 1166 Swift Package Management 119Swift Package Manager 119Using Swift Package Manager 120Commands 121Package.Swift Details 123Swift Package Catalog 123Browsing 123Searching 124Package Details 126Dependency Visualization 127Trying Out a Package in the Sandbox 128Summary 1307 Swift and Kitura for Web Applications 131Kitura 133Sending Simple Responses to Requests 136A Real-World Library Example 137Accessing Information Sent in Requests 138Starting the Library Application 140Working with Various HTTP Features Using Kitura 149Other Ways of Serving Content Using Kitura 155Other Useful Kitura Middleware 157Authentication Using the Kitura-Credentials Framework 159The Library Sample with Authentication 160Kitura and Data Access 163Swift-Kuery 163Kitura-redis 170Summary 1738 Serverless Programming with Swift 175Microservices and Serverless Computing 175Serverless Computing Concepts 177OpenWhisk 179Swift and OpenWhisk 182Using the Web-Based OpenWhisk Tools 183Command Line OpenWhisk 189A More Involved Example 195Summary 2019 Over the Horizon: Where Do We Go from Here? 203Bringing Swift to the Server 203IBM Cloud Tools for Swift 204Server-Side Frameworks 210Expanding the Range of Swift 215Swift Support for Linux 215The Internet of Swift Things 215Big Iron Swift 216Swift DevOps 218Summary 219Index 221
Write and run Swift language programs in the CloudWritten by the team of developers that has helped bring the Swift language to Cloud computing, this is the definitive guide to writing and running Swift language programs for cloud environment. In Swift in the Cloud, you'll find full coverage of all aspects of creating and running Swift language applications in Cloud computing environments, complete with examples of real code that you can start running and experimenting with today.
Since Apple introduced the Swift language in 2014, it has become one of the most rapidly adopted computer programming languages in history--and now you too can start benefitting from using the same programming language for all components of a scalable, robust business software solution.
* Create server applications using Swift and run them on pay-as-you-go cloud infrastructure
* Quickly write and test Swift code snippets in your own cloud sandbox
* Use Docker containers to deploy Swift applications into multiple cloud environments without having to change code
* Grasp the elements and structure of the Swift.org open technology project
* Find out how to avoid the complexities of runtime configuration by using Cloud Foundry buildpacks for Swift
* Build high performing web applications and REST APIs with an open source Swift based web server framework
* Scale up your cloud services by running Swift modules in an asynchronous, open source, 'serverless' cloud environment
Whether you are already using Swift to build mobile applications or a seasoned web developer, Swift in the Cloud will help you leverage server-side Swift to power your next generation of applications.