Re: why PHP does not support this advantge
| From: | Hartmut Holzgraefe | Date: | Sun, 23 Sep 2001 07:30:25 +0000 |
| Subject: | Re: why PHP does not support this advantge | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-3610@lists.php.net to get a copy of this message | ||
alfareees alfareees wrote:
> the first advantge is that the qeury excute every 10 minutes or every
> limited time (you choose the time in the function as aparameter of
> this function or tag ) , that mean when the first user request the
> site it will be connect to the database and excute query and take the
> result , but the second or other users in this ten minutes will take
> only the result from cach or a place and will not connect to the
> database , i think that will be good , because there are a limited
> connection to mysql database , and i think its free good for a memory
> ...
result caching should always be done on the application side
and not automagicaly IMHO
> the second is , query of query that mean you can do two query ...and
> one query of this two query , thats mean you that you deal with two
> query result as new tables ..
are you refering to subqueries? the availability of these depends
on the database you use. mySQL does not have support for them yet,
but all the 'bigger' ones like Postgres, Oracle, DB2 ... have
BTW: the QA list is related to quality assurance issues,
especially for PHP release candidates
you should use the php-general list instead