There are too many FOF libraries

For Joomla! 3.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Post Reply
annahersh
Joomla! Guru
Joomla! Guru
Posts: 557
Joined: Wed Aug 15, 2018 8:23 pm

There are too many FOF libraries

Post by annahersh » Sat Apr 27, 2019 6:58 pm

The FOF library shipped with Joomla seems to be compiled of non-extendable classes so developers who need a method to process differently just make a duplicate of the entire directory, alter the directory name and ship with their extension.
  • fof - Joomla
  • fof30 - Akeeba
  • f0f - J2Store
fof-overwhelmed.jpg
This just overloads the file count and poses potential vulnerability if a method is corrected in the Joomla package yet one of the other fof duplicate still has the vulnerable method in use.

There need to be a standardization of the fof library with extendable classes so developers can place their extended libraries in a directory of the extension's name and let there be only one fof belonging to Joomla.
You do not have the required permissions to view the files attached to this post.
Last edited by toivo on Sat Apr 27, 2019 7:21 pm, edited 1 time in total.
Reason: mod note: moved, not related to Sites & Infrastructure

User avatar
sozzled
Joomla! Champion
Joomla! Champion
Posts: 7335
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: There are too many FOF libraries

Post by sozzled » Sat Apr 27, 2019 7:08 pm

Yep. I agree. HMVC (implemented—in different ways—as framework-on-framework by Akeeba, Joomla and J2Store and very differently again by Kunena) is non-standardised. I suppose because HMVC was an afterthought when J! 3 came into existence and there wasn't a HMVC working party established to define standards for J! 3. Perhaps it's something that should be investigated while J! 4 is still in alpha development? I don't know. I have to admit that I know beans about HMVC. I think it's too late to do anything now as far as J! 3 is concernced.
https://www.kuneze.com/blog
Former member of Kunena project team
If you think I’m wrong then say “I think you're wrong.” If you say “You’re wrong!”, how do you know?


Post Reply

Return to “Joomla! 3.x Coding”