|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 90 ||All time: 9,773 This week: 238|
This package can store and retrieve objects in MongoDB, MySQL and Microsoft SQL Server.
There is a factory class that will create instances of the warehouse classes.
The warehouse classes can create, retrieve, update and delete objects given their keys and values in PHP variables.
V3 WareHouse Core
V3ctor WareHouse Core for MongoDb and MySQL.
Execute phpdoc -d v3wh/
For run Unit Test, complete information connection and execute the next commands:
> phpunit V3WareHouseTest.php
Create file composer.json
"yorch/v3wh" : "dev-master",
Execute composer.phar install
//$v3ctor = V3WareHouse::getInstance('v3Mongo', $hostname, $username, $password, $dbname, $port);
// For PHP 7
$v3ctor = V3WareHouse::getInstance('v3MongoDB', $hostname, $username, $password, $dbname, $port);
if (! $v3ctor->isConnected())
die("Unable load V3ctor WareHouse");
$doc = array('r' => 666);
$newObject = $v3ctor->newObject("demo", $doc);
v3wh is a Core for MongoDb and needs php mongo module.
For MySQL and SQL Server support is required _id field in the table, check demo.sql.
P.D. Let's go play !!!
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.