xoops forums

redheadedrod

Home away from home
Posted on: 2015/5/21 23:50
redheadedrod
redheadedrod (Show more)
Home away from home
Posts: 1296
Since: 2008/2/26
#41

Re: The future of XOOPS?

MVC is what is being taught currently in school so ADR must be relatively new. We had extensive work in an MVC Java based environment last year and I expect it to be pushed further as I finish my degree. Doesn't mean schools can't be a little behind especially if the professors are not familiar with it either.

But in any manner. MVC, or whatever similar structure would be much better than the current structure.

As to modules... There really are significant changes that need to be made to them to take full advantage of 2.6. Things such as Smarty 3, Services Manager, Doctrine, Composer just to name a few...

So really, modules need to be better configured so they can be more easily updated to take advantage of what 2.6 has to offer.

redheadedrod

Home away from home
Posted on: 2015/5/21 23:56
redheadedrod
redheadedrod (Show more)
Home away from home
Posts: 1296
Since: 2008/2/26
#42

Re: The future of XOOPS?

A couple more notes about MVC that we worked on in class...

The idea was that any one of the portions could be replaced with totally different code that had the same entry points.

This also makes things MUCH easier for unit testing as well as we had to demonstrate in our projects.

For our first MVC project we had to make the code work with a GUI and with a console based text output. It was a pretty complex program and it had to work equally well in either View...

Then we could take our Model and totally change the functions in another project and make it do something totally different with the same Controller and View.

It made the power of MVC very visible and made it make a lot more sense. If ADR is capable of this then I certainly wouldn't be against it either but the main point is that the change to the structure of the module makes for much easier testing, maintaining and updating.

Mamba

Moderator
Posted on: 2015/5/22 1:06
Mamba
Mamba (Show more)
Moderator
Posts: 10777
Since: 2004/4/23
#43

Re: The future of XOOPS?

Quote:
If ADR is capable of this

Please read the articles I've provided links to - they are very good! And it's a good learning...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 2015/5/22 7:37
Mamba
Mamba (Show more)
Moderator
Posts: 10777
Since: 2004/4/23
#44

Re: The future of XOOPS?

Quote:
Make an API with Samin

Julio, you totally confused me with this
I thought, that Samin is something like FRAPI, i.e. a API Framework to generate API.
But when I googled for it, Google couldn't find any "API Samin". Only through extended searches I finally found out that you just misspelled the name, and that it should be "Sami" without the "n", and that it was not a "API Generator", but only API Documentation Generator

In this case, we already have it for over a year, and we even created a special Website for it: http://api.xoops.org/

There you can find two API documentation, generated with:

a) Doxygen
b) Apigen

The Apigen version has a nice overview of Namespaces that you were interested in.

FYI - as far as RESTful web services libraries, Richard was looking at Guzzle.

I hope, this addresses your suggestions, but also provides a good way to learn more about the XOOPS 2.6.0 architecture.

Also, regarding modules: once Eduardo integrates Common Utilities into Core, his modules will be available as "native modules", and we might use them as the "official modules" (with appropriate function to import data from existing modules), or convert existing modules to the new GUI standard, or mix of both. One way or the other, we should end up with some very cool looking modules!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

JulioNC

Quite a regular
Posted on: 2015/5/22 16:03
JulioNC
JulioNC (Show more)
Quite a regular
Posts: 239
Since: 2004/10/8
#45

Re: The future of XOOPS?

Thank you so much for all the information you have provided.
Also, I so appreciate all of the information you've provided below which I will review and.

Dante7237

Friend of XOOPS
Posted on: 2015/8/25 14:08
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#46

Re: The future of XOOPS?

Quote:

Also, regarding modules: once Eduardo integrates Common Utilities into Core, his modules will be available as "native modules", and we might use them as the "official modules" (with appropriate function to import data from existing modules), or convert existing modules to the new GUI standard, or mix of both. One way or the other, we should end up with some very cool looking modules!


Anxiously waiting on this. I really like the look and feel of the bXpress forum module, but installing a framework for a single module isn't what I feel is the ideal way to go. I will fiddle with NewBB until 2.6 and the integrated Common Utilities are ready.