Hi ChristisKing,
I'll just answer your questions generically as you didn't ask for
specifics.
It sounds like you know MVC well, so just use MVC best practices with
Joomla. IE. Controllers pick the model, tell it to retrieve the data,
then controllers choose the view, and assign the model, and any other
data/variables it wants, to the view. Models should only retrieve and
store data, Views should not have to know which model got the data, and
the controller worries about all that. Your controller or sub controller
can assign any variable it wants to a view.
FYI, some of the Joomla core components and many third party extensions
have a bunch of logic in the views that using MVC best practices belong
in the controllers, but it doesn't have to be that way, so just use best
practices.
Brad.
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! CMS Development" group.
> To view this discussion on the web, visit
>
https://groups.google.com/d/msg/joomla-dev-cms/-/bmXrKJFlV-gJ.
> To post to this group, send an email to
joomla-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
joomla-dev-cm...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/joomla-dev-cms?hl=en-GB.