Re: Deployment Question

2008-05-24 Thread Shannon -jj Behrens
On Fri, May 23, 2008 at 2:26 PM, Jonathan Vanasco [EMAIL PROTECTED] wrote: On May 23, 3:48 pm, Mike Orr [EMAIL PROTECTED] wrote: This is quite interesting. I've been looking for a way to build a site scraper (something analogous to an aggregator but more site-specific) that could eventually

Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread rcs_comp
Hello all, I am new to the Python web-programming world and trying to decide on frameworks. I was really impressed with Django, but ran into some problems with IIS hosting. Since Pylons had really nice install instructions for IIS, I started to take a look and I like the philosophy. The WSGI

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Shannon -jj Behrens
On Sat, May 24, 2008 at 6:37 AM, rcs_comp [EMAIL PROTECTED] wrote: Hello all, I am new to the Python web-programming world and trying to decide on frameworks. I was really impressed with Django, but ran into some problems with IIS hosting. Since Pylons had really nice install instructions

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Wichert Akkerman
Previously rcs_comp wrote: However, I have run across a show stopper for me with Pylons unless I have missed something in the documentation. Does Pylons support some kind of module/plugin architecture that will allow me to develop plug- in functionality across Pylons projects? What would be

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Jose Galvez
how is this essentially different from tosco widgets? or just making a python module that you put someplace in your python path for your pylons app to find? Jose Wichert Akkerman wrote: Previously rcs_comp wrote: However, I have run across a show stopper for me with Pylons unless I have

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Wichert Akkerman
Previously Jose Galvez wrote: how is this essentially different from tosco widgets? or just making a python module that you put someplace in your python path for your pylons app to find? Because your add-ons may want to do things like add a new controller, replace a template, etc. Wichert.

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Mike Orr
On Sat, May 24, 2008 at 6:37 AM, rcs_comp [EMAIL PROTECTED] wrote: Hello all, I am new to the Python web-programming world and trying to decide on frameworks. I was really impressed with Django, but ran into some problems with IIS hosting. Since Pylons had really nice install

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Jonathan Vanasco
I *really* like how the modular approach can compartmentalize the necessary templates and controllers. I intensely dislike how the modular approach compartmentalizes the routing and model. If something is affecting the routing model, IMHO, it's not a plugin - its a standalone app. At

Mako unicode configuration

2008-05-24 Thread Brendan Arnold
Hi there, I don't use Unicode but would like to make my apps `Unicode proof'. Now that Mako is the default templating language do we still need to do the following: Include these options in environment.py tmpl_options['mako.input_encoding'] = 'UTF-8' tmpl_options['mako.output_encoding'] =

Getting rid of virtualenv

2008-05-24 Thread Cliff Wells
I know this is OT, but there's plenty of people in the know here, so maybe I can get some help. I decide to give virtualenv a spin on my laptop yesterday to test out some Python package. It didn't work out so I deleted the virtualenv directory I'd created for it, thinking it was an isolated

Re: Deployment Question

2008-05-24 Thread Jonathan Vanasco
On May 24, 5:10 am, Shannon -jj Behrens [EMAIL PROTECTED] wrote: Bob Ippolito was telling me once that he took a server in Twisted and rewrote it in stackless.  He got some performance gains, but then he rewrote it in Erlang.  It dropped from 40% CPU utilization to almost nothing, and it was

Re: Getting rid of virtualenv

2008-05-24 Thread Cliff Wells
Nevermind. In the tradition of figuring it out 2 minutes after posting a question I've resolved it. And in the interest of fairness, I don't think it was virtualenv's fault. Regards, Cliff On Sat, 2008-05-24 at 14:01 -0700, Cliff Wells wrote: I know this is OT, but there's plenty of people

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Mike Orr
I thought a bit more about nesting apps. The controller would be set up as: from myinnerapp.config.middleware import make_app OuterController = make_app(config[global_conf], full_stack=False, **config[app_conf]) This would push another config onto of pylons.config, but since

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread rcs_comp
Thank you all for your comments. Its clear though, for me, that Pylons will not work for my projects. The need to develop components that fit easily and natively into the larger application is a must. Its disappointing though, b/c I was really liking the philosophy behind Pylons. Keep up the

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread Philip Jenvey
On May 24, 2008, at 6:37 AM, rcs_comp wrote: For example, I would like to have a news, blog, and calendar module that I can plug into different applications. The goal is to have everything for the module contained in one subdirectory including any configuration, routing, templates,

Re: Cross-Project code sharing...modules/plugins what does Pylons use?

2008-05-24 Thread rcs_comp
On May 24, 9:13 pm, Philip Jenvey [EMAIL PROTECTED] wrote: If these are in fact separate applications, you can make each one its own Pylons app. Then you might also have a common package of code shared between all three (this would be a separate egg). Then at deployment time you can combine