Which Python web framework is most like Ruby on Rails?

Mike Meyer mwm at mired.org
Thu Dec 15 23:10:00 CET 2005


"Ben Sizer" <kylotan at gmail.com> writes:
> Mike Meyer wrote:
>> [Not sure if this attribution is correct.]

And it was apparently wrong. Apologies to both DH and AM.

>> > Alex Martelli wrote:
>> > Because of course if other languages have 1 or two frameworks, python
>> > needs a dozen.
>> People keep talking about Python's wealth of web frameworks as if it
>> were a bad thing. I just don't see it. Just like I like to have more
>> than 1 or 2 languages available for programming, I like to have more
>> than 1 or 2 web frameworks available for building web sites. That I
>> can get the flexibility I want in this area *without* having to
>> abandon Python is a plus for Python.
> Flexibility is good, but personally I think the problem is that instead
> of useful variety, we have redundant overlap. How many different
> templating systems, sql<-->object mappings, and URL dispatch schemes do
> we need? And what exactly is the difference between them all, except
> for slightly different syntax?

Well, they come in at least three major variants: complete publishing
system (ake zope), templating system (aka psp), and modules (aka
cgi). Each of these is focused on a different level of the problem,
and hence is suitable for different things.

Syntax can be very important, especially for templating
systems. Typically, those are used in situations where you have a lot
of X/HTML and want a bit of dynamic content. Ideally, you want to be
able to treat this just like a static HTML page. If the syntax of a
templating system makes your standard web tools puke, you probably
want to avoid it.

     <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list