Git Product home page Git Product logo

wwlj / perfect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from perfectlysoft/perfect

0.0 2.0 0.0 50.82 MB

Server-side Swift. The Perfect library, application server, connectors and example apps. (For mobile back-end development, website and web app development, and more...)

Home Page: https://www.perfect.org

License: Apache License 2.0

Swift 17.96% C 75.20% C++ 5.50% Objective-C 1.35%

perfect's Introduction

Perfect: Server-Side Swift

Perfect logo

Swift 2.2 Swift 3.0 Platforms OS X | Linux License Apache Docs Issues Donate Twitter Join the chat at https://gitter.im/PerfectlySoft/Perfect

The master branch of this project currently requires the Swift 3.0-dev toolchain. Download release-1.0 if you are using Xcode 7.3 with Swift 2.2.

Perfect is an application server for Linux or OS X 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, enabling you to use one language for both front and back ends.

Perfect operates using either its own stand-alone HTTP server or through FastCGI but is flexible enough to be attached to the server of your choice or to your own custom server. It provides a system for loading your own Swift based modules at startup and for interfacing those modules with its request/response objects or to the built-in mustache template processing system.

Perfect is built on its own high performance completely asynchronous networking engine with the goal of providing a scalable option for internet services. It supports SSL out of the box and provides a suite of tools which are commonly required by internet servers, such as WebSockets and iOS push notifications, but does not limit your options. Feel free to swap in your own favorite JSON or templating systems, etc.

Please Note v1.0 has been released. For a stable development environment, switch to branch release-1.0 or download v1.0. v1.0 requires the Swift 2.2 toolchain.

(2016-04-18) We have finished the main refactoring tasks required to support Swift Package Manager. The Perfect project has been split up into the following repositories:

  • Perfect - This repository contains the core PerfectLib and will continue to be the main landing point for the project.
  • PerfectServer - Contains the PerfectServer variants, including the stand-alone HTTP and FastCGI servers. Those wishing to do a manual deployment should clone and build from this repository.
  • PerfectStarter - This umbrella repository allows one to pull in all the related Perfect modules in one go, including the servers, examples, database connectors and documentation. This is a great place to start for people wishing to get up to speed with Perfect.
  • PerfectDocs - Contains all API reference related material.
  • PerfectExamples - All the Perfect example projects and documentation.
  • Perfect-FastCGI-Apache2.4 - Apache 2.4 FastCGI module; required for the Perfect FastCGI server variant.
  • Perfect-SQLite - SQLite3 database connector.
  • Perfect-PostgreSQL - PostgreSQL database connector.
  • Perfect-MySQL - MySQL database connector.
  • Perfect-MongoDB - MongoDB database connector.

The database connectors are all stand-alone and can be used outside of the Perfect framework and server.

Note that we are still making some tweaks to this layout and are currently ensuring that everything builds properly on Linux and OS X using SPM and Xcode. This new code requires a Swift 3.0 toolchain and is currently being built against the March 24, 2016 snapshot. It will not compile with Swift 2.2.

(2016-04-05) We are refactoring the Perfect project repository with the ultimate goal of supporting the Swift Package Manager. The various modules, such as the PerfectLib, server, database connectors and examples pack are being split off into their own repositories. This change will also include some API streamlining and fewer 3rd party dependencies resulting in easier installation and deployment. Once this task has completed we will release as v1.1 and continue from there. We hope to have these changes solidified by the end of the week and we appreciate all the feedback we've received along the way.

If you've been working on a Perfect project switch to branch release-1.0 to maintain the stable API you've been developing against.

More Information

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

perfect's People

Contributors

kjessup avatar seanstephens avatar groovelab avatar califrench avatar ludagoo avatar petrpavlik avatar chris-sean avatar theabstractdev avatar wuqiong avatar johnlinvc avatar jezhawk avatar dabeck avatar tspoonman avatar gitter-badger avatar mikehenson avatar mcritz avatar maryom avatar jordonedavidson avatar solidsnack avatar clivemoore avatar c0deh4cker avatar s2ler avatar

Watchers

James Cloos avatar  WuWenJie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.