Jump to content

[3.0b5] Application & Modules


desti

Recommended Posts

Has tried to create simple test application (3 modules, 12 sections, ACP modules) all works, but the brain has broken :)

Whether there will be changes in this module? Plans?
Now it's necessary to do 90% of work by hands, there is no automation :(

Q: On the System:System Settings there are two text links:

* Import all APP XML Settings
* Export all APP XML Settings

On any tabs all settings are imported/exported, may be imp/exp settings from active tab only?

Link to comment
Share on other sites

The application structure (in ACP) is illogical.

Application and module - abstract concepts, it's only folders and DB records, not php files.
Sections - real php module with own logic (defaultsection), but there are no management methods in ACP for sections.

Can be to make so?

1. Create applications
2. Create module set for application
3. Create section sets for modules (names, description, defaults)
4. Big button "Create base application structure" (folders, sections files with class sceleton, xml)

Or the perl script and anything more is better?

Link to comment
Share on other sites

[quote name='desti' date='11 May 2009 - 04:32 PM' timestamp='1242055958' post='1800950']
The application structure (in ACP) is illogical.

Application and module - abstract concepts, it's only folders and DB records, not php files.
Sections - real php module with own logic (defaultsection), but there are no management methods in ACP for sections.

Can be to make so?

1. Create applications
2. Create module set for application
3. Create section sets for modules (names, description, defaults)
4. Big button "Create base application structure" (folders, sections files with class sceleton, xml)

Or the perl script and anything more is better?


Well the perl script will create the key parts that needed for any application - to add more sections you would just copy the files, or to add another module, copy a directory and update the xml.

Applications house modules - the application folder has two directories 'modules_admin' and 'modules_public' - and the modules house sections, which are represented by a PHP file in the relevant modules folder.

While it can be a bit daunting creating your first application, it's easy to pick up and once you get the hang of it, you'll find it much easier than the 2.x components system.

There's no real need for Admin CP tools to create application structures or anything like that - I think it's more likely to confuse novice users, and really, the system can only hold a developer's hand so much.

Link to comment
Share on other sites

Ok.

Q:

applications/..../extentions/admin/member_form.php - number for new tab (id='tabtab-MEMBERS|X) - how to define the following X for id in my application? (and for groups too, id="tabtab-GROUPS|X)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...