Howto

From PMWH2 - PHPMyWebHosting's official wiki
Jump to: navigation, search

I think for many people it might be a good thing to write own modules for PHPMyWebHosting to fit their needs. There are some things to consider:

  • Provide at least the english translation of your module
  • Keep the files in the right places
  • Write an INSTALL how to install your module.
  • If database changes are needed provide an .sql file
  • Keep every task in one well formatted file
  • Document your functions (do it better than me)

There are also coding instructions:

  • Indent your code 4 spaces. Please do not use tabs or less than 4 spaces
  • Keep the opening brackets in the same line as the function name
  • Document your functions in a way that other people understand what is done