This library gives you total control over your application storage requirements: Anything you may need to store as part of your application development is managed in a super easy and centralized way. It is also designed to be cross language: Several versions like Php or Node are implemented with exactly the same features, APIs and classes. Just like all the other components of the turboframework platform: Super reusable and cross language. Learn once, code forever!
We want to increase this list. So! if you want to translate the library to your language of choice, please contact us! We need your help to port this library to as many languages as possible, and more important, we need to code the SAME unit tests across all the implemented languages. This is the only way to guarantee that the library delivers exactly the same behavior everywhere.
use org\turbodepot\src\main\php\managers\DepotManager; require_once 'some/filesystem/path/to/your/turbocommons-php-X.X.X.phar'; require_once 'some/filesystem/path/to/your/turbodepot-php-X.X.X.phar'; $pathToSetup = 'some/filesystem/path/to/your/turbodepot.json'; // Connect to a depot instance configured with the name 'my_depot' $dpm = new DepotManager($pathToSetup, 'my_depot'); // Write something to two different log files $dpm->getLogsManager()->write('this is a log line', 'logfile.txt'); $dpm->getLogsManager()->write('this is another log line', 'logfile2.txt'); // Save some objects to database // TODO // Perform some user operations // TODO // Create and write to a temporary file // TODO // Connect to another depot instance configured with the name 'my_depot_2' $dpm2 = new DepotManager($pathToSetup, 'my_depot_2'); // All operations can now be performed the same way for this second instance // ...
This library only requires the latest turbocommons library.
TurboDepot is 100% free and open source, but we will be really pleased to receive any help, support, comments or donations to help us improve this library. If you like it, spread the word!
You can get more info at the official site:
Generated using TypeDoc