1 オーソドックス
xoops_trust_path/modules/xcore
├── actions
├── admin
├── blocks
├── class <-- ここに現在の html/core を入れ込む
├── forms
├── images
├── include
├── index.php
├── kernel
├── language
├── lib
├── preload
├── service
└── templates
└── xoops_version.php
2 PSR-0準拠 コードとリソースをより分離
xoops_trust_path/modules/xcore
├── index.php
├── resources
│ ├── public
│ │ ├── css
│ │ ├── images
│ │ └── js
│ └── templates
├── src
│ └── XCore
│ ├── Action
│ ├── Admin
│ ├── Form
│ ├── Kernel <-- ここに現在の html/core を入れ込む
│ ├── Preload
│ └── Service
└── xoops_version.php
3 PSR-0準拠 Symfony2ライク
├── index.php
├── src
│ └── XCore
│ ├── Action
│ ├── Admin
│ ├── Form
│ ├── Kernel <-- ここに現在の html/core を入れ込む
│ ├── Preload
│ ├── Resources
│ │ ├── public
│ │ │ ├── css
│ │ │ ├── images
│ │ │ └── js
│ │ └── templates
│ └── Service
└── xoops_version.php
第6案 A : (単体テスト、結合テスト置き場を追加)