i’ve never created a shopping cart, or forum in php. aside from viewing and analyzing another persons project or viewing tutorials that display how to make such a project or how to being such a project. how would a person know how to design the database structure to create such a thing? im guessing its probbably through trial and error…
Share
The main technique you can learn about database design is called Database Normalization.
Database normalization has it’s limits, especially if you have many transactions. At some point you may be forced to Denormalize.
But imho it’s always better to start with a normalized database design.