Hi,

I see a lot of hard coded node(type) names in the hippo namespace, like
hippo:usersettings. I would like to keep all the node names / paths,
nodetype names and item names in one (or maybe two) central places. The
obvious place to do this now is in HippoNodeType.java.

As a first step to improve the situation I would like to propose the
following:
1. Never use hard coded hippo:* things, always put them in HippoNodeType
2. Keep HippoNodeType organized by type groups and alphabetical order
3. Use hippo namespace for "repository" things and hippocms for "cms"
things (like preferences)
4. Use consistent names in HippoNodeType, we now have *_PATH, NT_* and
HIPPO_*. (something like HIPPO_PATH_*, HIPPO_NT_*, HIPPO_ITEM_* ?)
5. Use javadoc to document *all* entries in HippoNodeType.
6. Slap anybody around with a big large trout who still hard codes
hippo:* ;)

WDYT?

Regards,

Bart

P.S. There were also some uses of the hipposample namespace. Do we still
need that?


-- 

Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
--------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to