cotonti.com : Plugin wizard? https://www.cotonti.com Son konu mesajları Cotonti en Sun, 19 Oct 2025 17:04:08 -0000 Trustmaster Per, 02 Nis 2009 01:10:40 -0000 tensh
... You can think about creating a plugin wizard with embedded MySQL managing tool.

Plugin wizard would be divided in many sections. My vision is as follows:

PLUGIN WIZARD
Parts:
A. Defining plugin name.
B. Creating plugin:
    1. Input creation section (optional),
    2. Data section (MySQL management & Cotonti DataFetch) (required),
    3. Custom functions (optional)
    4. Display section (required).
C. Saving plugin files

Plugin wizard would create a folder in /plugins and create each plugin php/tpl file.

DETAILS:

1. Input creation section: You can define fields to input data which then will be saved/processed. You'll be able to make a composition of textareas, simple text fields, file upload, image upload, checkboxes, etc. In some plugins this would not be required.

2. Data section:
- Creating Database structure and synchronizing it with Input fields
- ... and/or DataFetch wizard, which would allow to fetch already present Cotonti data. In some simple plugins DataFetch would be enough.

3. Advanced section: Custom functions + Database re-synchronization of custom output.

4. Display section: Define display logic, template {TAGS} and create templates themselves.

This would allow to create simple plugins, like e.g. Dashboard, using only DataFetch & Display sections.

What do you think?]]>
Çrş, 01 Nis 2009 17:37:06 -0000