J4 Issue ?
avatar mbabker
mbabker
21 Feb 2017

Joomla out of the box already has pretty decent support at the Framework level for non-HTML views and this is used somewhat decently in core. But there are places we can do better. This will require improving the standards for merging code and the documentation on writing extensions, especially plugins.

For 4.0:

  • All views should dispatch appropriate plugin events (try using fields with com_content feeds, you can't without a massively hacky solution)
  • All core features should architecturally work regardless of view format (we're mostly there now, the data model isn't too bad overall)
  • Feature consideration/testing should expand as practical for non-HTML cases (especially important if a webservice architecture lands in core)

Why 4.0? Plugins rightfully assume they only run in an HTML context; aside from system events that's basically the truth. So it would be a B/C break for them to be required to check format/context more carefully.

avatar mbabker mbabker - open - 21 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 Feb 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Feb 2017
avatar nibra
nibra - comment - 22 Feb 2017

+1. Making the core view format (output channel) agnostic would be a big step into the right direction.

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category Feature Request
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Status New Ready to Commit
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Status Ready to Commit Needs Review
avatar laoneo
laoneo - comment - 13 Apr 2017

What would be the required steps to achieve that? I think it is really needed that we stop thinking the world is just HTML.

avatar mbabker
mbabker - comment - 13 Apr 2017

Non-HTML views need to trigger all of the normal plugin events and plugins need to be updated to account for being triggered from a non-HTML view (like the email cloaking plugin, that shouldn't cloak the email address for non-HTML but it supports a {emailcloak=off} shortcode that would need to be stripped regardless of output format). That's basically the gist of it, but it's something that will require some adequate testing for each change (triggering the events is easy but working through the plugins will probably take a bit more time).

avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar mbabker
mbabker - comment - 3 Apr 2018

I don't see interest here. Everyone's too focused on the HTML producing aspect of Joomla with minimal interest in non-HTML use cases except for the webservices GSoC project. There's a part of me that feels like we're better off dropping non-HTML view support to be honest, but alas, second class non-HTML support is better than nothing.

avatar mbabker mbabker - close - 3 Apr 2018
avatar mbabker mbabker - change - 3 Apr 2018
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2018-04-03 12:05:09
Closed_By mbabker
Labels Added: J4 Issue

Add a Comment

Login with GitHub to post a comment