Re: SQLAlchemy Doc
Try looking in the 'Pylons Cookbook' section of the wiki, there is some user maintained tutorials there. You may find SQLAlchemy 0.3 for people in a hurry' useful. Brendan On Fri, May 23, 2008 at 4:31 PM, ramius828 [EMAIL PROTECTED] wrote: The current 'Using SQLAlchemy with Pylons' doc requires SQLAlchemy version 0.4.3. Is there an older doc around with instructions that would work with SQLAlchemy 0.3.11? Are prior doc versions kept some place? Thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Cross-Project code sharing...modules/plugins what does Pylons use?
On Sat, 2008-05-24 at 16:21 -0700, Mike Orr wrote: But then that gets into the issue of the site template. If the inner app should be shown within the global header and sidebar, then you'd have to inherit the site template -- which doesn't work well across apps, plus you'd have to know what variables to set for the site template. Or the outer app could have a controller ACTION (not a whole controller) that calls the inner app to get the page content, and then plugs that into its template. The action could emulate a WSGI server, possibly using WebOb's application-wrapper for convenience. Long ago the topic of portlet-style sites came up on this list and Ian suggested using a subrequest and paste.recursive. Wouldn't a web helper that could do a subrequest be a possible solution? Rather than the plugin inheriting the site template, the site template would perform a subrequest to retrieve the plugin's html. 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 -~--~~~~--~~--~--~---
Re: Cross-Project code sharing...modules/plugins what does Pylons use?
On Sun, May 25, 2008 at 11:49 AM, Cliff Wells [EMAIL PROTECTED] wrote: On Sat, 2008-05-24 at 16:21 -0700, Mike Orr wrote: But then that gets into the issue of the site template. If the inner app should be shown within the global header and sidebar, then you'd have to inherit the site template -- which doesn't work well across apps, plus you'd have to know what variables to set for the site template. Or the outer app could have a controller ACTION (not a whole controller) that calls the inner app to get the page content, and then plugs that into its template. The action could emulate a WSGI server, possibly using WebOb's application-wrapper for convenience. Long ago the topic of portlet-style sites came up on this list and Ian suggested using a subrequest and paste.recursive. Wouldn't a web helper that could do a subrequest be a possible solution? Rather than the plugin inheriting the site template, the site template would perform a subrequest to retrieve the plugin's html. It could. I'm not really a fan of subrequests, seems like a lot of overhead. But in some cases it may be the simplest solution. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Cross-Project code sharing...modules/plugins what does Pylons use?
On Sun, 2008-05-25 at 15:27 -0700, Mike Orr wrote: On Sun, May 25, 2008 at 11:49 AM, Cliff Wells [EMAIL PROTECTED] wrote: On Sat, 2008-05-24 at 16:21 -0700, Mike Orr wrote: But then that gets into the issue of the site template. If the inner app should be shown within the global header and sidebar, then you'd have to inherit the site template -- which doesn't work well across apps, plus you'd have to know what variables to set for the site template. Or the outer app could have a controller ACTION (not a whole controller) that calls the inner app to get the page content, and then plugs that into its template. The action could emulate a WSGI server, possibly using WebOb's application-wrapper for convenience. Long ago the topic of portlet-style sites came up on this list and Ian suggested using a subrequest and paste.recursive. Wouldn't a web helper that could do a subrequest be a possible solution? Rather than the plugin inheriting the site template, the site template would perform a subrequest to retrieve the plugin's html. It could. I'm not really a fan of subrequests, seems like a lot of overhead. But in some cases it may be the simplest solution. As I understand it, paste.recursive turns local subrequests into a function call(s) rather than actually making another HTTP request. So there will undoubtedly be a small amount of additional overhead, but not as much as a full subrequest would normally incur. 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 -~--~~~~--~~--~--~---