1
It seems to me that there is a trend which I am not sure is a good one. Now, families of modules are requiring their own frameworks (to borrow a word) to be installed in the XOOPS root directory or elsewhere. This procedure is required for PHPPP's family of modules as well as for some of the Smartfactory modules. I understand (I think) the reasoning behind this: install common things just once instead of with each module, but the way it is being implemented seems to me to be counterproductive. The more steps there are in installing a module, the more room for error, the higher the probability of problems, the higher the number of requests for assistance, the heavier the burden on those who can help, and so on.
For example, take the installation of the Article module. If I understand it correctly, here are the steps:
1. Download Article
2. Since it requires Frameworks 1.10, download this
3. Since it requires Xoopseditor 1.10, download this
4. Extract Article to local disk
5. Find the article folder, buried 3 levels down, and FTP this to the modules directory. (Actually, I do this differently since FTP'ing multiple folders and files causes problems for me, but that's another story)
6. Extract Frameworks to local disk
7. Find the Frameworks directory, and FTP this to the proper locations
8. Extract Xoopseditor to local disk
9. Find the Xoopseditor folder and FTP this to the proper location
10a. (2.2 users) Now, you have to download the whole of XOOPS 2.0.16 just to get 2 files
10b. Extract 2.0.16, find the 2 files, and upload these to the proper location
10c. Since you are using 2.2 and don't need multiple megabytes of 2.0.16 taking up space on your hard drive, delete all of this extra junk
11. Go to modules admin, install the module, and test it
12 When it doesn't work, because somewhere along the way, you have missed, skipped, or screwed up a step, spend a lot of time trying to figure out why
13. When you can't figure it out, open a fresh bottle, get a long straw, and proceed to become inebriated
14. Once good and inebriated or when the bottle is empty, whichever comes first, swallow your pride and go hat-in-hand to the XOOPS forums and timidly ask for help, knowing all the while that it is your fault because you did something really stupid which any kindergartener should have been able to spot
Come on, there must be a better way. Mustn't there?
(Going to show the true depth of my ignorance, now)
Why, for example, can't the whole mess be included in one tar.gz file (so as to extract properly in cPanel which many use) which would then be uploaded to the XOOPS root folder and extracted? Each file would then extract to its correct location automatically.
"But," you say, "having the Frameworks files in place means that they do NOT have to be continually uploaded with each new module in the family." Well, so it does. The solution might be to have two tar.gz files: one WITH Frameworks, and one WITHOUT. Considering the many extra support requests saved, this seems to be a good investment of time.
I'm sure that there are 30 or 40 really good reasons why this can't be done, but still, there must be a better way. Mustn't there?
JFM
...