normal to have 1000's of db queries/page in ecommerce app?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

EricS
Forum Contributor
Posts: 183
Joined: Thu Jul 11, 2002 12:02 am
Location: Atlanta, Ga

Post by EricS »

I have tried building object trees with multiple queries and it does make coding much easier, but you pay for it dearly in scalability. As soon as your traffic or database size gets large, the site grinds to a halt.

I now use Data Access Objects to build multiple objects from single queries. There is more code and more design time required to program in this fashion, but the page speed in much faster.
Post Reply