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

Mailing List Archive: Zope: Dev
RFC: zope.app.pagetemplate.engine dependencies
 

Index | Next | Previous | View Flat


tseaver at palladion

May 25, 2009, 9:37 AM


Views: 536
Permalink
RFC: zope.app.pagetemplate.engine dependencies

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Resolution #1
=============

Whereas:

- - The 'zope.app.pagetemplate.engine' module pulls in nothing from
'zope.app' packages except some antique testing support in doctest;

- - that module is potentially useful outside the scope of the Zope3 ZMI;

therefore be it resolved:

- - that we move the 'engine' module to 'zope.pagetemplate', along with
its supporting scaffolding, and clean up the tests.


Resolution #2
=============

Whereas:

- - The 'evaluateInlineCode' support in the 'engine' module has
no tests;

- - its comments indicate that it exists to support 'zope.app.pythonpage',
which doesn't even import the module;

- - third-party consumers of the feature have a recently-released version
of the egg which they can continue using indefinitely;

therefore be it resolved:

- - that we remove the code entirely, documenting the backward
incompatibility in a new feature release.


Resolution #3
=============

Whereas:

- - In Zope2, the 'Products.PageTemplates.Expressions' module depends
on the 'zope.app.pagetemplates.engine' module, but only uses its
'ZopeEngine' class;

- - Zope2 further supplies its own context class (to avoid using the Zope3
security model);

- - one remaining bit of non-overridden functionality is the Zope3-
proxified 'getFunctionNamespace' wrapper, which probably won't work
at all as intended;

- - the other bit is the use of the AdapterNamespaces bit, which feeds
into the 'getFunctionNamespace' bit;

therefore be it resolved:

- - that we forego using the 'ZopeEngine' class completely in Zope2,
providing instead a forked / simplified implementation.


Debate, anyone?


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKGsle+gerLs4ltQ4RAgNKAJwOyvPTdkV40l6YaE7LgXNvts9eagCdHlRF
WYPBpVkAXT7nBhX9hSTj9rY=
=5xWq
-----END PGP SIGNATURE-----

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

Subject User Time
RFC: zope.app.pagetemplate.engine dependencies tseaver at palladion May 25, 2009, 9:37 AM
    Re: RFC: zope.app.pagetemplate.engine dependencies chrism at plope May 25, 2009, 9:50 AM
        Re: RFC: zope.app.pagetemplate.engine dependencies hannosch at hannosch May 25, 2009, 10:10 AM
    Re: RFC: zope.app.pagetemplate.engine dependencies faassen at startifact May 25, 2009, 12:15 PM
        Re: RFC: zope.app.pagetemplate.engine dependencies tseaver at palladion May 25, 2009, 1:13 PM
    Re: RFC: zope.app.pagetemplate.engine dependencies tseaver at palladion May 25, 2009, 1:08 PM
    Re: RFC: zope.app.pagetemplate.engine dependencies tseaver at palladion May 25, 2009, 6:36 PM

  Index | Next | Previous | View Flat
 
 


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