Vapor

from Wikipedia, the free encyclopedia
Vapor

Vapor Framework Logo Horizontal.png
Basic data

developer Tanner Nelson et al. a.
Publishing year 2016
Current  version 3.3.0
( February 28, 2019 )
operating system macOS , Ubuntu
programming language Swift
License MIT license
http://vapor.codes/

Vapor is an open-source - web framework , which in Swift was written. It can be used to build RESTful APIs, web applications, and real-time applications with WebSockets . In addition to the core framework, Vapor provides an object relational mapping (ORM), template language, and packages to simplify user authentication and authorization.

The source of Vapor is on GitHub hosted and under the MIT license licensed. Vapor has been part of the Swift Server APIs Working Group since 2016.

history

Vapor 0.1.0 was released one month after the start of Apple's open source Swift project as a proof of concept for server applications for Swift and began supporting the Linux platform on December 3, 2015 . Vapor 1.0 was released in September 2016, followed by the release of Vapor 2.0 in May 2017.

The framework was rewritten for version 3.0 and was built on Apple's network framework SwiftNIO .

Releases

version Publication date Swift version
1.0 15th September 2016 3.0
2.0 17th May 2017 3.1
3.0 4th May 2018 4.1

Features

Vapor supports the following functions:

  • Asynchronous IO system
  • Authentication: basic, JWT , and password
  • Cache: Redis and in-memory
  • Console formatting
  • Content representation: JSON , multipart, and URL-encoded
  • Crypto: RNG, ciphers, digests, RSA
  • Fluent ORM : MySQL , PostgreSQL , and SQLite
  • HTTP client and server
  • Log
  • URL routing
  • WebSocket client and server

Individual evidence

  1. ^ Vapor GitHub Organization . Retrieved April 3, 2018.
  2. ^ Vapor / vapor LICENSE at master . February 23, 2018. Retrieved April 3, 2018.
  3. Swift Server APIs . October 25, 2016. Retrieved May 22, 2018.
  4. Swift Blog: Server APIs Work Group . October 25, 2016. Retrieved May 22, 2018.
  5. Swift is open source . December 3, 2015. Accessed April 3, 2018.
  6. Vapor 1.0.0 release . September 15, 2016. Retrieved April 3, 2018.
  7. Vapor 2.0.0 release . May 17, 2018. Retrieved April 3, 2018.
  8. Vapor 3.0.0 released . May 4, 2018. Retrieved May 23, 2018.
  9. Apple Inc .: Swift.org ( en ) In: Swift.org . Retrieved October 4, 2018.
  10. Vapor Docs ( en ) In: docs.vapor.codes . Retrieved May 22, 2018.