CGI and Databases

From the beginning of Internet time, databases have interacted with the development of the World Wide Web. In fact, many view the web as simply an enormous database of multimedia information.

Search engines are an everyday example of the benefits of databases. An engine does not go all over the web looking for keywords the moment you ask for them; instead the site’s developers use other programs to create an enormous index that serves as a database from which the engine retrieves entries. Databases store information in a manner that allows quick, random-access retrieval.

Because databases are mutable, they lend even more power to the web: they turn it into a potential user interface for anything. System administration, for instance, could be performed remotely over a web interface instead of requiring the administrator to log into the affected system. Connecting databases to the web is the key to a new world of interactivity on the Internet.

Note

One reason for connecting databases to the web pops up repeatedly: much of the world’s information is already in databases. Databases that existed before the creation of the web are referred to as legacy databases (as opposed to nonweb connected databases that were created recently, which are referred to as a bad idea). Many corporations (and even individuals) are now faced with the task of making these legacy databases available over the web. Unless your legacy database is in MySQL or mSQL, this topic is beyond the scope ...

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.