Most web-enabled system includes a back-end database.
Instead of using databases, this exercise uses the following steps to create a file-driven web system:
HTML web user interface construction,
Calling a CGI Perl script, and
File processing using C/C++.
These steps and tools are not definite nor unique.
Some other approaches such as LAMP or ASP.NET are possible.
This approach has the following advantages and disadvantages:
Advantages:
It is simple, powerful, and flexible because the most popular programming languages, C/C++ and Perl, are used.
Disadvantages:
This approach uses primitive tools and files instead of databases.
Therefore, advanced programming skills are required.
For example, concurrency control, which is automatically taken care by databases, has to be implemented if files are used.
If concurrency control is not implemented correctly, incorrect results may be generated when two users try to update the book information at the same time.
Similar requirements in addition to using a database will be given in the Programming Exercise II for comparison.