|
@@ -5,13 +5,13 @@ Ubiquity is a full-stack php framework, These tests involve:
|
|
|
- the ORM part (Full)
|
|
|
- the JSON serialization (native php)
|
|
|
|
|
|
-Tests are available with NginX, Swoole and PHP-PM (beta) servers.
|
|
|
+Tests are available with NginX server and Swoole platform.
|
|
|
|
|
|
## Test Type Implementation Source Code
|
|
|
-The tests are separated into 4 controllers:
|
|
|
+The tests are separated into 6 controllers:
|
|
|
- `Json` for JSON response
|
|
|
* [JSON](app/controllers/Json.php)
|
|
|
-- `Db` for database access
|
|
|
+- `Db` for database access with ORM
|
|
|
* [DB](app/controllers/Db.php)
|
|
|
* [QUERY](app/controllers/Db.php)
|
|
|
* [CACHED QUERY (not implemented)]()
|
|
@@ -20,24 +20,20 @@ The tests are separated into 4 controllers:
|
|
|
* [FORTUNES](app/controllers/Fortunes.php)
|
|
|
- `Plaintext` for plaintext response
|
|
|
* [PLAINTEXT](app/controllers/Plaintext.php)
|
|
|
-
|
|
|
+- `Raw` for database access without ORM
|
|
|
+ * [Raw](app/controllers/Raw.php)
|
|
|
+- `RawFortunes` without ORM and without template engine
|
|
|
+ * [FORTUNES](app/controllers/RawFortunes.php)
|
|
|
|
|
|
## Important Libraries
|
|
|
The tests were run with:
|
|
|
-* [Ubiquity 2.1.*](https://ubiquity.kobject.net/)
|
|
|
+* [Ubiquity 2.3.*](https://ubiquity.kobject.net/)
|
|
|
* [PHP Version 7.3.*](http://www.php.net/) with FPM and APC
|
|
|
* [nginx 1.14](http://nginx.org/)
|
|
|
-* [PHP-PM](https://github.com/php-pm/php-pm)
|
|
|
-* [Ubiquity-reactphp server](https://github.com/phpMv/ubiquity-reactphp)
|
|
|
-* [Ubiquity-php-pm bridge](https://github.com/phpMv/ubiquity-php-pm)
|
|
|
* [Swoole](https://www.swoole.com/)
|
|
|
* [Ubiquity-swoole](https://github.com/phpMv/ubiquity-swoole)
|
|
|
* [MySQL 5.7](https://dev.mysql.com/)
|
|
|
|
|
|
-## Servers
|
|
|
-PHP-PM server (beta version) is configured with this values:
|
|
|
-- workers: 64
|
|
|
-- max-requests: 1024
|
|
|
|
|
|
## Test URLs
|
|
|
### JSON
|