"""
Pure optimization hack, globalizes entire view for speed. Yes
it's evil, but this hack will eventually be removed after
globals are officially deprecated.
YOU CAN ONLY CALL THIS METHOD FROM A PAGE TEMPLATE AND EVEN
THEN IT MIGHT DESTROY YOU!
"""
.... I don't see anything about punishment by death if you add more, just sort of a nebulous intent to remove globals at some point entirely. Certainly nothing saying that it's slow. No! It's "for speed"!
Ah...
Posted byoptiludeat
2008-02-07 11:24 AM
I think Alec may have removed it after Plone 2.5. It certainly use to. global_defines.pt is officially the most hated template in Plone. We want to nuke it. Unfortunately, too much third party code depends on it so it's painful to get rid of. :-(
As I said, technically it is a CMS. So yup.
Here's the docstring for globalize:
"""
Pure optimization hack, globalizes entire view for speed. Yes
it's evil, but this hack will eventually be removed after
globals are officially deprecated.
YOU CAN ONLY CALL THIS METHOD FROM A PAGE TEMPLATE AND EVEN
THEN IT MIGHT DESTROY YOU!
"""
.... I don't see anything about punishment by death if you add more, just sort of a nebulous intent to remove globals at some point entirely. Certainly nothing saying that it's slow. No! It's "for speed"!
Martin
Replies to this comment