Swift in the Cloud
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer networking and communications > Cloud computing > Swift in the Cloud
Swift in the Cloud

Swift in the Cloud


     0     
5
4
3
2
1



International Edition


X
About the Book

Write and run Swift language programs in the Cloud Written 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.

Table of Contents:
Introduction xxiii 1 Swift.org, the Open Source Project 1 What’s Included 1 Source Code Repositories 2 How to Get Involved  5 Mailing Lists 7 Bug Tracking 8 Swift Evolution and Roadmap 12 Priorities for the Swift 4.0 Major Release 14 Binary Downloads  14 MacOS Binaries  15 Linux Binaries  16 Swiftenv, Swift Version Manager  17 Summary 17 2 A Swift Sandbox in the Cloud 19 The IBM Cloud Platform 19 Getting Started 26 Sign Me Up!.  26 Saving and Sharing Code Samples  28 Selecting Swift Versions and More  30 Have You Run on a Mainframe Lately? 30 IBM Swift Package Catalog and Sandbox 32 Summary 33 3 A Basic Introduction to Swift 35 Background 35 Let’s Get Coding!  35 Swift Standard Library 35 Swift Foundation Library 37 C Library Interoperability 39 Concurrency Library 41 Memory Management 43 The Language Landscape 48 Language Groupings 48 Language Timeline  50 Summary 51 4 The IBM Bluemix Buildpack for Swift 53 Cloud Foundry Buildpacks 53 Buildpack Phases  54 Working with the IBM Bluemix Buildpack for Swift 55 Where Is the Source Code Hosted?  55 What Version of the Buildpack Is Currently Installed?  56 File Artifacts Required for Provisioning Your Application on Bluemix 58 Installing Additional System-Level Dependencies 61 Downloading Closed Source Dependencies 68 Examples of Using the IBM Bluemix Buildpack for Swift  69 Swift HelloWorld  69 Kitura Starter  74 BluePic 77 Using the Latest Code of the IBM Bluemix Buildpack for Swift 87 Summary 88 5 Using Containers on Bluemix to Run Swift Code 91 What Are Docker Containers? 91 Docker Images for Swift 92 Installing Docker.  93 Using Docker as a Development Tool  94 Exposing Your Swift Application’s Port to the Host System 96 Using docker-compose 96 Why Use Containers on Bluemix? 98 Containers for Packaging and Deployment of Swift Applications  99 The Kubernetes Platform 99 Running Your Docker Image in the Bluemix Cloud 100 Install the Kubernetes Command Line 100 Install the Bluemix Command Line. 100 Install the IBM Container Registry Plug-In 102 Install the IBM Container Service Plug-In 102 Create a Runtime Image for Swift Applications 103 Tag a Docker Image 106 Push a Docker Image to Bluemix  107 Create a Kubernetes Cluster on Bluemix 108 High Availability in Kubernetes Clusters 112 Binding Bluemix Services to IBM Containers. 113 Summary 116 6 Swift Package Management 119 Swift Package Manager 119 Using Swift Package Manager  120 Commands  121 Package.Swift Details 123 Swift Package Catalog 123 Browsing 123 Searching 124 Package Details  126 Dependency Visualization 127 Trying Out a Package in the Sandbox 128 Summary 130 7 Swift and Kitura for Web Applications 131 Kitura 133 Sending Simple Responses to Requests 136 A Real-World Library Example  137 Accessing Information Sent in Requests 138 Starting the Library Application  140 Working with Various HTTP Features Using Kitura  149 Other Ways of Serving Content Using Kitura 155 Other Useful Kitura Middleware  157 Authentication Using the Kitura-Credentials Framework 159 The Library Sample with Authentication 160 Kitura and Data Access 163 Swift-Kuery  163 Kitura-redis  170 Summary 173 8 Serverless Programming with Swift 175 Microservices and Serverless Computing 175 Serverless Computing Concepts  177 OpenWhisk  179 Swift and OpenWhisk 182 Using the Web-Based OpenWhisk Tools 183 Command Line OpenWhisk 189 A More Involved Example 195 Summary 201 9 Over the Horizon: Where Do We Go from Here? 203 Bringing Swift to the Server 203 IBM Cloud Tools for Swift 204 Server-Side Frameworks 210 Expanding the Range of Swift 215 Swift Support for Linux 215 The Internet of Swift Things 215 Big Iron Swift  216 Swift DevOps 218 Summary 219 Index  221

About the Author :
LEIGH WILLIAMSON is a technical leader in the IBM Cloud team who aids clients with cloud computing strategy and execution. JOHN PONZO is an IBM Fellow and the primary technical collaborator between Apple and IBM in refining Swift for both mobile client and cloud services development. PATRICK BOHRER is technical lead for IBM's global efforts around Swift@IBM Engineering. RICARDO OLIVIERI is an expert in the adoption of the Swift language on the server and the IBM cloud. KARL WEINMEISTER helped extend Swift from its mobile roots to become a full-stack language ecosystem. SAMUEL KALLNER is technical lead of the Kitura project at the IBM Research Lab in Haifa, Israel.


Best Sellers


Product Details
  • ISBN-13: 9781119319375
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: John Wiley & Sons Inc
  • Height: 232 mm
  • No of Pages: 264
  • Returnable: N
  • Weight: 508 gr
  • ISBN-10: 1119319374
  • Publisher Date: 03 Oct 2017
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Spine Width: 14 mm
  • Width: 186 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Swift in the Cloud
John Wiley & Sons Inc -
Swift in the Cloud
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Swift in the Cloud

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!