logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: Admin classes status: msg#00083

Subject: RE: Admin classes status
I have a question regarding class names.

Does somebody remember the reason why we have

LiveUser_Perm_Container_DB_Complex
LiveUser_Perm_Container_DB_Medium
LiveUser_Perm_Container_DB_Simple
LiveUser_Perm_Container_MDB_Complex
LiveUser_Perm_Container_MDB_Medium
LiveUser_Perm_Container_MDB_Simple
LiveUser_Perm_Container_XML_Simple

And not the smae names without the "container" part ?

I know PHP does not have namespace but i fail to see why we could not have 

LiveUser_Perm_DB_Complex
LiveUser_Perm_DB_Medium
LiveUser_Perm_DB_Simple
LiveUser_Perm_MDB_Complex
LiveUser_Perm_MDB_Medium
LiveUser_Perm_MDB_Simple
LiveUser_Perm_XML_Simple

It is shorter and as explicit and chances of a nameclash are very limited.

Arnaud.


<Prev in Thread] Current Thread [Next in Thread>