Forum OpenACS Development: Re: Best Practices / Conventions / Hidden Features / Howto Document for OpenACS

Hi Peter,

I am still looking at the naming conventions, atleast for the cms that I am working on, here are my conventions.

get_[item/folder/etc.]
list_[item/folder/etc.]
treelist_[item/folder/etc.]
delete_[item/folder/etc.]
create_[item/folder/etc.]
edit_[item/folder/etc.]

Also some other convention, for example "get_item_by_url", where in "get_item" is the basic above followed by something more descriptive "by_url".

Although its not easy to do as you go along.  It takes me review and refactor the code again.

Roberto,

Is there some way put things2remember in openacs.org?