I am writing my first Joomla component. I found there are 3 so called entry points.
- installer
- site entry
- admin entry
I'd like to use some common utility classes by all of these entry points. These classes should be part of this component only, and should be installed in the package I make from this component.
What is the best practice to copy, register and load these classes? I found there is a JLoader, which you can use to register and load classes, but nothing more. It is not clear how to copy these classes, since their folder is on the same level as site and admin folders which are copied by install.
It is not clear either how to register these classes without adding any code to the entry points. Ofc. if that is not possible then I can live with that. I don't want to use PHP namespaces, since Joomla does not use them and I want to stay joomlish. :D