By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,013 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

webserver application (via Twisted?)

P: n/a
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
Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
flupke wrote:
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
Jul 19 '05 #2

P: n/a
flupke <fl****@nonexistingdomain.com> wrote:
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!
Jul 19 '05 #3

P: n/a
flupke wrote:

Thanks Peter & Radovan for the answers

Regards,
Benedict

--
Benedict Verheyen Debian User
http://www.heimdallitservices.be Public Key 0x712CBB8D
Jul 19 '05 #4

P: n/a
D H
flupke wrote:
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).
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.