On 4/27/07, voltron <[EMAIL PROTECTED]> 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

-- 
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
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