LB Booster
« Cheetah Database System »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:41am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Cheetah Database System  (Read 634 times)
Jack Kelly
Full Member
ImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 106
xx Cheetah Database System
« Thread started on: Jun 17th, 2016, 07:33am »

If you like database programming you'll like Cheetah. It allows you to access disk data entirely under your own program control, using the old industry standard .dbf format. It's a large file <cheetah2.dll> that is accessed via a smaller file <LBcheetah2.dll> called a "wrapper", which is unique to the programming language dialect -- in our case, Liberty Basic. Cheetah was written by Paul Squires and the LB wrapper by Walt Decker. Both have been released to the public domain.

Here's a Dropbox link to download CheetahDBMS.zip:
https://www.dropbox.com/s/blbfss32nagyqfq/CheetahDBMS.zip?dl=0

The zip file contains (a) the two .dll files mentioned, (b) a .chm help file, (c) four LB*.bas files that document and demo the dll calls, and (d) a program I wrote <DBMS.bas>. In DBMS.bas I have put many of the Cheetah calls into 20 function definitions and 27 subroutines, which take care of the dll calls, string null terminators, and error checking. DBMS.bas is not designed to be a Cheetah tutorial. It is actually a somewhat complete database manager.

Cheetah2.dll does not provide the ability to make changes to a dbf file structure. This can be done using a full database manager, if necessary. The best one I have found so far is <DBF Viewer 2000>. Nor does Cheeetah2 support relational links between dbf files. This must be hand coded. There is a Cheetah4.dll but no Liberty Basic dll wrapper for it, to my knowledge.
« Last Edit: Jun 17th, 2016, 07:34am by Jack Kelly » User IP Logged

joker
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 157
xx Re: Cheetah Database System
« Reply #1 on: Jun 17th, 2016, 08:02am »

I looked at Cheetah a year or so ago, and I haven't found a reasonable substitute yet.

"Roll your own" flat file databases are no fun to build and without the relational functions are severely limited.

Therefore, I'm still using Filemaker even for simple relational databases. Perhaps your work will bring me over to the dark side! cheesy

Quote:
Note: Cheetah is no longer being developed. Check the CVS for the most recent version or use the most recent stable package release.
http://cheetahdatabase.sourceforge.net/
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Cheetah Database System
« Reply #2 on: Jun 17th, 2016, 08:28am »

on Jun 17th, 2016, 07:33am, Jack Kelly wrote:
There is a Cheetah4.dll but no Liberty Basic dll wrapper for it, to my knowledge.

It is of course entirely likely that LBB won't need a wrapper DLL. Indeed Cheetah4.dll is described as being "a 100% pure standard Windows DLL" so it's probable that LB doesn't need a wrapper either.

There may be some value in creating wrapper functions in BASIC (just as it sometimes is for regular Windows API functions) but that doesn't need a DLL.

Generally I don't approve of wrapper DLLs. They are rarely if ever needed (by LBB anyway) and they introduce another layer of code, which is often unsupported.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls