requirement
avatar mbabker
mbabker
23 Apr 2013

Some of the JHtml stuff will be particularly useful for rendering certain elements (unless someone has a better idea). So, port over the tracker's JHtml classes (and any non-media loading dependencies from the Platform code since that depends on JDocument). For the sake of all that is sane, let's not recreate JHtml::_(), just directly call the classes.

Component specific helpers should be in the Joomla\Tracker\Components\<component>\Html namespace and general helpers that we can recycle should be in the Joomla\Tracker\Html namespace.

avatar mbabker mbabker - open - 23 Apr 2013
avatar mbabker mbabker - open - 23 Apr 2013
avatar b2z
b2z - comment - 14 May 2013

We are now using renderer. So I think we should try to use Twig's macros, because registering every JHtml function to Twig is not the best approach, but registering the whole class is slow according to this comment.

avatar mbabker
mbabker - comment - 22 Jul 2013

What if anything do we need to do with this one at this point?

avatar - close - 11 Aug 2013
avatar mbabker
mbabker - comment - 11 Aug 2013

Closing. I think we've figured out well enough how to work with what we have now.

Add a Comment

Login with GitHub to post a comment