Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:module_convention [2010/01/06 20:55]
greg
dev:module_convention [2010/01/06 20:56] (current)
Line 38: Line 38:
 To create a skeleton for a new module use the following steps: To create a skeleton for a new module use the following steps:
  
-1. decide on a name unique to it amongst modules, (lets say myapp), but make sure that is conforms to these requirements: http://wiki.sahana.lk/doku.php/dev:php_coding_convention#choosing_a_name_for_a_module_in_sahana_module +1. decide on a name unique to it amongst modules, (lets say myapp) 
-2. create a directory called myapp in the /mod + 
 +2. make sure your module's name conforms to these requirements: http://wiki.sahana.lk/doku.php/dev:php_coding_convention#choosing_a_name_for_a_module_in_sahana_module 
 + 
 +3. create a directory called myapp in the /mod 
  
   mkdir -p mod/myapp   mkdir -p mod/myapp
  
-3. Add the following files as required above+4. Add the following files as required above
 ration variables  ration variables 
  
-4. Add the default function for main.inc+5. Add the default function for main.inc
  
 <code> <code>

Navigation
QR Code
QR Code dev:module_convention (generated for current page)