Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

standard_html_header & standard_html_footer in Zope 2.12

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


mbaiju at zeomega

Oct 13, 2009, 5:10 AM

Post #1 of 4 (341 views)
Permalink
standard_html_header & standard_html_footer in Zope 2.12

Hi,
Is standard_html_header & standard_html_footer
removed in Zope 2.12 ?

Regards,
Baiju M
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


hanno at hannosch

Oct 13, 2009, 12:24 PM

Post #2 of 4 (302 views)
Permalink
Re: standard_html_header & standard_html_footer in Zope 2.12 [In reply to]

On Tue, Oct 13, 2009 at 2:10 PM, Baiju M <mbaiju[at]zeomega.com> wrote:
>    Is standard_html_header & standard_html_footer
> removed in Zope 2.12 ?

Yes. I cleaned up the default persistent content in 2.12. There's only
an index_html (now a page template instead of a dtml method), the
favicon.ico and a standard_error_message.dtml.

Existing ZODB's won't be changed, so existing applications depending
on these templates will continue to work. For new installations these
files don't make any sense anymore. It's not like developing
applications inside the ZODB would be recommended or advertises by the
community any longer.

Hanno
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


mbaiju at zeomega

Oct 13, 2009, 8:22 PM

Post #3 of 4 (292 views)
Permalink
Re: standard_html_header & standard_html_footer in Zope 2.12 [In reply to]

On Wed, Oct 14, 2009 at 12:54 AM, Hanno Schlichting <hanno[at]hannosch.eu> wrote:
> On Tue, Oct 13, 2009 at 2:10 PM, Baiju M <mbaiju[at]zeomega.com> wrote:
>>    Is standard_html_header & standard_html_footer
>> removed in Zope 2.12 ?
>
> Yes. I cleaned up the default persistent content in 2.12. There's only
> an index_html (now a page template instead of a dtml method), the
> favicon.ico and a standard_error_message.dtml.
>
> Existing ZODB's won't be changed, so existing applications depending
> on these templates will continue to work. For new installations these
> files don't make any sense anymore. It's not like developing
> applications inside the ZODB would be recommended or advertises by the
> community any longer.

This is a good move, thanks for doing it.

It looks like we need to cleanup some more code, from Zope 2.12 branch:

$ find src/ -name "*.py"|xargs grep standard_html_header|wc -l
25

I think many of them has standard_html_header defined locally,
but few of them should be cleaned up.

Regards,
Baiju M
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


hanno at hannosch

Oct 16, 2009, 4:50 AM

Post #4 of 4 (278 views)
Permalink
Re: standard_html_header & standard_html_footer in Zope 2.12 [In reply to]

On Wed, Oct 14, 2009 at 5:22 AM, Baiju M <mbaiju[at]zeomega.com> wrote:
> On Wed, Oct 14, 2009 at 12:54 AM, Hanno Schlichting <hanno[at]hannosch.eu> wrote:
>> On Tue, Oct 13, 2009 at 2:10 PM, Baiju M <mbaiju[at]zeomega.com> wrote:
>>>    Is standard_html_header & standard_html_footer
>>> removed in Zope 2.12 ?
>
> It looks like we need to cleanup some more code, from Zope 2.12 branch:
>
> $ find src/ -name "*.py"|xargs grep standard_html_header|wc -l
> 25
>
> I think many of them has standard_html_header defined locally,
> but few of them should be cleaned up.

Please go forward and clean them up. Your help is much appreciated :)

Hanno
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.