11
redheadedrod
update...

After some tinkering I have come up with something for this. I hope to have something viable soon. Since I will be starting up classes in the fall if I don't have anything viable before Sept 1st I don't expect anything soon.

Going to attempt to make a system to make what I am now calling universal modules that will allow all current Xoops modules to be modified. There will be a "core library" that includes functions to access core functions as well as frameworks. The idea is modules written with the more generic code of this will work with any system the "core libraries" are written for.

It is not necessary but it is intended to strip out the backbone functions of the modules and put them into a module library so other modules can also access the main work functions thus not requiring add-ins to make use of the module functions.

Until XE is available and stable I expect to make this work first with X2 and go from there.

I plan to consolidate the frameworks so any similar functions are done once. Also when PEAR functions are available for non CMS core functions I will use those when redoing modules. Some of these frameworks were designed with php4 in mind so I will be setting them up for php5.

The intention is to be able to bring up many of the orphaned modules to work with 2.4.5/2.5.x and know they should work with XE as well. This should also work with most any Xoops branch by building a core library for them. Thus you should be able to use most any xoops module in any supported system once they have been converted.

For the next school year I will have limited time to work on this so we shall see how it goes. I will be working 65 hours a week plus taking a couple classes at a time towards my BS in information security. I hope to cut out the second job after the school year is over so I should have more time to work on this at that time.

Rodney


12
Mamba
Re: update...
  • 2011/7/31 22:15

  • Mamba

  • Moderator

  • Posts: 11253

  • Since: 2004/4/23


Sounds like a very interesting and challenging project!

Good luck and happy coding!

And keep us posted about your progress.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

13
redheadedrod
Re: update...

I will. I found out I will be having a short break (2 weeks) before I start my fall classes. I haven't setup my classes for the fall yet but I will be taking classes that will directly pertain to my Xoops projects first. My Degree will be in "Information Security and Intelligence". Which basically means I will be a network/internet security specialist with some training with GIS, and Forensics. I am also looking into adding on a CIS degree which will be programming. Both have classes in writing technical documentation and training others so it should be a solid back ground to help out with some seriously helpful projects down the road. It will be helpful though if the XE documentation on how to best program plugins and applications gets written in english soon so I can take that into account as I build this. I would like it to be as easy to plug into XE as possible.


14
Mamba
Re: update...
  • 2011/8/1 1:33

  • Mamba

  • Moderator

  • Posts: 11253

  • Since: 2004/4/23


Quote:
network/internet security specialist

Nice! We can always use one here!

But I am sure, it will keep you busy for a while!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

15
redheadedrod
Re: Making Libraries of functions to be used in many modules? Action Ques? X2 and X3 related..

Well I expect more free time than I have had in the past almost 5 years when I am able to quit the secondary job and only do school work. I expect it to take me about 4 years for my first degree but I plan to get more and more involved here as I can. The second degree will be as I said before, software engineering.. May only take an additional year because I am going to try and match them both up as much as I can.

I have other projects in mind as they come up in my classes but this project will be the back bone of the rest I plan to do.

16
deepak267
Re: Making Libraries of functions to be used in many modules? Action Ques? X2 and X3 related..
  • 2011/8/1 11:04

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Very interesting concept to read.


I was wondering if there are any paln to standardise and the images and make a single look and feel (icons like home, navigation, print etc). at present each module have their own icons.

I wish you all the best for your studies.

Deepak

17
redheadedrod
Re: Making Libraries of functions to be used in many modules? Action Ques? X2 and X3 related..

This has been an Idea that I have been developing over the past year. Having gone through some of the modules we have and seeing how different they are and how the wheel keeps getting reinvented I came up with this to try and reduce the code base on stuff and make building new modules much quicker. With the intent of making reusable code I will definitely be looking at trying to make modules look the same. I will keep this in mind. But it will be more dependent on who converts the modules than anything else. We have not had many "blue move" modules. This would be a step beyond the "blue move".

extgallery and extcal both make use of the Pear libraries and we should be doing this anyhow. I have made mention of how I want to redo some things elsewhere on the site but I cringe when I think of all the redoing of code to make things work. So I have been planning this to help with that. It WILL require the PEAR libraries get installed but this is the default case since I thought I read like PHP 5.2 something. Checking for dependencies will be a new thing for X2 as well. So we shall see how well it goes. I have some other things in mind too but until I have something viable there is no point in mentioning them.

18
Mamba
Re: Making Libraries of functions to be used in many modules? Action Ques? X2 and X3 related..
  • 2011/8/1 18:33

  • Mamba

  • Moderator

  • Posts: 11253

  • Since: 2004/4/23


Quote:
I was wondering if there are any paln to standardise and the images and make a single look and feel (icons like home, navigation, print etc). at present each module have their own icons.

Did you download and test the Basic Module Pack? That's exactly what it does - provides common icons/images by using the ModuleAdmin class.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

19
redheadedrod
Re: Making Libraries of functions to be used in many modules? Action Ques? X2 and X3 related..

I think they were talking about in general. Not just the admin but in the user side of the modules as well.

That is something I will look at as well. I may just include the crystal library in a "universal" image directory and use those icons for everything. I may also setup routines to be used by the different modules so that they can be shared amoung the modules. Thus it makes module writing easier to do since most of the work is already done for you. Just call the routines to setup what you want and everything runs the same.

Such as preferences, permissions, settings and some of that sort of thing.

Rodney

20
Mamba
Re: Making Libraries of functions to be used in many modules? Action Ques? X2 and X3 related..
  • 2011/8/2 0:30

  • Mamba

  • Moderator

  • Posts: 11253

  • Since: 2004/4/23


Quote:
I think they were talking about in general. Not just the admin but in the user side of the modules as well.

The Backend and the Frontend of the module can both access the icons from the ModuleAdmin. If you look at the modified News module from the Basic Module Pack, the "Edit" or the "Delete" icons are both coming from:
/Framework/moduleclasses/icons/16

which is set as:

$pathImageIcon

then you can use as:

<img src=".$pathImageIcon."/edit.png


The goal is to have the same icons for the same action, regardless if it in the Backend or Frontend of the module.

Quote:
Thus it makes module writing easier to do since most of the work is already done for you. Just call the routines to setup what you want and everything runs the same.

That's what TDMCreate will be helpful for. I should release the new Beta sometime this week.

There were some issues with the recent update, but I think, I fixed them and I am back on track for this week
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

61 user(s) are online (16 user(s) are browsing Support Forums)


Members: 0


Guests: 61


more...

Donat-O-Meter

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

Latest GitHub Commits