@roba121 said:
At the end of the day its a badly written tutorial that doesn't reflect what any of the core devs write,
@OzPeter said:
I'd dispute you on this. This tutorial is included as part of the Joomla! site, so it is the public face of Joomla!. As such I hold the people who wrote this code to a higher standard than if it was on some Joe Blogs website.
I just meant that the tutorial is wrong and they do not in fact do it that way in the code. So as far as actually doing something sucky they don't, of course misleading new devs into thinking this is ok, is a whole other problem. As far as it being their fault, totally right.
I'd suggest learning on com_weblinks, it follows there core MVC pattern but is simple enough to understand and work backwards from. Good Luck!