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
Last revisionBoth sides next revision
advanced_plugin_tutorial [2012-12-20 10:48] – [Activate Invoices Plugin] potionadvanced_plugin_tutorial [2012-12-22 18:12] – [Filesystem Skeleton] potion
Line 15: Line 15:
 ====== Setting Up ====== ====== Setting Up ======
  
-We will employ an Agile development approach so that after each stage we have a usable system.+We will employ an Agile development approach so that after each stage ([[http://en.wikipedia.org/wiki/Scrum_%28development%29|Scrum & Sprint]] ) we have a viable, usable system.
  
 Initial setup: Initial setup:
Line 28: Line 28:
  
 ====== Create the Basic Plugin ====== ====== Create the Basic Plugin ======
 +The first iteration in our agile development is to create a basic plugin that will run the Simple Invoice app in a Feng Office tab.
 ===== Filesystem Skeleton ===== ===== Filesystem Skeleton =====
-FENGOFFICE_ROOT +**FENGOFFICE_ROOT** 
-  * plugins +  * **plugins** 
-    * invoices +    * **invoices** 
-      * application +      * **application** 
-        * controllers+        * **controllers**
           * InvoicesController.class.php           * InvoicesController.class.php
-        * views +        * **views** 
-          * invoices+          * **invoices**
             * manage.php             * manage.php
-      * language +      * **language** 
-        * en_us        // (add languages as required) //+        * **en_us**        // (add languages as required) //
           * lang.js           * lang.js
           * lang.php           * lang.php
       * info.php       * info.php
 +
 + 
  
 ===== File Contents ===== ===== File Contents =====
Line 57: Line 59:
  
         function manage() {         function manage() {
- /* do nothing - just open the view */+ /* for now, do nothing - the invoices app will load in the view */
         }         }
 }?> }?>
Line 133: Line 135:
 Our new tab **Invoices** should now appear.  Click on it and log into Simple Invoices. Our new tab **Invoices** should now appear.  Click on it and log into Simple Invoices.
  
-** Remember that Simple Invoices is running as a separate application and therefore requires its own login.  As per our Agile objective, after we now have a usable invoicing system.  ** +//Remember that Simple Invoices is running as a separate application and therefore requires its own login.  As per our Agile objective, we now have a usable invoicing system.// 
 +----
 //Work In Progress.  To Be Continued...// //Work In Progress.  To Be Continued...//