Jacc¶
Introduction¶
Jacc is...
*J*ust *a*nother *c*omponent *c*reator
Create Components, Modules, Plugins and Packages for Joomla 1.5, 1.6, 1.7
Approach¶
Before the first line of code is written, a data model must be developed. Normally this model will later be represented in the database.
For instance I use MySQL Workbench for developing the data model. The tool is able to export tables directly into a database.
Jacc uses these tables, and expects that each table (as far as there exists a primary key) represents a triple of a Model View Control.
So before you use Jacc, be sure that there are tables in the Joomla database, which corresponds to your data model. For a little test you can try the sql script for an example bookshop from the Howto page in components backend.
Quick Start¶
- Import your tables into the Joomla database
- Go to Jacc->Components and edit the Preferences.
- Click New. The Jacc Component Editor will be displayed.
- Enter title and version, select your tables and click Save. Your Component appears now in the components list
- Copy the link in the column Download, paste it in the URL-Installation Field of the Joomla Installation Manager and install the component.
If you have respected the suggested naming rules for the table columns, you will have a working but rudimental backend administration and frontend for your component. You can start now developement.
Warning: If you want to repeat the procedure, use Jacc to recreate the component before reinstalling or backup tables structure before deinstallation of the component.