Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Hands-On Swift 5 Microservices Development
Hands-On Swift 5 Microservices Development

Hands-On Swift 5 Microservices Development: Build microservices for mobile and web applications using Swift 5 and Vapor 4

eBook
₹1965.99
Paperback
₹2457.99
Subscription
Free Trial
Renews at ₹400p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • Understand server-side Swift development concepts for building your first microservice
  • Build microservices using Vapor 4 and deploy them to the cloud using Docker
  • Learn effective techniques for enhancing maintainability and stability of your Swift applications

Description

The capabilities of the Swift programming language are extended to server-side development using popular frameworks such as Vapor. This enables Swift programmers to implement the microservices approach to design scalable and easy-to-maintain architecture for iOS, macOS, iPadOS, and watchOS applications. This book is a complete guide to building microservices for iOS applications. You’ll start by examining Swift and Vapor as backend technologies and compare them to their alternatives. The book then covers the concept of microservices to help you get started with developing your first microservice. Throughout this book, you’ll work on a case study of writing an e-commerce backend as a microservice application. You’ll understand each microservice as it is broken down into details and written out as code throughout the book. You’ll also become familiar with various aspects of server-side development such as scalability, database options, and information flow for microservices that are unwrapped in the process. As you advance, you’ll get to grips with microservices testing and see how it is different from testing a monolith application. Along the way, you’ll explore tools such as Docker, Postman, and Amazon Web Services. By the end of the book, you’ll be able to build a ready-to-deploy application that can be used as a base for future applications.

Who is this book for?

The book is for iOS, iPadOS, and macOS developers and Swift programmers who want to understand how Swift can be used for building microservices. The book assumes familiarity with Swift programming and the fundamentals of the web, including how APIs work.

What you will learn

  • Grasp server-side Swift development concepts using practical examples
  • Understand the microservices approach and why Swift is a great choice for building microservices
  • Design and structure mobile and web applications using microservices architecture
  • Discover the available database options and understand which one to choose
  • Scale and monitor your microservices
  • Use Postman to automate testing for your microservices API

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 02, 2020
Length: 392 pages
Edition : 1st
Language : English
ISBN-13 : 9781789534832
Vendor :
Apple
Languages :
Concepts :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 02, 2020
Length: 392 pages
Edition : 1st
Language : English
ISBN-13 : 9781789534832
Vendor :
Apple
Languages :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
₹400 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
₹4000 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts
₹5000 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 7,820.97
Hands-On Swift 5 Microservices Development
₹2457.99
Learn SwiftUI
₹2457.99
Mastering Swift 5.3
₹2904.99
Total 7,820.97 Stars icon
Visually different images

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
(6 Ratings)
5 star 33.3%
4 star 0%
3 star 16.7%
2 star 33.3%
1 star 16.7%
Filter icon Filter
Top Reviews

Filter reviews by




Pete D Jun 15, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Being a novice at writing swift Vapor backends, I have a bit of familiarity with how they work. In addition, I’ve been exposed to microservices quite a bit but have never written them myself. Given my knowledge, I found this book to be the perfect intersection of the two. The author does an impeccable job teaching users the concepts of microservices via a swift vapor implementation. In addition, the author does well to describe asynchronous concepts, jobs processing, and other backend type work that goes beyond your typical REST API framework. You’d be hard pressed to find a better swift / vapor microservices backend book.Granted, there are some minor mistakes in this book, however they are simple and reading over it it’s easy to fix when you follow along with the code. In addition, the content is subject to change as it was written while Vapor 4 is in beta. The author says he will update this book when Vapor 4 makes a full public release.How do I know this? Well the author is very involved in the Vapor community, and actively contributes to the chat, and answers anyone’s questions that they have on the book. I personally had some issues when implementing some code, and while it was not due to his fault, but rather a beta issue with Vapor 4, he promptly assisted me in resolving the issue.I’d not like to emphasis small mishaps with this book, because they don’t have much relevance in my opinion. When you purchase this book, you’re not only getting quality content, but you’re getting personal help from the author, and future updates. Now for the price of this book, it’s well worth more than the cost. Along with being in the community, you’ll feel right at home, and the author is sure to make you feel that way too.I’d highly recommend this book, not just for the Vapor 4 side of things, but showing you how to create microservices that are interactive. That in itself is timeless information that will be useful for plenty of years to come.
Amazon Verified review Amazon
Carmi Weinzweig May 25, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Starting with a user service (including sending mail confirmations), the author develops a full micro services architecture built with the latest version of Vapor (Vapor 4). I started with only a little Swift experience and as I have progressed through the book, I have developed a good understanding of both Vapor 4 and why/how to use a microservice architecture. The author has been great about updating the code as Vapor 4 moved from Beta to release.The book develops the back end for an online store and covers everything from handing multi-service user authentication to deploying with Docker/Kubernetes on AWS, Google Cloud Platform (GCP) (although I have not really looked at that section), and Digital Ocean (a great less expensive option for certain kinds of deployments).I saw another review (part of what got me to write this one) and I am not sure what problems he had. It might be he was not working with the right version of Vapor (it was in its final release cycle and updating frequently). I purchased the book on the Apple Book Store (I had an iTunes gift card I wanted to use), and one of the great features of the digital versions is that they get updated as things change (very valuable for technical books).Finally, I recommend that anyone reading this book, join the Vapor community on Discord. The authors of most of the Vapor/Server-Side Swift books are there, and have happily helped as I have been developing my personal project (a web comic and media site), even with other authors’ books.The book starts with great explanation of why one would want to use microservices and what the downsides are as well. The author then explains how one can move from a monolithic app to a microservices architecture, by moving components one at a time, and even using it for add new functionality.Next the author discusses server-side Swift explaining some of its benefits and why Vapor was used as the book’s platform.The book then gives an introduction to Vapor covering its architecture and ORM (Fluent). While it is not a full Vapor 4 tutorial, it is more than enough to get started.With that background, the author begins to layout the architecture of the application being built. Starting with a user service that includes basic address management, the author explains how to test and debug microservices.The product management service is next, and now with two services, the book details how to communicate among one’s microservices. It talks about best practices and pitfalls to avoid. After adding the order service, it is time to cover deployment.Starting with options for hosting and a discussion of the current state of Swift on Linux, the book works its way through what is needed to deploy and scale a Swift-based server-side application. Again, as with its material on Vapor, this is not a complete Docker, Kubernetes, AWS, GCP or Digital Ocean tutorial, but more than enough to get started and understand what else one needs to learn.In addition to the book itself, the author has made available all the source code for the projects being built making it a great starting point for someone working on a real system. Overall, I think it is a great starting point for someone interested in exploring both server-side Swift and microservices.
Amazon Verified review Amazon
Vital Zanko Dec 26, 2023
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
This is a quite good book uncovering Vapor subject especially to someones who are unfamiliar with Swift back end frameworks. Yet that only means its text is mostly useful to get in.But code examples are not well-organized: the author asks to "copy-paste" code from repos of previous chapters when a happy reader is interested in out-of-box repository for the chapter (a reader can be not interested much in the previous chapters and either he should not find out proper steps in them; it makes more sense to provide out-of-box repository that a reader can start easily and may alter working code on his own whether he wishes).
Amazon Verified review Amazon
Wunschzettel Kinder Oct 29, 2022
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
This book would need quite a bit of editing in many directions, some examples:- Explanations/didactics often could be better "The difference to EventLoopFuture is that a Future is what is the result of a Promise" (Page 60)- Missing checks on examples, Chapter 2 compares source for Swift 4.2 and Swift 5 and points out the difference. There is no difference in the book, the lines are identical. (Page 49)- Dependencies between chapters "The following components need to be installed: [...] Docker [...]" (Chapter 5), "Installing Git and Docker" (Chapter 6)- Teaches bad behavior: creating Public / Private Keys via web service - it does mention you should create public/private keys using command line tools, but neither why not how to (book refers to the website) (Page 125/126)In my opinion the book gets a bit better at around chapter 6 / 7, but still could be vastly improved.As of today, I would suggest to buy "Server-Side Swift with Vapor" instead.
Amazon Verified review Amazon
E. Leonard Jun 19, 2021
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
I returned the book for the following reasons:The source code in the book bears little resemblance to the related Git repository.Even the supplied source code could not be run despite the .env environment being set as required. I could have muddled through and patched it together with a lot of research and trial and error but that defeats the point of a 'how to' book and means you're flying solo, in which case you might not have bothered with the book. I would like o see the book brought up to date and better (no assumptions made) directions in the text. The step1, step 2, step 3 type instructions in the book make a lot of assumed knowledge leaps early on and it requires reading a few times to clear the mist.I so wanted it to be great and give it a 5-stars as there's not enough server-side Swift in the world, unfortunately, this needs a bit of work to get it to a higher rating.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.