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

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply
NoBigDeal
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 2
Joined: Sun Jan 18, 2009 7:35 pm

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

Post 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!
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

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

Post 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.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

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

Post by MarauderIIC »

Not to deter you, but have you read about existing database server solutions? They're really complex...
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
NoBigDeal
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 2
Joined: Sun Jan 18, 2009 7:35 pm

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

Post 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 ;).
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

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

Post by MarauderIIC »

Cool. Well, welcome to the forums and best of luck with your project =)
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
Post Reply