Re: How to use MySQL queries...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Is there any big difference to use PROPEL or any other ORM mapping
> against basic
> functions provided by MySQL Extension...?

If it's MySQL you're looking to optimise, then you could also try
asking on the MySQL discussion list. On the PHP side, the MySQL
functions are long-winded at best, try simple abstraction. This could
be as simple as using a small object or set of functions that does a
lot of the grunt work for, eg:

$results = $db->getAll("SELECT * FROM mysql.user");

Much quicker to write than the equivalent using the PHP functions.
This does also make switching to another db far easier.

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux