陈斌彬的技术博客

Stay foolish,stay hungry

Swift-Perfect

Get Involved

Perfect

Perfect logo Join the chat at https://gitter.im/PerfectlySoft/Perfect

Perfect is an application server which provides a framework for developing web and other REST services in the Swift programming language. Its primary focus is on facilitating mobile apps which require backend server software. It enables you to use one language for both front and back ends.

Perfect operates using either its own stand-alone HTTP server or through FastCGI with Apache 2.4. It provides a system for loading your own Swift based modules at startup and for interfacing those modules with its built-in mustache template processing system.

Perfect consists of the following components:

  • PerfectLib - Framework components and utilities for client and server.
  • Perfect Server - Backend server supporting FastCGI or stand-alone HTTP.
    • Perfect Server FastCGI - Server process which accepts connections over FastCGI.
    • Perfect Server HTTP - Stand-alone HTTP server.
    • Perfect Server HTTP App - Development focused stand-alone HTTP server OS X app.
  • Connectors - Server-side connectivity.
    • mod_perfect - FastCGI connectivity for Apache 2.4.
    • MySQL - Provides connectivity for MySQL databases.
    • PostgreSQL - Provides connectivity for PostgreSQL databases.
    • MongoDB - Provides connectivity for MongoDB databases (in progress).
  • Examples - A set of examples which show how to utilize Perfect.
    • Mobile iOS Examples
    • Web Site Examples
    • Game Examples (coming soon!)

Getting Started

Check the README in the Examples directory for further instructions.

More Information

For more information on the Perfect project, please visit perfect.org.