Re: Better DB Class MySQL

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

 



    // Terminator Style Function simply in coolness
    public function Terminator($tbl) {
    }

"Terminator"? Is this something I don't know about or is it simply a method that goes around killing other methods?

Anyhoo, you may want to look at this:

http://www.phpguru.org/article.php?ne_id=121
http://www.phpguru.org/pear_db_replacement/

It's a MySQL only database wrapper that mimics the PEAR::DB API, (which is, as I've been reminded a million times (roughly), obsolete), but is one sixth the size. Important if one of of your goals is speed. You could say if your goal is speed why use a wrapper at all? But it has the following advantages:

1. If you start off with PEAR::DB (for example) and then need to squeeze
   extra performance out of your site, the database wrapper is a good
   place to start (since it is generally used a lot).

2. It has useful methods (ie the get* methods) which speed up
   development time greatly.

3. I thought of others, but then subsequently forgot them. Doh.

--
Richard Heyes
http://www.websupportsolutions.co.uk

Knowledge Base and Helpdesk software for £299 hosted for you -
no installation, no maintenance, new features automatic and free

             ** New Helpdesk demo now available **

--
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