Page 1 of 1

---ADBSQL--- OPEN-SOURCE---RELEASED(C++)

Posted: Sun Jan 18, 2009 7:56 pm
by NoBigDeal
ADBSQL VERSION 0.1

Hello, I've been working on a similar program as Mysql server.

It's 10% done. The point of making ADBSQL is to have a completely fast database and to transfer data fast and secure.

Scripting feature:
ADBSQL databases extension are named .adb

All you need to do is create a new text file, rename it to .adb and finally, script what you want.
The console-based application offers you a way to add tables,classes and values without having to program.

SCRIPT-CODES DONE-

Code: Select all

TABLE: (Tablename) // to add a new table
CLASS: (Tablename) (Class name) //To add a new class
ADDVALUE: (Tablename):(Classname) (Value)
SETVALUE: (Classname) (Value id) (Value)
Those are the scripts that can be written into your .adb file

More will be added soon. This is an open-source program. People can even give suggestion and program new codes for the application.

This is an example of one of my database file.

Code: Select all

TABLE: Accounts

CLASS: Accounts Username
CLASS: Accounts Password
CLASS: Accounts Email

ADDVALUE: Accounts:Username nobigdeal
ADDVALUE: Accounts:Password 123456
ADDVALUE: Accounts:Email no@hotmail.com
Here's the source.(Project files->Visual studio 2008)
DOWNLOAD NOW!

How to use the Files!
Put the ADBSQL Folder into your compiler - IDE include folder.

include ADBSQL.h in your program.

then, create a new ADBSQL.

ADBSQL DB;

Finally, load a db file using LoadDB(filename)

and to use the navigation menu. Use the Main() function.


Example of code:

Code: Select all

#include <ADBSQL.h>

int main()
{

	ADBSQL DB;

	DB.LoadDB("file.adb");

	DB.Main();

	return 0;

}

If you have any problems using this, please post below.

Good luck and have fun updating and using ADBSQL.

The development is still not done. Alot of new features are coming in less then a month.

Don't forget to post ideas below!

Re: ---ADBSQL--- OPEN-SOURCE---RELEASED(C++)

Posted: Mon Jan 19, 2009 2:45 pm
by Ginto8
Interesting project... I have one extra thing you may want to put in.

for main(), you can do this:

Code: Select all

#include "ADBSQL.h"

int main()
{
    ADBSQL DB;
    string filename = "file", ext = ".adb";

    cout << "Enter database name: ";
    cin >> filename;
    filename += ext;

    DB.LoadDB( filename );

    DB.Main();

    return 0;
}
This will give the user more flexibility.

Re: ---ADBSQL--- OPEN-SOURCE---RELEASED(C++)

Posted: Mon Jan 19, 2009 3:51 pm
by MarauderIIC
Not to deter you, but have you read about existing database server solutions? They're really complex...

Re: ---ADBSQL--- OPEN-SOURCE---RELEASED(C++)

Posted: Mon Jan 19, 2009 5:29 pm
by NoBigDeal
Yes, do not worry about the development ;) .

I know alot about servers. I mostly work with networking these days.

It take times to think and to program, maybe there will be some days where it will be pain in the ass, but it won't stop this from working ;).

Re: ---ADBSQL--- OPEN-SOURCE---RELEASED(C++)

Posted: Mon Jan 19, 2009 6:14 pm
by MarauderIIC
Cool. Well, welcome to the forums and best of luck with your project =)