Re: Plugin architecture

2009-04-29 Thread Brennan Todd
I've been having some luck using Trac's component architecture to create plugins for my pylons project. Each plugin is installed using easy_install, and registers itself with a certain entry point name, which is discovered by the pylons app during startup. I have - a Component which adds new d

Re: Plugin architecture

2009-04-29 Thread Noah Gift
On Thu, Apr 30, 2009 at 2:09 AM, Brennan Todd wrote: > I've been having some luck using Trac's component architecture to create > plugins for my pylons project. It would be pretty badass if there was a Pylons project shell that had Trac like plugins that was open sourced. Each plugin is instal

Re: Pylons ppt slides for quick demo

2009-04-29 Thread karikrishni
Thanks Arun.. It helped me to prepare basic presentation On Apr 28, 10:35 am, Arun Tomar wrote: > hi! > > i think, this should help. > > http://www.slideshare.net/ches.martin/pylons-an-overview-rapid-mvc-we... > > On Tue, Apr 28, 2009 at 8:23 AM, karikris...@gmail.com < > > karikris...@gmail.com

Mailer for Pylons

2009-04-29 Thread karikris...@gmail.com
Hi All, I have email messages send around 10 places. We use mako templates. Currently we use smtplib and rendered output to send email. Do we have any mailer component integrate email and mako together? --~--~-~--~~~---~--~~ You received this message because you

Re: ProfileMiddleware problem?

2009-04-29 Thread Ross Vandegrift
On Tue, Apr 28, 2009 at 07:17:17PM -0500, Ian Bicking wrote: > I think there's been some changes to the middleware and to the Python > profiling module, which may be leading to this (older versions of Python > required replacing sys.stdout to capture the profiling output, later > versions stopped

Re: Plugin architecture

2009-04-29 Thread Ian Bicking
On Mon, Apr 27, 2009 at 2:22 PM, Jonathan Vanasco wrote: > The way Pylons works, you can't really consolidate all the Plugin > stuff as 'neatly' as with other systems: ie- you can't really do an > isolated tree that offers it's own MVC directories. > > But you can do something where you can import

Unable to get access to c variable to close out my sqlalchemy session

2009-04-29 Thread csismondo
I have a session_maker at the g instance that hands out sessions and stores a reference to them at c. Then, on the __after__ I close out the c.session with: if c.session: c.session.close() This works great, except when I get a 500 error. The __after__ call fires, but the c.session is no lon

Re: Plugin architecture

2009-04-29 Thread chrism
This is likely relevant to all the above discussion: http://docs.repoze.org/plugin/ and: http://svn.repoze.org/repoze.plugin/trunk/ At least its my best shot at creating something like the ZCA without most of the baggage (no interfaces, no XML). --~--~-~--~~~---~-

Re: Plugin architecture

2009-04-29 Thread erob
In notmm I like forgetting about this "plugin" belief. I prefer thinking of them as "stand-alone" applications, thus increasing their usability and "raison d'etre" in a sense. Who wants to be a plugin ? X-) Cheers! erob On Apr 29, 10:14 am, Noah Gift wrote: > On Thu, Apr 30, 2009 at 2:09 AM,

Re: Mailer for Pylons

2009-04-29 Thread Tomasz Narloch
karikris...@gmail.com pisze: > Hi All, > > I have email messages send around 10 places. We use mako templates. > Currently we use smtplib and rendered output to send email. > > I had similar problem. I create email table in database and add every email to database (with subject, text, sender,