Saturday, June 6, 2009

A new Simple Database Web Service is going to launched

Now Techunits is going to launch a new web service named TechDB(Alpha). By launching this web service they will step into their new division TechWS i.e Techunits Web Services. Its completely free for using for the user and developers. We hope that it will be free forever now that depends upon them.

TechDB is the similar concept to the SDB(Simple DataBase) of AWS i.e Amazon Web Services. But the best issue is that TechDB(Alpha) is completely free for now and Amazon now charges a few for their service SDB.

TechDB Features:

  • Stores Simple Data to online for free
  • Stores Image [ Limited Size : 512KB ]
  • Stores Video [ Limited Size : 512KB ]
For now Techunits only disclosed the API for PHP. We hope that other language APIs will going to come across. We will have download link for TechDB class very soon.

User Guide (for PHP):
  • Store Simple String to TechDB:
$t = new TechDB();
$t->Connect('tws.techunits.com' , 'your_user_identifier_key', 'your_password' );
$t->Put('key', 'value to be stored...');
$t->disConnect();

The above script will store the string 'value to be stored...' to TechDB against your
specified key. If you want to retrieve your key you just use the following script:

  • Retrieve Simple String From TechDB against a key:
$t = new TechDB();
$t->Connect('tws.techunits.com' , 'your_user_identifier_key', 'your_password' );
$str = $t->Get('key');
var_dump($str); //if key is not set then it will return " bool(false) "
$t->disConnect();

[ Feed Shark ]