GithubHelp home page GithubHelp logo

superzhang / blink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bixuehujin/blink

0.0 2.0 0.0 193 KB

A web framework build for long-running and high performance services

License: MIT License

PHP 100.00%

blink's Introduction

Blink - A web framework built for high performance services

Build Status Latest Stable Version Latest Unstable Version

Blink is a micro web framework build for long-running and high performance services, the design heavily inspired by Yii2 and Laravel. Blink aims to provide the most expressive and elegant API and try to make the experience of web development as pleasant as possible.

Besides, Blink is not like other frameworks that run upon php-fpm or Apache's mod_php; we use the Swoole extension to serve requests directly in PHP. This can easily make our PHP application 100% faster in just a blink.

Why build this?

In php-fpm or mod_php, all resources like objects and database connections only live within a single request, all these resources will be freed once the request terminates. This works fine with simple applications without much traffic, but for large scale applications, the performance impact of reallocating resources on every request is really huge.

Because of this, we are always trying to find a way to reduce unnecessary resources reallocating on every request, and I'm finally very glad to announce that Blink is exactly the answer!

Features

  • Powered by Swoole, serve requests in PHP directly
  • Dependency Injection & Service Locator
  • Routing for Restful APIs
  • Authentication & Authorization abstraction
  • Session Management abstraction
  • Middleware support for Request and Response
  • PHPUnit integration for unit tests

Installation

Install the latest version with

composer create-project --prefer-dist blink/seed your-app

Documentation

Blink is fully documented in both English and Chinese:

Participating

Blink is still in active development, so your participation is very welcome!

You may participate in the following ways:

Author

Follow me on Twitter or Weibo (Mainland China) to receive news and updates about the framework.

License

The Blink framework is open-sourced software licensed under the MIT license

blink's People

Contributors

bixuehujin avatar

Watchers

James Cloos avatar superzhang 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.