开发者

GAE is any good ? if yes then JAVA or Python?

开发者 https://www.devze.com 2023-01-07 05:32 出处:网络
Basically I am coding websites in PHP from last yea开发者_Go百科r. But now I want to use something else and GAE looks a good option.

Basically I am coding websites in PHP from last yea开发者_Go百科r. 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.


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.


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.


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.


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.


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


You need an IRL mentor.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号