ZeosLib and C++Builder

This the the forum for potential authors to submit article ideas.

Moderator: 2ffat

ZeosLib and C++Builder

Postby macicogna » Mon Feb 02, 2015 2:46 pm

Hi All,

Today, as far as I know, we have very few free DB Engines/Layers that can work similar as dbExpress and FireDAC. And it is important to mention that we have some budget obstacles associated with C++Builder (and Delphi) update prices, manly related with DBMS drivers available only in Enterprise or up versions.

So, what do you think about one or two articles pointing how to install and use ZeosLib with C++Builder?

I'm trying the freeware ZeosLib for Delphi, using a C++Builder 2009 package available into the ziped source distribution.

Here my article content idea:

Part I: how to compile and install the Delphi Packages into C++Builder (tested in RAD2009 and CPBXE2). It took me two days reading foruns about some sily errors created into C++Builder when converting old CBuilder12 packages. These packages are available into the ZeosLib Repository, but they needed some work and cleanup. Maybe other members could help me testing the packages instalations with version C++Builder XE3 and up. I'm also trying to install ZeosLib in BDS 2006, but it isn't working into C++Builder personality.

Part II: report the experience of migration a median size BDE DataModule (over 50 TQuery objects) unit to ZeosLib DataAccess components, both focused in DBMS Firebird. The report would point some hints about code updates associated with some special helper methods using TQuery. This isn't a finished work, so Part II depends on my success on this migration task.

If these ideas are convincent to you, please let me know.

I think Part I from ZeosLib packages wil take two weeks from now to write down.

Regards,

Marcelo
User avatar
macicogna
BCBJ Veteran
BCBJ Veteran
 
Posts: 68
Joined: Mon Aug 04, 2008 4:57 pm
Location: Brazil

Re: ZeosLib and C++Builder

Postby smd » Tue Feb 03, 2015 8:51 am

After many years of playing with many database programs, going all the way back to the cpm version of dbase, along with paradox, filemaker, and several others hidden somewhere in my ancient brain cells. I recently started playing with SQLite (sqlite.org). Written in standard C, they have an amalgamated source file that you simply add to your list of c files (and a single header file) compiles and runs with no additional adjustments. most databases can be fully handled using only a few function calls (assuming you have an understanding of SQL) along with many functions for power users. It is a zero-configuration database, stores everything in a single file, and the file format is independent of computer endianness. Best of all it is absolutely free. Interesting read about its history which is available on the website.
-----------------------------
Scott
smd
BCBJ Guru
BCBJ Guru
 
Posts: 130
Joined: Sat Nov 29, 2014 8:02 pm
Location: Las Vegas

Re: ZeosLib and C++Builder

Postby macicogna » Thu Feb 26, 2015 10:30 am

Hi Scott.

Nice comment.

I have plans to write about ZeosLib's performance and I think would be nice to compare it with the SQLite's original API in C.

My focus now is to compare ZeosLib with old BDE, trying to motivate others to migrate, and also with dbExpress and/or FireDAC, in order to establish a comparison with updated data access frameworks.

Best,

Marcelo.
User avatar
macicogna
BCBJ Veteran
BCBJ Veteran
 
Posts: 68
Joined: Mon Aug 04, 2008 4:57 pm
Location: Brazil


Return to Manuscript Proposals

Who is online

Users browsing this forum: No registered users and 3 guests