views:

267

answers:

7

Basically I am coding websites in PHP from last year. But now I want to use something else and GAE looks a good option.

So I want to know if GAE is good for making a little website to share favorite youtube videos ?

I have done single website in Python+Django few months back, it looks good to me.

But JAVA is the language that I want to learn too (never coded in JAVA since School days ).

Phew, it is hard to choose, so I need opinions !!

Specifically : Want to know if any glitch/problem in using either python or Java under GAE. Or if GAE is preferred or not. Not gonna make website for learning only, it will be for a client.

+2  A: 

If you want to learn Java, then use Java!

If you feel that Java is too verbose compared to Python, you could try Scala, which runs on the JVM like Java. Scala is more concise and well designed.

deamon
+2  A: 

I would personally go with a Java based solution. If this is just a little website for yourself, then it would be a good idea to learn a new technology, in this case Java. Little projects like this are ideal for learning new technologies and seeing if they are suitable for you as a developer and other projects you may decide to do in the future

Richard
thanks very helpful
Arsheep
A: 

Java is on the way out. Stick to Python and C++.

Update0

This. Is. Sparta!!

Matt Joiner
yes this is somewhat a opinion i wanted
Arsheep
I don't think that's the case.University courses often still teach Java.If you do Android programming you have to use Java.
Christian
For websites,maybe. For more complex web applications(banking, medical world) I very much doubt it's on the way out. That said, Django + Python, or Twisted or something, are excellent tools.
extraneon
I'm just saying what everyone else is afraid to say. My first university language was Java too. C# and Python are killing Java.
Matt Joiner
C# and Python are not killing Java. Java is fare more important than C# or Python. But Java competes with other JVM languages such as Groovy or Scala.
deamon
@Matt: What is your basis for saying Java is on the way out? Any facts and proofs that we can read?
jpartogi
Repeating an unsubstantiated opinion and styling yourself as the kid not seeing the Emperor's New Clothes does not make it any less unsubstantiated. Java is certainly not *fashionable* anymore (and a large number of people haven't been afraid to say so for a long, long time), but that means very little in the long run.
Michael Borgwardt
@jpartogi There are nowadays many languages with nice frameworks and template engine with which it is easy to make the simpler websites. And on that front I do think Java is loosing ground, though probably PHP is taking a larger hit. On Windows-based companies it is also logical C# is taking a bit of the cake, it's similar to Java but integrates quite nicely with the rest of the Java stack. On more complex webapps which have to be around for a long time and are not completely designed for the Microsoft stack I don't think there's all that much competition for Java.
extraneon
@jpartogi: if enough of us say it, it's bound to happen. Of course the reality is that at least for June, Java was back on top of the TIOBE index, for all that that matters. http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Wayne Werner
Java is the new Cobol... If you don't believe it, look at the single language supported fully by all IBM's non-PC platforms.
Thorbjørn Ravn Andersen
So none of you think that Oracle will take Java off the ground? I guess I better start learning something else than Java then.
jpartogi
Well I'm happy with the knowledge that my apparently controversial opinion has scored me more reputation that it has lost me. To those few others who have unclouded vision, take heart, you're not alone.
Matt Joiner
+3  A: 

Java and Python are both excellent languages. It is a matter of taste and believe which you choose.

  • If you prefer a lightweight solution, use Python.
  • If you have enterprise needs, whatever that means, use Java.

If you ask for my personal believe, my subjective stand-of-point is:

  • Use Python wherever possible and stick to other languages if there is a need to.

So this is my opinion, but as S.Lott commented on your question:

Opinions are going to be useless.

zovision
Well you answered perfectly ,am not agree with `Opinions are going to be useless.` .The line `If you prefer a lightweight solution, use Python.` yes this is exactly i need to know a website can be visited by millions in one sec. so it should be light weight.I still needs more opinions to choose better.
Arsheep
ANd lol, there are votes for Closing the question .
Arsheep
lightweight means "less code" here, not faster execution.
deamon
If your app needs to be maintained for a fair number of years I think documentation and unit tests are even more important for Python software that for Java software, which has part of the documentation in the method signature. Do take that into account when defining lightweight. If you write throw-away software that obviously is not important.
extraneon
+1  A: 

You need an IRL mentor.

Thorbjørn Ravn Andersen
+2  A: 

You'll be able to accomplish the exact same results using either Python or Java. Java is much more verbose than Python, which can make it have a bit of a steeper learning curve. The fact that you have some experience in Django (which GAE's webapp is largely based on and which you can even use directly if you want) will make it easier for you to get the website up and running in the immediate term.

So again, it does depend on what you want to accomplish. If your goal is to learn Java, then doing a project in Java is the best way to learn it. If your main goal is to get the site up and running, Python will be a better choice as it will let you focus less on struggling with learning new Java syntax and more on simply getting the website off the ground.

Cuga
+3  A: 

Most people here are missing the fact that the question is really about App Engine, not java or python in general.

The Java and Python SDKs and App Engine runtimes have pretty much the same abilities at this point. One caveat with the current java runtime is that if you use a lot of external libraries, your loading hits (the first time someone hits your website, and app engine has to spin up your app) can be a bit slow.

Peter Recore
Just make sure to stick with Python 2.5.2. All the newer versions (2.6+) are not supported 'officially' by GAE.
Valien