On Wed, Apr 18, 2012 at 9:41 AM, Petr Bena benapetr@gmail.com wrote:
I think we should create a page describing standards for names of keys in preferences and database objects for extensions. I propose to make it standard to prefix all keys in $preferences array with the name of extensions at least or some other words maybe (e_ExtensionName_Value ?).
The same should apply for database objects like tables. The main reason for this is to avoid collision given that we already have lot of extensions. What do you think?
For database tables, I think as long as you're consistent within an extension, the prefix can be anything that makes sense.
For example, in CodeReview we use code_* for our table names.
-Chad