Hi,

I've been toying with the notion of having templates have more control
over how they are rendered by allowing them to request fragments from an
application.  I did a simple test implementation that simply used
urllib2 to call back into the Pylons application as a completely
separate request, and this works great except that it's obviously
inefficient.  Of course, in the apparent tradition of "Ian thought of it
first", I stumbled across this:

http://pythonpaste.org/module-paste.recursive.html

which would seem to be exactly what I'm looking for: a way to request
fragments from a WSGI app in an efficient manner.

This brings me to my questions.  Can this be used with Pylons?  If so,
how?  As middleware in config/middleware.py?  I'm afraid I'm a bit hazy
on how this works.  

Regards,
Cliff






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to