[drupal-devel] Standard set of objects and methods?
killesreiter at physik.uni-freiburg.de
Tue May 3 17:38:25 UTC 2005
On Tue, 3 May 2005, Dries Buytaert wrote:
> 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.
> 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.
How about making such format functions themable? I find myself hacking
them more often than not on custom installs (and every more serious
instlal is a custom install).
More information about the drupal-devel