You are here: Re: Removing MySQL calls from PHP pages? « PHP Programming Language « IT news, forums, messages
Re: Removing MySQL calls from PHP pages?

Posted by tyler.style.post on 01/14/08 13:22

On Jan 13, 11:54 am, Gilles Ganault <nos...@nospam.com> wrote:
> Hello
>
> Out of curiosity, is there a way to avoid putting calls to MySQL in
> pages, and have PHP fetch data from a common pool, so that all
> connected users don't actually call MySQL directly, but simply read
> data from that common pool?
>
> Just an idea. I don't know if it makes any sense :-)
>
> Thanks.

My 2 bits: optimizing your queries so as to make the least number of
calls to your DB while pulling back the most compact amount of info
possible is definitely something to check for. When I was a computing
science TA, every so often I'd see the horror of people making a
database call inside of a loop :) Another one was making separate
pulls from several tables for related data, instead of using a join
and so pulling just once.

Tyler

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация