![]() |
![]() |
| CodeBase | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PerformanceDelphi developers who use the Borland Database Engine (BDE) for serious applications soon realize that it's just too big and slow to deliver the kind of performance they need. Developers often tell us that the BDE is fine when writing small applications that use small data files. But as soon as they try to write a serious application that deals with many large tables, the BDE crashes and burns! You'll never have that problem with the stable, high-performance CodeBase engine! CodeBase gives you that extra performance by providing a highly optimized set of routines that provide only the core functionality necessary to manipulate data files--there's no 'fat' in the engine to slow down critical database operations. One developer described using CodeBase as "programming to the bare metal". Try it for yourself and you'll learn why serious database application developers always turn to CodeBase to deliver the stability and performance they need in their applications. Size & CompatibilityNot only is CodeBase faster than BDE, but it also has a much smaller footprint as well--the CodeBase engine is only one-fifth the size of the resources needed to run BDE! This translates into programs that load faster and reduce the strain on system resources. Your end users will notice the difference when programs load quickly and respond instantly to database operations. Plus, if you need support for FoxPro or Clipper data files you'll be out of luck, because BDE only supports the dBASE format. These are just some of the reason's why BDE users switch to the CodeBase engine, which provides an easy-to-use API, great performance, compact size, lots of flexibility, and 100% xBase compatibility. Try it and find out for yourself why professional programmers always choose CodeBase for their database applications. Client/ServerClient/Server database development is quickly becoming the preferred method of sharing data between multiple users. It provides better security and is more robus than traditional multi-user applications. It can also improve network performance by reducing network traffic. Plus, it's the only feasible model for developing distributed database applications on intranets or over the Internet. Unfortunately, the client/server version of BDE costs $2995, plus you have to pay run-time royalties on top of the heavy price tag! So you could spend thousands of dollars to implement a client/server solution with BDE, or you could use CodeBase, which includes a client/server configuration absolutely free! Not only can you distribute unlimited client applications and the server itself, but the server has no built-in limit on the number of clients that can connect! There is NO other client/server solution anywhere that matches CodeBase's ability to give you true royalty-free distribution in every sense of the word. CodeBase APIThe CodeBase API is simple to learn and use. If you have an xBase programming background, you'll appreciate the familiarity of the CodeBase API, which uses an xBase-like naming convention. Even if you don't, you'll appreciate the API's straightforward naming convention. Here's a small example that show's you how easy it is to use CodeBase from Delphi. CodeBase 6: Delphi Example
{ List the MAILING.DBF data file ordered alphabetically by last name. }
program Mailing;
uses CodeBase, Crt;
var
code : CODE4;
dataFile : DATA4;
lastName : TAG4;
field : FIELD4;
rc, j : Integer;
begin
code := code4init; { Initialize CodeBase }
dataFile := d4open(code, 'MAILING'); { Open MAILING.DBF }
lastName := d4tag(dataFile, 'LASTNAME');
d4tagSelect(dataFile, lastName); { Select last name tag }
d4top(dataFile); { Go to top of data file }
while d4eof(dataFile) = 0 do { While not end of file }
begin
writeln;
write(d4recno(dataFile):4); { Display record number }
for j := 1 to d4numFields(dataFile) do { For each field in file }
begin
field := d4fieldJ(dataFile, j);
write(' ', f4str(field)); { Display contents of field }
end;
d4skip(dataFile, 1); { Move to next logical record }
end;
d4close(dataFile); { Close data file }
end.
CodeBase 6 Function ListHere are just a few of the fully documented CodeBase functions: Data File Functions |
| d4append | d4eof | d4lockFile | d4reccount | d4top | d4blank | d4field | d4lockGroup | d4recno | d4unlockAll |
| d4bottom | d4flush | d4numFields | d4record | d4unlockFile |
| d4close | d4go | d4open | d4reindex | d4unlockIndex |
| d4create | d4index | d4pack | d4seek | d4unlockRecords |
| d4data | d4lock | d4position | d4skip | d4write |
| d4delete | d4lockAppend | d4recall | d4tagSelect | d4zap |
| f4assign | f4assignLong | f4char | f4len | f4ptr |
| f4assignChar | f4assignN | f4decimals | f4long | f4str |
| f4assignDouble | f4assignPtr | f4double | f4name | f4true |
| f4assignInt | f4blank | f4int | f4ncpy | f4type |
| i4close | i4create | i4open | i4reindex | i4tagAdd |
| relate4bottom | relate4master | relate4querySet | relate4skip | relate4top |
| Code4connect | Code4logFileName | Code4logOpenOff | Code4tranRollback |
| Code4logCreate | Code4logOpen | Code4tranCommit | Code4tranStart |
If you’re developing database applications in Delphi that require high-performance, xBase compatibility, portability or royalty-free distribution, then CodeBase is the choice for you.
Return to the CodeBase Main Page
CodeBase Features
CodeBase & C
CodeBase & Visual Basic
CodeBase & Delphi
CodeBase & Java
Visual Report Designer
Data-aware Controls
CodeBase User List
Royalty-Free source code is included. Does
not work with Visual FoxPro Databases. All CodeBase versions
include the Windows/DOS version.
Upgrades for previous versions are available.
| ©Copyright 1999
HALLoGRAM Publishing, Aurora CO. All Rights Reserved. All products mentioned in this site are trademarks of their respective owners. dmcakegrim |