[Phpmyadmin-devel] PAM_List_Databases commited and replaced $dblist

Hi, i have the new PAM_List_Databases committed and replaced all $dblist/$num_dbs please check! -- Sebastian Mendel www.sebastianmendel.de

Sebastian Mendel schrieb:
Hi,
i have the new PAM_List_Databases committed and replaced all $dblist/$num_dbs
PMA_List_Database, of course!
please check!
-- Sebastian Mendel www.sebastianmendel.de

Sebastian Mendel a écrit :
Sebastian Mendel schrieb:
Hi,
i have the new PAM_List_Databases committed and replaced all $dblist/$num_dbs
PMA_List_Database, of course!
please check!
Thanks Sebastian, initial tests show that this works pretty well! I'll try it on various MySQL servers/configurations. Marc

Sebastian Mendel schrieb: variablename: $PMA_List_Database vs. PMA_Databases ??? what do you prefer? at first i thought i use $PMA_List_Database to make it visible that this is an object from the class PMA_List_Database but this is somehow long, and IF we later introduce some derived classes like PMA_List_Database_Mysql_5 or something similar the variablename will not change, it will stay $PMA_List_Database - so there is no hint on the used class behind this object whats best? $pma_databases $PMA_Databases $PMA->databases $databases -- Sebastian Mendel www.sebastianmendel.de

Sebastian Mendel wrote:
Sebastian Mendel schrieb:
variablename:
$PMA_List_Database vs. PMA_Databases
???
what do you prefer?
at first i thought i use $PMA_List_Database to make it visible that this is an object from the class PMA_List_Database
but this is somehow long, and IF we later introduce some derived classes like PMA_List_Database_Mysql_5 or something similar the variablename will not change, it will stay $PMA_List_Database - so there is no hint on the used class behind this object
whats best?
$pma_databases $PMA_Databases $PMA->databases $databases
-- Sebastian Mendel
www.sebastianmendel.de
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
inofficial vote: $pmaDatabases ;) -- View this message in context: http://www.nabble.com/PAM_List_Databases-commited-and-replaced-%24dblist-tf2... Sent from the phpmyadmin-devel mailing list archive at Nabble.com.

Jürgen Wind schrieb:
Sebastian Mendel wrote:
Sebastian Mendel schrieb:
variablename:
$PMA_List_Database vs. PMA_Databases
???
what do you prefer?
at first i thought i use $PMA_List_Database to make it visible that this is an object from the class PMA_List_Database
but this is somehow long, and IF we later introduce some derived classes like PMA_List_Database_Mysql_5 or something similar the variablename will not change, it will stay $PMA_List_Database - so there is no hint on the used class behind this object
whats best?
$pma_databases $PMA_Databases $PMA->databases $databases
inofficial vote:
$pmaDatabases
this is against ALL rules ... ;-) neither is there a hint to the class/type used nor does this conform to PEAR coding standard. variable names should be written complete in lowercase, separated by underscore, studlyCaps or used with functions or methods -- Sebastian Mendel www.sebastianmendel.de

Hi On Fri, 22 Sep 2006 11:57:56 +0200 Sebastian Mendel <lists@sebastianmendel.de> wrote:
whats best?
$pma_databases $PMA_Databases $PMA->databases
If we're moving to classes, I prefer this one.
$databases -- Michal Čihař | http://cihar.com | http://blog.cihar.com

Michal Čihař schrieb:
Hi
On Fri, 22 Sep 2006 11:57:56 +0200 Sebastian Mendel <lists@sebastianmendel.de> wrote:
whats best?
$pma_databases $PMA_Databases $PMA->databases
If we're moving to classes, I prefer this one.
yes, me too, but we have currently no PMA class, should we use a dummy class meanwhile? -- Sebastian Mendel www.sebastianmendel.de

On Fri, 22 Sep 2006 13:25:53 +0200 Sebastian Mendel <lists@sebastianmendel.de> wrote:
but we have currently no PMA class, should we use a dummy class meanwhile?
Probably yes ... -- Michal Čihař | http://cihar.com | http://blog.cihar.com
participants (4)
-
Jürgen Wind
-
Marc Delisle
-
Michal Čihař
-
Sebastian Mendel