DGStorage is a database based on filesystem.
Import DGStorage
lib to use it. alos can use Shell or Web work closely with DGStorage.
You can include our lib in your code, or using shell/web work with DGStorage.
- For twice develop:https://github.com/DGideas/DGStorage-toolkit
- Import
DGStorage
lib in your Python3 app:
import DGStorage as DG
- create a database connect:
a=DG.DGStorage()
- Create or select a database collection:
a.create('db')
a.select('db')
- Use it!
a.add('20150101','Hello, Future!')
a.get('20150101')
a.zip('db')
a.unzip('db')
- You can use (etc..) append, index method ,just like work with list object.
- Designed for big data, don't worry about how many datas you should deal with.
- Zip and unzip while database collection.
- Import
DGStorage
lib in your PHP5 app:
include('DGStorage.php');
- create a database connect:
$a=new DGStorage();
- Create or select a database collection:
$a->create("db");
$a->select("db");
- Use it!
$a->add('20150101','hello');
$a->get('20150101'); //do not use this format in PHP:$a->get("something")[1]
//Becouse PHP don't know the return var is a array or not
Hint:If DGStorage's PHP version running under web environment,reading dir need RWRWRW right
-
Will support HTTP/HTTPS API.Allow you deploy DGStorage online.
-
Will support web panel.