December 2001
Intermediate to advanced
520 pages
13h 42m
English
The foundation for the store will be a database containing all the tables required for recording the customers, products, and transactions. Because databases are significantly more secure than flat files, you always want to use them for e-commerce applications so that the store and user information is safely kept away from curious eyes.
The first table you'll need—and the easiest to design—is for the customers (or users), detailed in Table 6.1.
| Table Users | |
|---|---|
| Column | Data Type |
| user_id | number |
| username | text |
| password ... | |
Read now
Unlock full access