[Grok-dev] Re: Neanderthal sprint topics

Tres Seaver tseaver at palladion.com
Wed Oct 3 13:32:49 EDT 2007


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

Sebastian Ware wrote:
> In Turbo Gears, the main motivation of having to push all of the data  
> explicitly to the template was to make it easy to  access the same  
> view method (skipping the template) for ajax stuff.

Testability (of the view) and maintainability (of the template( goes up
in push mode, too.  What if the "compromise" is to add a base class
whose namespace generator pushes the traditional TAL bindings;  people
who want to use those names from Genshi templates can then derive from
that class, while those who want "purer" push can use the base (whose
'namespace' method might just raise NotImplementedError).


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

iD8DBQFHA9JB+gerLs4ltQ4RAoJjAJ9iBITGaWr407nAnsdaYDeQJhdEvgCg1i0+
sG4L3Z4isHdieFv0+2TNmkI=
=8mkx
-----END PGP SIGNATURE-----



More information about the Grok-dev mailing list