[drupal-devel] Standard set of objects and methods?

Dries Buytaert dries at buytaert.net
Tue May 3 17:35:02 UTC 2005


On 02 May 2005, at 22:37, Bèr Kessels wrote:
> IMO we could simply start by renaming everything with a single unified 
> naming
> convention. Not name (user), title (node) or subject (comment), but 
> rather a
> single word, used to define that part. Same for body (node), 
> description
> (term). just don't ask me what names to use, though ;). IMO these 
> changes
> should be reflected in the database column names too.

Agreed.

In some ways, we already have what you describe.  Take format_name(), 
for example.  You can pass it any object with a uid and a name, and it 
will display a username.

I'm OK with adding more such patterns where appropriate.

--
Dries Buytaert  ::  http://www.buytaert.net/




More information about the drupal-devel mailing list