Hour 13. Using Flat Files for Data Storage

One thing most applications of any complexity require is persistent data storage. Whether you’re creating an online message board, a catalog, or just allowing users to register, your programs need to be able to retrieve existing data and store new data entered by users. There are a number of ways to add data storage capabilities to your programs. One of the simplest is to store the data in a flat-file database—which is nothing more than a plain text file.

In this hour you will learn

  • What, exactly, a database is

  • What defines a flat-file database

  • How to build an application that retrieves data from a flat-file database and displays it using HTML

  • How to build applications that add, delete, and modify data ...

Get Sams Teach Yourself CGI in 24 Hours, Second Edition 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.