Skip to content

Hands-On Server-Side Web Development with Swift, published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Hands-On-Server-Side-Web-Development-with-Swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hands-On-Server-Side-Web-Development-with-Swift

Hands-On Server-Side Web Development with Swift, published by Packt

Hands-On Server-Side Web Development with Swift

This is the code repository for Hands-On Server-Side Web Development with Swift, published by Packt.

Build dynamic web apps by leveraging two popular Swift web frameworks

What is this book about?

This book is about building professional web applications and web services using Swift 4.0 and leveraging two popular Swift web frameworks: Vapor 3.0 and Kitura 2.5. In the first part of this book, we’ll focus on the creation of basic web applications from Vapor and Kitura boilerplate projects. As the web apps start out simple, more useful techniques, such as unit test development, debugging, logging, and the build and release process, will be introduced to readers.

This book covers the following exciting features:

  • Build simple web apps using Vapor 3.0 and Kitura 2.5
  • Test, debug, build, and release server-side Swift applications
  • Design routes and controllers for custom client requests
  • Work with server-side template engines
  • Deploy web apps to a host in the cloud

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

router.post("new") { req -> Future<HTTPStatus> in
    return req.content.decode(Entry.self).map { entry in
        print("Appended a new entry: \(entry)")
        return HTTPStatus.ok
    }
}

Following is what you need for this book: Copy and paste the Audience section from the EPIC.

With the following software and hardware list you can run all code files present in the book (Chapter 1-16).

Software and Hardware List

Chapter Software required OS required
2-9,11-13 Swift 4.2.1 Vapor 3.0 Kitura 2.5 Mac OS
2-9,11,12 Xcode 10.1 (Optional) Mac OS
13 Xcode 10.1 (Optional) Mac OS

Related products

Get to Know the Author

Angus Yeung works for Intel Corp., responsible for the architectural design of back-end cloud services for virtual reality sports broadcasting. He is also a computer science lecturer at San Jose State University. Prior to Intel, he held CTO and engineering director positions in several companies including a start-up he founded in 2002. Angus' technical interests include mobile computing, distributed computing, computer vision and artificial intelligence. He holds BS, MS and PHD in Electrical Engineering from Univ. of Rochester, and MBA from UC Berkeley. Angus owns 18 pending and granted patents. Angus lives with his lovely wife and three handsome boys in Palo Alto, California.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781789341171

About

Hands-On Server-Side Web Development with Swift, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published