|
@@ -9,9 +9,10 @@ Uses the PHP standard [JSON encoder](http://www.php.net/manual/en/function.json-
|
|
|
|
|
|
|
|
|
### Data-Store/Database Mapping Test
|
|
|
-Uses the built-in ORM of Phalcon PHP
|
|
|
+Uses the built-in ORM/ODM of Phalcon PHP
|
|
|
|
|
|
-* [DB test controller](app/controllers/BenchController.php)
|
|
|
+* MySQL: [DB test controller](app/controllers/BenchController.php)
|
|
|
+* MongoDB: [DB test controller](app/controllers/MongobenchController.php)
|
|
|
|
|
|
### Template Test
|
|
|
Uses Phalcons template engine 'Volt'
|
|
@@ -26,6 +27,7 @@ The tests were run with:
|
|
|
* [PHP Version 5.4.13](http://www.php.net/) with FPM, APC and Phalcon extension
|
|
|
* [nginx 1.4.0](http://nginx.org/)
|
|
|
* [MySQL 5.5.29](https://dev.mysql.com/)
|
|
|
+* [MongoDB 2.4.8](https://mongodb.org/)
|
|
|
|
|
|
## Test URLs
|
|
|
### JSON Encoding Test
|
|
@@ -34,12 +36,19 @@ http://localhost/json
|
|
|
|
|
|
### Data-Store/Database Mapping Test
|
|
|
|
|
|
-http://localhost/db
|
|
|
+MySQL: http://localhost/db
|
|
|
+MongoDB: http://localhost/mongodb/db
|
|
|
|
|
|
### Variable Query Test
|
|
|
|
|
|
-http://localhost/db?queries=2
|
|
|
+MySQL: http://localhost/db?queries=2
|
|
|
+MongoDB: http://localhost/mongodb/db?queries=2
|
|
|
|
|
|
-### Templating Test
|
|
|
+### Update Test
|
|
|
+
|
|
|
+MySQL: http://localhost/update
|
|
|
|
|
|
-http://localhost/fortunes
|
|
|
+### Fortunes Test
|
|
|
+
|
|
|
+MySQL: http://localhost/fortunes
|
|
|
+MongoDB: http://localhost/mongodb/fortunes
|