What's the relationship between JDocument and JView in Platform?

40 views
Skip to first unread message

Clippit Zhang

unread,
Jul 25, 2012, 2:52:07 AM7/25/12
to joomla-de...@googlegroups.com
to be more specific, JDocumentHTML and JViewHtml? It seems the former has more features while the View in new MVC is quite simple.

Rouven Weßling

unread,
Jul 25, 2012, 5:47:29 AM7/25/12
to joomla-de...@googlegroups.com
There isn't really any. The view is part of the MVC while JDocument is part of our templating system. When the CMS switches to the new MVC JView(HTML) will be used to render the component (and maybe module) output while JDocument will be responsible for stitching all the output together to render the page.

Rouven

On 25.07.2012, at 08:52, Clippit Zhang wrote:

to be more specific, JDocumentHTML and JViewHtml? It seems the former has more features while the View in new MVC is quite simple.

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/bmtBrVbx4hIJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.

Clippit Zhang

unread,
Jul 25, 2012, 8:56:46 PM7/25/12
to joomla-de...@googlegroups.com
Thanks!
And I have an additional similar question.What's the relation between JModelDatabase and JTable? Can JTable be used as JModel in new MVC?

在 2012年7月25日星期三UTC+8下午5时47分29秒,Rouven Weßling写道:
There isn't really any. The view is part of the MVC while JDocument is part of our templating system. When the CMS switches to the new MVC JView(HTML) will be used to render the component (and maybe module) output while JDocument will be responsible for stitching all the output together to render the page.

Rouven

On 25.07.2012, at 08:52, Clippit Zhang wrote:

to be more specific, JDocumentHTML and JViewHtml? It seems the former has more features while the View in new MVC is quite simple.

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/bmtBrVbx4hIJ.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.

Rouven Weßling

unread,
Jul 26, 2012, 5:38:01 AM7/26/12
to joomla-de...@googlegroups.com
It certainly could but there's currently no boilerplate code for that.

Rouven

To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/bVb3TEda0kMJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages