Yesf
Yesf is a framework based on Swoole, for the website. Advantages:
- High performance
- Flexible autoload
- Flexible and scalable
- Built-in multiple routes, compatible with the current common routing protocol
- Support a variety of configuration
Yesf is based on Swoole, so it supports TCP and UDP listening, asynchronous tasks and other functions
About documentiion
This document corresponds to Yesf version 1.0.0-rc5
. If there is any error, please submit an issue to GitHub or Gitee.
Naming convention
The current Yesf naming convention is as follows:
Class naming
- All libraries are in the
yesf\library
namespace - All libraries are in the
library
directory - Class are named after the big hump naming
- Methods are named after the small hump naming
Variable naming
- Most variables are named after the small humping nomenclature
- When some variables start with "_" (underline), they follow the nomenclature of the underline
Constant naming
- The basic constants of the frame begin with
YESF_
- Other constants are located in
yesf\Constant
, and basically follow the "module_type_description" of the nomenclature, such as "ROUTER_ERR_CONTROLLER"
Other special naming
- The abstract classes for inheritance are namespace
yesf\library\abstract
- The interfaces for the specification are namespace
yesf\library\interface