-
Notifications
You must be signed in to change notification settings - Fork 0
scorpiFr/Hashui
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Hashui is a php nosql key => value service.
1 key = 1 value in 1 file.
Files are stored in a bunch of repertories and sub-repertories.
Hashui is made to store middle sized files.
Ex (if you store a key):
$contents = @file_get_contents("/etc/hosts");
$hui = new Hashui("/path/to/rootStorageDir");
$key = $hui->set($contents);
print($hui->get($key));
Ex2 (if you don't want to store keys) :
$filePath = '/etc/hosts';
$contents = @file_get_contents($filePath);
$userId = 198212;
$key = "user:$userId;";
$value = "{filename: $filePath; contents: $contents}";
$hui = new Hashui("/path/to/rootStorageDir");
$hui->set($value, $key);
print($hui->get($key));
About
Hashui is a key=>value storage system 1key => 1 value on 1file. Hashui is a
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published