Fork me on GitHub
Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 Abuse adslight Android AntiHarvesting AntiSpam API Apple Battlefield billige Blocks Bootstrap Captcha cell chronolabs Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor for free Gateway Google Guide herre Home Honeypot HP html5 Human HỘ IP iPhone jQuery List log Loss module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon Room security Sentry site Smartphone Smarty Smoking Spam stem Studio support tag tags tdmcreate template The Theme themes User userlog web weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 137305

bobop

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2009/10/14 7:16 XMF (XOOPS Modules Framework)
Scott Lai is working on XAM Framework (read his interview here).

There is also the wonderful TDMCreate module generator developed by kraven_30.

BitC3R0 did also develop several awesome modules based on his EXM fork.

And last but not least, Trabis created also several very innovative modules, and we talked on several occasions about a new XOOPS Module Framework (XMF)

So there is a lot of interesting and very creative developments in the XOOPS world, and I hope, XOOPS module developers could discuss in this thread what should be included in such a Module Framework, how can we make Module development easier.

One of the things that we should consider are several of the D3 requirements defined by GIJoe:

Quote:
* Requirements
(1) X2 compatible
(2) dirname can be /^[0-9a-zA-Z_-]+$/
(3) Almost all module logic placed inside XOOPS_TRUST_PATH
(4) can be duplicated just by copying into ROOT/modules/. (No rewriting the source code)
(5) No logic in XOOPS_TRUST_PATH is duplicated.

* Recommendation
- Place ROOT/modules/(dirname)/mytrustdirname.php
- All tables are created as (prefix)_(dirname)_(table)
- All templates are created as (dirname)_(tplfile) into DB
- All Blocks are rendered by 'module' templates not by 'block' templates
- Almost all blocks can be cloned (just set 'can_clone')
- can use D3Language Manager
- can use D3Comment Integration

Personally, I like the option to duplicate a module just by copying it and renaming in the /modules directory.

We also should have a library of standard re-usable components, e.g. for creating PDF, multi-file upload, etc. Basically all elements that are repeated in many of our modules.

Also, built-in "pre-load" functionality that was included by Trabis in 2.4.0.

And last, but not least, "auto-update" of modules, i.e. ability to check if there are new modules, and being able to update them with a click of a mouse. Alfred (dhsoft) developed it in Simple-XOOPS.

So what else should be included?

Top

Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7841
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]