webserver application (via Twisted?)

F

flupke

I need to program and setup serveral webservices.
If i were still using jsp, i would use Tomcat to make the several
applications available on a given port.
How can i accomplish this in Python?
I was thinking about Twisted but it's not clear to me what parts i need
to make a webserver listen on a certain port and having it serve
different application based on the url that i received.

Any advice on this?

Thanks,
Benedict
 
G

garabik-news-2005-05

flupke said:
I need to program and setup serveral webservices.
If i were still using jsp, i would use Tomcat to make the several
applications available on a given port.
How can i accomplish this in Python?
I was thinking about Twisted but it's not clear to me what parts i need
to make a webserver listen on a certain port and having it serve
different application based on the url that i received.

Any advice on this?

I would use karrigell. Everyone is speaking about twisted, snakeletes
etc... but IMHO karrigell is unjustly underestimated - it is really
simple and clear framework.

--
-----------------------------------------------------------
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
 
P

Peter Hansen

flupke said:
I need to program and setup serveral webservices.
If i were still using jsp, i would use Tomcat to make the several
applications available on a given port.
How can i accomplish this in Python?
I was thinking about Twisted but it's not clear to me what parts i need
to make a webserver listen on a certain port and having it serve
different application based on the url that i received.

Any advice on this?

Yes, check the archives for the frequent past nearly identical questions
and the detailed responses, or do a quick Google search for Python web
frameworks. There are perhaps dozens -- though less than a dozen really
popular ones -- and most will do what you want, going by the most
general interpretation of your question. (If you're talking about
duplicating whatever specific architecture appeals to you in Tomcat, I
can't help you...)

-Peter
 
D

D H

flupke said:
I need to program and setup serveral webservices.
If i were still using jsp, i would use Tomcat to make the several
applications available on a given port.
How can i accomplish this in Python?
I was thinking about Twisted but it's not clear to me what parts i need
to make a webserver listen on a certain port and having it serve
different application based on the url that i received.

See mod_python: http://www.modpython.org/
but there are literally dozens of other options in Python though:
http://wiki.python.org/moin/WebProgramming

If you want to it in your own standalone server, then I second the
recommendation for Karrigell (which also can be run in mod_python as well).
 

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,260
Messages
2,571,301
Members
47,944
Latest member
LillianPra

Latest Threads

Top