a happy side effect of D3 module

Date 2006-05-20 03:30:00 | Category: XOOPS

in englishin japanese
I've just found Duplicatable V3 (D3) module is quite friendly multi core version!

Old Style module:
/var/www/xoops2.2/modules/(module)/LOGICS (core from xoops.org)
/var/www/xoops-jp/modules/(module)/LOGICS (core from xoopscube.jp)
/var/www/oreteki/modules/(module)/LOGICS (core from marijuana.ddo.jp)

Module developpers have to manage two directories.
This makes two problems hard to solve.
- .svn (or CVS)
- conflict

(symbolic link can't be usable for such a purpose)


D3 module:
/var/www/xoops2.2/modules/(module)/wrapper (core from xoops.org)
/var/www/xoops-jp/modules/(module)/wrapper (core from xoopscube.jp)
/var/www/oreteki/modules/(module)/wrapper (core from marijuana.ddo.jp)
/var/xoops_trust_path/modules/LOGICS

All you have to do is editing files under XOOPS_TRUST_PATH.


If you are a adminitrator of many sites in a server, you can enjoy the same merit.

When a D3 module is updated, you have to overwrite files just under XOOPS_TRUST_PATH once, even if you have 10 or 100 sites in the server





You can read more news at PEAK XOOPS.
http://xoops.peak.ne.jp

The URL for this story is:
http://xoops.peak.ne.jp/md/news/index.php?page=article&storyid=107