[Framework-Team] Middleware render on Plone 5

Timo Stollenwerk tisto at plone.org
Tue Oct 1 15:10:51 UTC 2013


Am 01.10.2013 16:58, schrieb Martin Aspeli:
> Hi,
> 
> 
> On 1 October 2013 14:03, Ramon Navarro Bosch <ramon.nb at gmail.com
> <mailto:ramon.nb at gmail.com>> wrote:
> 
>     Since we are moving to Diazo I have the bad feeling that rendering
>     twice the page is a waste of energy and a possible missunderstanding
>     for integrators / developers ( we will have the frontend, the
>     backend of widgets, the native rendering ... )
> 
>     During these days in Brazil, we've been discussing if it's possible
>     to change the main_template to export the structure of plone instead
>     of a rendered page, different sections with the viewlets, with the
>     portlets, the content, .... and on diazo rules it would be much
>     easier to define the rules. As right now is the moment to discuss
>     about this subject(diazo theme is really in early step and plone5 is
>     a possible target to change this), my idea is to talk about it today
>     at FWT meeting if it's ok with you.
> 
> 
> So to check my understanding: you are saying main_template exposes
> something very simple, e.g. a pile of divs with sensible ids, and then
> Diazo makes it visually appealing?
> 
> If so, that makes sense to me, at least once we have good "out of the
> box" Diazo themes.

Yes. This was the plan. Right now we are using plonetheme.classic as
Plone 5 theme and we might be able to remove a lot of code once we have
this minimal theme. We will have to make a decision regarding backwards
compatibility vs. clean HTML/XML code though.

Timo


More information about the Framework-Team mailing list