Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
advanced_plugin_tutorial [2012-12-20 10:48] – [Activate Invoices Plugin] potion | advanced_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:// |
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 | + | |
- | * invoices | + | |
- | * application | + | |
- | * controllers | + | |
* InvoicesController.class.php | * InvoicesController.class.php | ||
- | * views | + | |
- | * invoices | + | |
* manage.php | * manage.php | ||
- | * language | + | |
- | * 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. | Our new tab **Invoices** should now appear. | ||
- | ** Remember that Simple Invoices is running as a separate application and therefore requires its own login. | + | //Remember that Simple Invoices is running as a separate application and therefore requires its own login. |
+ | ---- | ||
//Work In Progress. | //Work In Progress. |