enhancement
avatar mbabker
mbabker
17 Feb 2017

In the Framework, Joomla\Model\ModelInterface and abstract classes are deprecated and removed in the 2.0 branch; the functionality is replaced with feature specific interfaces and traits.

The view package's dependency to the model package is deprecated and removed in the 2.0 branch. This means the Joomla\View\BaseHtmlView constructor only has one argument; the Joomla\Renderer\RendererInterface implementation and the Joomla\View\BaseJsonView and Joomla\View\AbstractView classes have no default constructor.

So our model and view structure will need some cleanup for this. For the view class stuff, this should basically mean adding an extended constructor in JTracker\View\AbstractTrackerHtmlView with the model argument. Since the interfaces in the Framework's model package might not always apply to all of our models (unless they really all are database and state aware), we'll probably need an empty JTracker\Model\ModelInterface our models implement to satisfy this.

avatar mbabker mbabker - open - 17 Feb 2017
avatar mbabker mbabker - change - 17 Feb 2017
Labels Added: enhancement
avatar mbabker mbabker - labeled - 17 Feb 2017
avatar mbabker mbabker - edited - 17 Feb 2017

Add a Comment

Login with GitHub to post a comment