5.6 KiB
Documentación de Vapor
Esta es la documentación de Vapor, el framework web para Swift que funciona sobre iOS, macOS y ubuntu; y sobre todos los paquetes que Vapor ofrece.
Vapor es el framework web más utilizado para Swift.
Vapor is the most used web framework for Swift. Proporciona una base maravillosamente expresiva y fácil de usar para tu próximo sitio web o API.
Para ver el código fuente y la documentación del código visita Vapor's GitHub.
Para leer esto en chino 正體中文
Para leer esto en inglés
Cómo leer esta documentación.
Puede leer esta guía haciendo clic en las carpetas y los archivos de GitHub o a través de las páginas generadas GitHub Pages.
API
La documentación de la API generada automáticamente se encuentra en api.vapor.codes.
Paquetes
Aquí hay una lista de todos los paquetes y módulos incluidos con Vapor (también utilizables individualmente).
- Vapor: Swift's most used web framework.
- Auth: User authentication and persistance.
- Sessions: Secure, ephemeral cookie based data storage.
- Cookies: HTTP cookies.
- Routing: Advanced router with type-safe parameterization.
- Fluent: Models, relationships, and querying for NoSQL and SQL databases.
- Engine: Core transport layers.
- HTTP: Pure Swift HTTP client and server.
- URI: Pure Swift URI parsing and serializing.
- WebSockets: Full-duplex communication channels over a single TCP connection.
- SMTP: Send email using Sendgrid and Gmail.
- Leaf: An extensible templating language.
- JSON: Maps Jay JSON to Vapor types.
- Console: Swift wrapper for console IO and commands.
- TLS: Swift wrapper for CLibreSSL's new TLS.
- Crypto: Cryptography from LibreSSL and Swift.
- Digests: Hashing with and without authentication.
- Ciphers: Encryption and decryption
- Random: Pseudo and cryptographically secure randomness.
- BCrypt: Pure Swift implementation.
- Node: Data structure for easy type conversions.
- Polymorphic: Syntax for easily accessing values from common types like JSON.
- Path Indexable: A protocol for powerful subscript access of common types like JSON.
- Core: Core extensions, type-aliases, and functions that facilitate common tasks.
- Socks: Swift C Socket API wrapper.
Proveedores y otros.
Aquí hay una lista de proveedores y paquetes de terceros que funcionan muy bien con Vapor.
- MySQL: Robust MySQL interface for Swift.
- MySQL Driver: MySQL driver for Fluent.
- MySQL Provider: MySQL provider for Vapor.
- SQLite: SQLite 3 wrapper for Swift
- SQLite Driver: SQLite driver for Fluent.
- SQLite Provider: SQLite provider for Vapor.
- PostgreSQL: Robust PostgreSQL interface for Swift.
- PostgreSQL Driver: PostgreSQL driver for Fluent.
- PostgreSQL Provider: PostgreSQL provider for Vapor.
- MongoKitten*: Native MongoDB driver for Swift, written in Swift
- Mongo Driver: MongoKitten driver for Fluent.
- Mongo Provider: MongoKitten provider for Vapor.
- MainecoonVapor: MongoKitten ORM for Vapor.
- Redbird: Pure-Swift Redis client implemented from the original protocol spec..
- Redis Provider: Redis cache provider for Vapor.
- Kitura Provider: Use IBM's Kitura HTTP server in Vapor.
- SwiftyBeaver: Adds the powerful logging of SwiftyBeaver to Vapor.
- APNS: Simple APNS Library for Vapor (Swift).
- JWT: JWT implementation for Vapor.
- VaporS3Signer: Generate V4 Auth Header/Pre-Signed URL for AWS S3 REST API
- Flock: Automated deployment of Swift projects to servers
- VaporFlock: Use Flock to deploy Vapor applications
- VaporForms: Brings simple, dynamic and re-usable web form handling to Vapor.
- Jobs: A minimalistic job/background-task system for Swift.
- Heimdall: An easy to use HTTP request logger.
Autores
Tanner Nelson, Logan Wright, y los cientos de miembros de Vapor.