PHP & MySQL® Web Development All-in-One Desk Reference for Dummies®
by Janet Valade, Tricia Ballad, Bill Ballad
Chapter 3. Designing and Building a Database
In This Chapter
Planning your database
Designing a sample database
Constructing your database
Restructuring your database
The first step in creating a database is to design it. You design a database before you ever put finger to keyboard to create that database. Planning is perhaps the most important step. It's very painful to discover after you build the database and put it in service that it doesn't contain all the data or provide the relationships between data that you need.
After completing your database design, you're ready to build that database. You create the database and its tables according to the design you developed. When it's built, you have a useful, empty database, waiting for you to fill it with data. You can read about adding and retrieving data in Chapter 4 of this minibook.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access