How many web framework for python ?

B

Bo Yang

Hello everybody ,
I am a student major in software engeering .
I need to do something for my course .

There are very good web framework for java and ruby ,
Is there one for python ?
I want to write a web framework for python based on
mod_python as my course homework , could you give some
advise ?
 
V

Ville Vainio

Bo said:
There are very good web framework for java and ruby ,
Is there one for python ?

There are many good ones.
I want to write a web framework for python based on
mod_python as my course homework , could you give some
advise ?

Implement yet another web framework? It needs to be made harder so
people can stop doing it all the time. ;-)

You might want to watch the 20 min turbogears video for a laid back
approach of familiarizing yourself with a python web framework:

http://www.turbogears.org/docs/wiki20/20MinuteWiki.mov
 
S

Sybren Stuvel

Bruno Desthuilliers enlightened us with:
Yes : forget it.

Why forget it? I've written my own web framework
(http://www.unrealtower.org/) and it works great! It was a good
learning experience in using mod_python. Besides that, I found the
existing frameworks not quite suitable to my taste, and I like my own
much more.

Please, feel free to take a look at it, and let me know what you think
;-)

Sybren
 
B

Bruno Desthuilliers

Bo Yang a ¨¦crit :
Hello everybody ,
I am a student major in software engeering .
I need to do something for my course .

There are very good web framework for java and ruby ,
Is there one for python ?

In fact, there are actually too much *good* python web frameworks.
I want to write a web framework for python based on
mod_python as my course homework , could you give some
advise ?

Yes : forget it.
 
A

Alex Martelli

Bruno Desthuilliers said:
In fact, there are actually too much *good* python web frameworks.

Dear Mr. BDFL,

there are too many good web frameworks nowadays. Please eliminate three.

PS: I am *not* a crackpot!


Alex
 
V

Ville Vainio

Sybren said:
Why forget it? I've written my own web framework
(http://www.unrealtower.org/) and it works great! It was a good

Some reasons:

- Waste. When you write your own framework, you are helping yourself.
If you use an existing framework and possibly contribute patches to it,
you help other people too.

- Other people have already solved your problems, also problems that
you can't think of yet.

- Not reusing code is just plain evil.
 
S

Sybren Stuvel

Ville Vainio enlightened us with:
When you write your own framework, you are helping yourself.

True. And if that doesn't have a negative effect on others (which I
think it doesn't) there is nothing wrong with that.
If you use an existing framework and possibly contribute patches to
it, you help other people too.

Also true, but there is more to it. If I can create my own framework,
get more experienced, and be able to spare time in the long run
because I can quickly implement features I want, it makes me a more
efficient and experienced person. That leaves me more useful when
helping people, and gives me more time to help them too.
- Other people have already solved your problems

I have no problems. My web framework is working just as I want it to.
also problems that you can't think of yet.

What problems didn't I think of yet?
- Not reusing code is just plain evil.

I'm using mod_python, Cheetah, SQLObject and PostgreSQL. I publish all
my own code under an Open Source license so other people can learn
from and contribute to it. How am I not reusing code?

Sybren
 
H

Harald Armin Massa

Bruno,
In fact, there are actually too much *good* python web frameworks.

I tended to share that opinion, just because there are more web
frameworks then keywords in Python. But we should stop thinking of this
as a bug; it is a feature.

Because everyone and his girlfriend creates an own web framework for
Python, we have a clear security advantage over other languages. One
"ruby on rails" worm will bring down at least 2000 web 2.0 beta sites.
A worm for a Python web framework will be incompatible with all others.

Harald
 
B

bruno at modulix

Alex said:
Dear Mr. BDFL,

there are too many good web frameworks nowadays. Please eliminate three.

Seems like I should have added a smiley somewhere...
 
A

Alex Martelli

bruno at modulix said:
Seems like I should have added a smiley somewhere...

Naah, smileys unneeded -- you'll notice that my "I am not a crackpot"
comment was unsmilied either (and nobody nominated it for QOTW, darn!).
Having just coincidentally finished wrapping up the 2nd edition's
Nutshell first draft of the chapter on serverside web programming, after
a long time researching all the alternatives I've given up on even
MENTIONING all of the frameworks available, much less providing any
in-depth coverage, so I'm quite sensitized to the situation!-)


Alex
 
S

Steve Holden

Alex said:
Naah, smileys unneeded -- you'll notice that my "I am not a crackpot"
comment was unsmilied either (and nobody nominated it for QOTW, darn!).

Naughty! That's like trying to end a thread by saying "Hitler".
Having just coincidentally finished wrapping up the 2nd edition's
Nutshell first draft of the chapter on serverside web programming, after
a long time researching all the alternatives I've given up on even
MENTIONING all of the frameworks available, much less providing any
in-depth coverage, so I'm quite sensitized to the situation!-)
Damn. More reading ...

regards
Steve
 
R

robin

Steve Holden said:
Damn. More reading ...

Even more reading as of tomorrow, when I get my Web Application
Framework article up on my blog.

Even listing the vast number of frameworks & toolkits out there is
daunting, so I figured I may as well share my own outlook.

And FWIW, I have abandoned my own contribution, so that's one less out
in the wild!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top