Databases exist so that people can interact with them. In the case of
electronic databases, the interaction occurs not directly with the
database, but indirectly through software applications. Before the
emergence of the World Wide Web, databases typically were used by
large corporations to support various business functions: accounting
and finance, shipping and inventory control, manufacturing planning,
human resources, and so on. The Web and more complex home computing
tasks have helped move the need for database applications outside the
realm of the large corporation.
Therefore, it is not surprising that the area in which databases have
experienced the most explosive growth—an area where MySQL
excels—is web application development. As the demand for more
complex and robust web applications grows, so does the need for
databases. A database backend can support many critical functions on
the Web. Virtually any web content can be driven by a database.
Consider the example of a catalog retailer who wants to publish on
the Web and accept orders online. If the contents of the catalog are
entered directly into one or more HTML files, someone has to hand
edit the files each time a new item is added to the catalog or a
price is changed. If the catalog information is instead stored in a
relational database, it is possible to publish real-time catalog
updates simply by changing the product or price data in the database.
It is also possible to integrate the online catalog with existing
electronic order-processing systems. Using a database to drive such a
web site has obvious advantages for both the retailer and the
customer.