Talk

JUser: Difference between revisions

From Joomla! Documentation

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...
 
Rfriedel (talk | contribs)
m Talk:JUser example moved to Talk:JUser: Should be a subheader under JUser
(No difference)

Revision as of 13:14, 4 September 2008

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)