Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / New Project that is read/write and data entry heavy - DBPro the right language?

Author
Message
MathGuy
22
Years of Service
User Offline
Joined: 11th Nov 2003
Location:
Posted: 1st May 2010 19:04
I've been messing around with DBPro off and on for a few years, but now I want to write an extensive sports statistics database.

I think I can use DBPro to make the presentation look pretty snazzy - but it's the read/write and the calculations part of the project that has me asking some questions before I get too far into this.

My alternative would be to write it in .net - that would require a fair amount of learning on the presentation stuff, more than the read/write stuff.

Is it worth the effort creating a calc-heavy, lots of i/o read/write program in DBPro? Or would it not be worth the effort?

Suggestions welcome. Thanks!
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 1st May 2010 19:18
You would be better with a language designed for that, such as VB.Net or C#.Net. The DBPro, DGDK, and GDK.Net are designed for graphics and have little that will make data entry easy to do.

If you want a good combination for a desktop app that would allow some nice graphics to enhance it, check into GDK.Net using C#.Net or VB.Net. Database access is already built in to the development environment, and once you have the data you can use the GDK routines to make the pretty stuff.

Although for statistics, you probably don't even need GDK if all you're going to do is charts and graphs.

Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 1st May 2010 19:25
IanM's plugins have a section of file writing commands They will help out alot, and I'm sure they're faster than the darkbasic commands, but don't quote me on that.

Search Matrix1

Rawwrr. Sig Fail.
Newcastle is awesome
DVader
22
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 3rd May 2010 17:53
They are faster, and used to be more functional than DB's strings eg 256 char limit on dbs commands( think that is sorted now though, but could be wrong). It is possible to write database apps in DB, I have one I use for bightfight instead of a piece of paper but you also have to write all the user entry parts etc, which can get tedious.

http://s6.bitefight.org/c.php?uid=103081
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd May 2010 19:35 Edited at: 3rd May 2010 19:36
Quote: "think that is sorted now though, but could be wrong"

You're not wrong - I fixed that and it's part of the 7.5 beta.

However, yes my file IO plug-in is far faster than DBPro's IO, and more functionally complete too (you can update an exist file for instance, or save/load an array within other data in the file).

[edit]While I think about it, there's also the data plug-in that you can find details about in the sticky posts.

Neco
18
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Waterloo, Wisconsin USA
Posted: 4th May 2010 19:26 Edited at: 4th May 2010 19:30
If you were to go with DBpro, since you own it already.. I would suggest potentially looking into the LUA scripting plugin (I forgot what its called.)

Otherwise you might want to look into Python. Both LUA and Python are good candidates for a statistics program as they are really fast and Python in particular seems to be pretty popular in the science field (lots of complex heavy math). If this is for personal use, then you won't have to fuss with getting the scripts into an executable form, and just run the scripts via your local interpreter for either language.

If you only care about the data entry and not how pretty it looks, Python and LUA will do you well. But then again, if you know a dot.NET language pretty well, you can do the GUI through that and look into either Python or LUA embedding methods for your language of choice.

Python also has the benefit of using pySQLite (SQLite with Python bindings) so you get a pretty fast and robust database platform, embedded right into your application as well.

Login to post a reply

Server time is: 2026-07-26 04:27:22
Your offset time is: 2026-07-26 04:27:22