Is there any good recommendation for developing Joomla 1.5?

I recently hacked some of the basic components and modules of Joomla 1.5, and always every time I go into it, I end up tearing my hair out because I just don’t understand how the MVC pattern works. Some examples of the problems I am facing:

  • How does a view access the model?
  • How do you switch to another view?
  • How can you include the correct file that defines the model?
  • and etc.

I am sure there are very simple answers to all my questions: my main problem is that in general I don’t feel that the “documentation” is generally useful and definitely does not provide enough information on how to develop / modules in a new style MVC The API website is almost worse than useless, since all it provides are function class trees, with almost no comments. The docs website is for administrators and core developers only.

Is there any useful source of information for web developers using Joomla 1.5?

+3
source share
2 answers

, , docs: http://docs.joomla.org/Category:Development , Joomla! Framework LOT .

, display() , . , , HTTP- view . view , . - display() , view, , , parent::display(). , mylist:

function display()
{
    $view = JRequest::getVar('view', '');

    if ($view == '') {

        JRequest::setVar('view', 'mylist');

    }

    parent::display();
}

, . $this->get(). , getPreferences(), $this->get('preferences') .

+3

All Articles