6

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.

ajsie
  • 77,632
  • 106
  • 276
  • 381
  • "i cant find good guides equivalent to LAMP/MAMP/WAMP"? What does this mean? You couldn't find http://onlamp.com/? What are you trying to do? What have you read so far? Your question is (a) vague and (b) a duplicate of dozens on SO. Please clarify it or read the other questions already here and ask something more specific – S.Lott Jan 07 '10 at 11:16
  • Exact Duplicate: http://stackoverflow.com/questions/1309662/comparing-the-uses-applications-of-java-vs-python – S.Lott Jan 07 '10 at 11:17

3 Answers3

4

You need to look into the Web Application Framework subject. Some SO pointers:

Good luck.

Community
  • 1
  • 1
gimel
  • 83,368
  • 10
  • 76
  • 104
4

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
  • 2,317
  • 4
  • 27
  • 30
2

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.

Caleb Hattingh
  • 9,005
  • 2
  • 31
  • 44