Figure 8-1. The client/server architecture
You have probably seen this sort of architecture all over the
Internet. In fact, we will be addressing the specific problem of
client/server Internet applications throughout this book. The web,
for example, is a giant client/server application in which the web
browser is the client and the web server is the server. In this
scenario, the server is not a relational database server, but instead
a specialized file server. The essential quality of a server is that
it serves data in some format to a client.
When you build a database application, you first need some way for
the client to communicate with the database. Database vendors like to
hide the underlying communication from developers in the form of
language-specific APIs. When you write a database application, you
write them with special libraries that translate your requests into
TCP/IP packets that travel across the network to a database server.