13 messages in com.googlegroups.pylons-discussRe: Pylons Evaluation -Questions
FromSent OnAttachments
voltron27 Apr 2007 11:44 
Shannon -jj Behrens27 Apr 2007 16:49 
Cliff Wells27 Apr 2007 17:21 
Shannon -jj Behrens27 Apr 2007 17:27 
voltron27 Apr 2007 20:50 
Cliff Wells27 Apr 2007 23:03 
voltron28 Apr 2007 02:43 
Dan28 Apr 2007 05:06 
voltron28 Apr 2007 08:27 
Cliff Wells28 Apr 2007 16:19 
Dan28 Apr 2007 19:48 
Shannon -jj Behrens01 May 2007 16:38 
Shannon -jj Behrens01 May 2007 16:40 
Subject:Re: Pylons Evaluation -Questions
From:Shannon -jj Behrens (jjin@public.gmane.org)
Date:04/27/2007 04:49:51 PM
List:com.googlegroups.pylons-discuss

On 4/27/07, voltron <nhytro-gM/Ye1E23mwN+BqQ9@public.gmane.org> wrote:

Hi all!

I "shopping" around for a Python based web framework for a potentially large site, I have narrowed my choice to Django and Pylons. I have a few questions to ask about Pylons if I may.

Pylons is better at: * Being a hacker's framework. * Mixing and matching your components. * Not getting in your way. * Developing custom *applications*.

Django is better at: * Being accessible by newbies. * Letting developers quickly throw together something and start inserting content. * Developing custom *web sites*.

How are Pylon projects structured? Does a Pylon project map directly to a complete Web application and the modules that make up the application the "controllers"?

Pretty much. Take a look at the QuickWiki tutorial. That's enough to know what's going on.

What is the favored, most stable Web server/ Pylon configuration?

Many of us prefer using Paster (the Web server in Paste), proxied behind Apache.

How does Pylons scale? Do I throw more hardware at it or just add more servers and a load balancer?

It's the same as everything else. You can add more Web servers. If you use sessions, you'll need to either a) use session stickiness (ugly) or b) use a session server (less ugly). Pylons doesn't have any inherent scaling problems. I can say this with conviction because I just finished reading "Scalable Internet Architectures" and "Building Scalable Web Sites" :)

Is there a way to "short-circuit" all requests to pylons and carry out certain actions based on this? For example, I intend to log page impressions based on different types of requests

Yes. You have two ways 1) by using middleware 2) by using a controller superclass.

Best Regards, -jj