Fork me on GitHub



Make donations with PayPal!
Goal: $100.00
Due Date: Oct 31
Gross Amount: $25.00
Net Balance: $23.72
Left to go: $76.28

kakos  ($25)Oct-25

GitHub Twitter

Learn XOOPS Core

Local Support


XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 admin adslight Android AntiHarvesting AntiSpam API Apple Battlefield billige Blocks Bootstrap Captcha cell cent chronolabs Clicks Cloud content CĂN demo download Dresses facebook Fat floor Gateway giải Google Guide herre Home Honeypot html5 Human HỘ IP iPhone jQuery Language Law Legal List Loss module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights Room security Sentry Signatures Signed site Smartphone Smarty Smoking Solution Spam stem Studio support tag tdmcreate The Theme themes tháp User userlog weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 139440


Welcome to XOOPS!

Bottom   Previous Topic   Next Topic  |  Register To Post

#1 Posted on: 2009/10/14 8: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:

* 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?


2004/4/23 14:58
From Ohio, USA
Registered Users
Designer Group
Super Moderator
Posts: 9045
(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.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]