Hi im trying to add a feature to a Joomla component and i don't know the Routing
of joomla very well, i know it is bad practice to use for example _construct
method of the main php file of the component to implement my need, but i don't know a better way tho.
As i found out routing in joomla is a bit complicated i mean there is buncha switch case stuff there and semi complicated things happening i followed one route and it was massive returning to Routing.php several times. I don't know how to implement mine btw and be exclusive while doing that i mean be the only one who triggered while calling the route.
I have a laravel background so i know MVC but this one is heavy.
Like what @Anant said i decided to write plugins. I asked my exact question here on the forum of the VirtueMart, Cause as i said in the comments i once asked it here and had no answer or even views was very low. List of virtuemart triggers is here