SniperDevil
08-07-2004, 07:39 PM
I'd just like to state I am starting a project, and I think I'm going to use Python; namely Apache/mod_python.
Python is a great language, and I believe for any inexperienced or professional programmer alike it is a dream come true.
I have never done Python for the web before, besides CGI, which I am definitely avoiding.
Does anybody have any experience with Python for the Web or mod_python, and what are your thoughts?
What handler did you use, i.e. the Publisher interface, PSP, or your own?
I'd like to discuss Python, as I feel it is a great new language, and I am 100% positive it will gain immense popularity in coming years.
javapro
08-19-2004, 01:03 AM
Python has it's limitations. I've always been partial to Java myself. It offers the flexibility and the power to get any job done. Unfortunately, it can be tough to ramp up on if you're just starting out.
xerophyte
08-19-2004, 01:21 AM
Originally posted by javapro
Python has it's limitations. I've always been partial to Java myself. It offers the flexibility and the power to get any job done. Unfortunately, it can be tough to ramp up on if you're just starting out.
Could you please give us more info what kind of limitation does the python has, i mean it support c intergrartion, Like java does, when you have c intergration support inside python, i dont understand what kind of limitation you have experienced with python.
Does anybody have any experience with Python for the Web or mod_python, and what are your thoughts?
I don't think lots of python programmers use the mod_python, Most of them use the python as cgi for small application (contact from), if you are going to write python based web application you might need to look at python based web frame works .. following are the most popular ones. .
Zope => www.zope.org
Twisted =>http://www.twistedmatrix.com/
Warning : You need deep knowledge about OOP to use above frame works
Both web frame work written in python, you can use to any kind of web application.
hope that helps
Burhan
08-19-2004, 01:55 AM
A good example of Zope use is Plone (http://www.plone.org).
speedbird
09-18-2004, 04:30 PM
Originally posted by javapro
Python has it's limitations. I've always been partial to Java myself. It offers the flexibility and the power to get any job done. Unfortunately, it can be tough to ramp up on if you're just starting out.
hmm.. I believe it is the other way around :)
Seriously, my intentions are not to start a mylanguage vs. yourlanguage stir, but I will tell you my experiences using python: I learned python in a month, then switched to Zope, zope became my de-facto standard in web developing, contrary to php, for example, zope does not mix presentation and logic in its code, it comes with its own webserver in case you need one (runs behing apache if you need to), runs off the box on Win/Linux/Solaris boxes, python code is 100% cross-plattform (no recompiling, nothing, straight port), has its own internal storage fully OOP, etc, etc.
But these are only words, my proof is (incidentally) a forum completely written in python running on Zope, it is called fcForum, check it out, took me 3 months to code it and the reviews for it in the zope comunity are basically that is the best program in its class, because of the silly "you-cant-post-urls-unless-you-have-5-posts" restriction (Im a n00bie :) ) I cant post the url but just google for "fcforum zope" and you'll find the page, long live python :D
P.S. Java rocks too, as a matter of fact.
speedbird
ferox
09-21-2004, 03:27 AM
Everyone has his own choices when it comes to programming languages and wars like this_language vs that_language are usually never ending so I would not like to start one here. My personal view is that Python is a very good language and using available web frameworks you can go for the big picture in a very short period of time. It doesn't really follow that Python is the best language but serious Python programmers can take best out of it.