Choosing An Access Method
Many factors affect development strategy choices. Availability of tools on different platforms, the developer's familiarity with a given programming environment, and portability requirements often play decisive roles in the process. On the other hand, when the developer has more flexibility, various subtle factors should be considered.
Performance is always a consideration. Run-time performance, however, must be balanced against development time: is it more important to deliver the program quickly, or to have it run quickly in use?
In the context of database programming, the database interface affects both development time and run-time performance. Often the choice between SQL and Btrieve is based on these factors alone.
If you are new to Pervasive PSQL products, you may want to use access methods such as ADO.NET/OLE DB, ActiveX controls, JDBC, Pervasive Direct Access Components for Delphi and C++ Builder, or other third-party development tools to develop Pervasive PSQL applications.
If you want to directly write to the Btrieve API, refer to Btrieve API Programming. This chapter provides tips and code samples in several programming languages.
Table 1 compares the various Pervasive PSQL access methods: