Debian Codegraph @

doc/driver-guide/description.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Description</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9 REL="HOME"
10 TITLE="Database Independent Abstraction Layer for C"
11 HREF="index.html"><LINK
12 REL="UP"
13 TITLE="Introduction"
14 HREF="intro.html"><LINK
15 REL="PREVIOUS"
16 TITLE="Introduction"
17 HREF="intro.html"><LINK
18 REL="NEXT"
19 TITLE="libdbi Concepts and Terminology"
20 HREF="terminology.html"></HEAD
21 ><BODY
22 CLASS="SECTION"
23 BGCOLOR="#FFFFFF"
24 TEXT="#000000"
25 LINK="#0000FF"
26 VLINK="#840084"
27 ALINK="#0000FF"
28 ><DIV
29 CLASS="NAVHEADER"
30 ><TABLE
31 SUMMARY="Header navigation table"
32 WIDTH="100%"
33 BORDER="0"
34 CELLPADDING="0"
35 CELLSPACING="0"
36 ><TR
37 ><TH
38 COLSPAN="3"
39 ALIGN="center"
40 >Database Independent Abstraction Layer for C: libdbi Driver Author's Guide</TH
41 ></TR
42 ><TR
43 ><TD
44 WIDTH="10%"
45 ALIGN="left"
46 VALIGN="bottom"
47 ><A
48 HREF="intro.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 >Chapter 1. Introduction</TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="terminology.html"
63 ACCESSKEY="N"
64 >Next</A
65 ></TD
66 ></TR
67 ></TABLE
68 ><HR
69 ALIGN="LEFT"
70 WIDTH="100%"></DIV
71 ><DIV
72 CLASS="SECTION"
73 ><H1
74 CLASS="SECTION"
75 ><A
76 NAME="DESCRIPTION"
77 >1.1. Description</A
78 ></H1
79 ><P
80 > libdbi provides application developers with a database independent abstraction
81 layer for C. It handles the database-specific implementations for each type of
82 database, so that you can use the same exact code with any type of database server
83 that libdbi supports. You can initiate and use multiple database connections
84 simultaneously, regardless of the types of database servers you are connecting to.
85 The plugin architecture allows for new database drivers to be easily added
86 dynamically by a third party.
87 </P
88 ><P
89 >To aid the development of new database drivers, libdbi ships a template which contains everything you need to get started. Copy the <TT
90 CLASS="FILENAME"
91 >drivers/example</TT
92 > directory to your CVS version of the <A
93 HREF="http://sourceforge.net/projects/libdbi-drivers"
94 TARGET="_top"
95 >libdbi-drivers</A
96 > project, rename it to the name of your database engine, and replace the string "example" by the name of your database engine in all files in that directory. This should get you pretty far. Check the name of the client library in the <TT
97 CLASS="FILENAME"
98 >Makefile.am</TT
99 > and the name of the client library headers in the driver source file. Then have a peek at the existing drivers, and implement the functions in the driver source template accordingly.</P
100 ></DIV
101 ><DIV
102 CLASS="NAVFOOTER"
103 ><HR
104 ALIGN="LEFT"
105 WIDTH="100%"><TABLE
106 SUMMARY="Footer navigation table"
107 WIDTH="100%"
108 BORDER="0"
109 CELLPADDING="0"
110 CELLSPACING="0"
111 ><TR
112 ><TD
113 WIDTH="33%"
114 ALIGN="left"
115 VALIGN="top"
116 ><A
117 HREF="intro.html"
118 ACCESSKEY="P"
119 >Prev</A
120 ></TD
121 ><TD
122 WIDTH="34%"
123 ALIGN="center"
124 VALIGN="top"
125 ><A
126 HREF="index.html"
127 ACCESSKEY="H"
128 >Home</A
129 ></TD
130 ><TD
131 WIDTH="33%"
132 ALIGN="right"
133 VALIGN="top"
134 ><A
135 HREF="terminology.html"
136 ACCESSKEY="N"
137 >Next</A
138 ></TD
139 ></TR
140 ><TR
141 ><TD
142 WIDTH="33%"
143 ALIGN="left"
144 VALIGN="top"
145 >Introduction</TD
146 ><TD
147 WIDTH="34%"
148 ALIGN="center"
149 VALIGN="top"
150 ><A
151 HREF="intro.html"
152 ACCESSKEY="U"
153 >Up</A
154 ></TD
155 ><TD
156 WIDTH="33%"
157 ALIGN="right"
158 VALIGN="top"
159 >libdbi Concepts and Terminology</TD
160 ></TR
161 ></TABLE
162 ></DIV
163 ></BODY
164 ></HTML
165 >