Talk

JUser

From Joomla! Documentation

Revision as of 14:45, 7 April 2008 by Chris Davenport (talk | contribs) (New page: Good start, but this needs to be expanded and improved. I suggest the following: # Don't use acronyms like "DB" for "database" and so on. # Code should follow [http://docs.joomla.org/Codi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Good start, but this needs to be expanded and improved. I suggest the following:

  1. Don't use acronyms like "DB" for "database" and so on.
  2. Code should follow Coding Standards as it needs to set a good example.
  3. Don't introduce functions that are not part of the Joomla! Framework or Joomla! CMS (MRender in this case).
  4. Do try to explain clearly what the code does (and what problem it solves) without assuming that the reader has extensive understanding of Joomla! itself.
  5. Do try to use descriptive variable names (eg. maybe "$user" instead of "$NU").
  6. Do try to include any jimport statements if these are required.

Chris Davenport 15:45, 7 April 2008 (EDT)