BASIC

Author Topic: [Release] tDB - Database for Everyone  (Read 19570 times)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10695
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: [Release] tDB - Database for Everyone
« Reply #30 on: 2012-May-08 »
best would be to not include stdxxx.h, but make your own tiny header and only include the typed you need. (for small libraries).

MrTAToad

  • Guest
Re: [Release] tDB - Database for Everyone
« Reply #31 on: 2012-May-09 »
The GLBasic headers file are rather out of date.  In addition, there are no headers for various platforms either, meaning the routine can't be used on, say, WIZ.

I usually try and remove all #include files and replace various functions with alternatives - for example, fopen gets replaced with open, as the latter is already defined by GLBasic and just needs an extern "C" to be accessible by all platforms...

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [Release] tDB - Database for Everyone
« Reply #32 on: 2012-Jun-08 »
oops some days away and someone dig out the tDB Thread :/
there are some issues? Should i make a new, better version?
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

MrTAToad

  • Guest
Re: [Release] tDB - Database for Everyone
« Reply #33 on: 2012-Jun-09 »
Yeah, go on - it'll be a right larf :)

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Re: [Release] tDB - Database for Everyone
« Reply #34 on: 2012-Jun-09 »
It would be great to have good database integration as part of the language if you have the time to improve it!

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [Release] tDB - Database for Everyone
« Reply #35 on: 2012-Jun-09 »
ok i will use some brain to make a new - better one - hmm a object based one?
*use pen & paper*
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: [Release] tDB - Database for Everyone
« Reply #36 on: 2012-Jun-09 »
I would like to get a new one too, multiplattform plz (i need it on linux).
OO? - i would like it with as less overhead as possible, i was even thinking about using a mysql server. But i have no DB/SQL knowledge, so if you make it easy to use, i have no problem with some overhead.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Re: [Release] tDB - Database for Everyone
« Reply #37 on: 2012-Jun-10 »
Please no OO!!!!!!!!!!!!!!!!!!!

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [Release] tDB - Database for Everyone
« Reply #38 on: 2012-Jun-10 »
the old one was crossplatform too - i released the source and it could be compiled for all platformes that can use sqlite3.
i wanted to try to store types in database - so you can use db.store(myType)

a database type with fake methods which kitty made possible somne Versions before.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC