tags:

views:

364

answers:

3

i am currently using php as backend language in webdevelopment. but im wondering what you need to install to get running with python and java.

with php i need apache and mysql.

can i use those for java and python too?

i cant find good guides equivalent to LAMP/MAMP/WAMP so i understand the parts when using either java or python. would be great if you could give me some good links on the installation and what is required.

and i have read that its easier with python. but is this the only advantage of using python instead of java. cause with java i can create java applets, desktop and mobile applications. they all tend to have java installed. but not python.

so why should i use python instead of java.

+4  A: 

I can only give suggestions for web development in python:

  • Use Tornado - A non blocking web server.
  • Use Jinja2 - A templating engine.
  • Use MongoDB - A schema less database server | You can also use any RDBMS according to your requirement.

Above 3 tools are enough to build a web application in python.

or you can always choose Django - The giant web framework with all the features required to build a scalable web application in python.

aatifh
Tornado 0.2 was released September 2009. Nothing after that. I'm a bit disappointed.
stesch
+2  A: 

web2py is a python web framework that is completely self-contained, runs portably off a USB drive even. The manual is available on scribd, and after an hour or two of tutorial you will have a pretty good idea of what a python web framework will be like. I can't comment on Java at all.

EDIT: Django and web2py are very, very similar. I think I prefer web2py because it does more for me that I don't have to do, but from the POV of, say, Java frameworks, Django and web2py may as well be the same thing.

cjrh