Swift Server-Side
At WWDC on June 9, 2015, Swift 2.0 was announced and Swift will open source, including compiler and standard library, and Linux support. Open source and cross-platform have given languages a wider range of possibilities.
In 2016, Swift officially established a Server APIs Work Group. The Group’s goal is to build a Swift pure, cross-platform, server-oriented underlying library based on the current Swift. It is used by Web Framework/Backend developers. Swift has joined hands with the community to launch Sever Side development. There are many Swift backend frameworks like Vapor, Kitura, Perfect, and Zewo.
In 2018, Apple opened source SwiftNIO (Netty for Swift). SwiftNIO is an event-driven asynchronous networking framework designed for the development of high-performance servers and clients. SwiftNIO is intended to be an underlying tool for building web applications and frameworks, dedicated to providing low-cost I/O primitives and protocol implementations. Therefore, SwiftNIO can generally be thought of as a building block for building a high-level network communication framework for provisioning applications, or a high-performance framework for direct use by demanding applications.
Swift is booming on the Server Side, which is a good thing for iOS developers to get to know the back end more easily because you know Swift.
Reading this, you must have a lot of questions:
- What is SwiftNIO?
- What is Netty?
- How to develop the server?
- How to select frames?
- How do you get people to access your Web server?
- .
All of a sudden, curiosity comes up, right? Based on this, xiaobian also can not put all knowledge clearly, in order to let you have a relatively quick understanding, for you to collect the following articles:
- SwiftNIO
- Netty principle architecture analysis
- SwiftNIO is used to achieve a Web framework similar to Express
- Hello small project of Vapor3 series goes from zero to deployment
- Vapor vs. Kitura: Choosing a Server-Side Swift Framework
- Swift + Docker + Kubernetes = Awesome Deployments from macOS
Again: It’s not time to circle yourself, or you can open up?
Share special quality articles, updated daily, welcome to subscribe to the public account