views:

394

answers:

11

Hi, I have a pretty good Java background and about a year's experience with Android. I was looking to learn a Web based language but I am not sure which one to? It's not necessary that it has any thing to do with Java. But something that will be useful and interesting to learn? I know this sounds stupid, but any suggestions? Thank You.

+2  A: 

If you want use java, then there's Java EE it's server side html preprocessor and a lot of more.

Miro
+2  A: 

If you already have experience with Java, go with Java EE's servlets and JSP. Apache's Tomcat is a good and simple Servlet+JSP container to use. Once you get use to the basics, you can move on to a higher level framework such as JSF, Struts or any other Java based framework you want.

Pablo Santa Cruz
+6  A: 

If you already have experience with Java, then it's time to learn something new. Try .NET with ASP.NET AJAX or ASP.NET MVC, alternatively learn some python.

ŁukaszW.pl
+1 for suggesting something new, other than Java-based stuff!
FrustratedWithFormsDesigner
Thats true... More languages and technologies you know, more comprehensive employee you are :)
ŁukaszW.pl
ASP.NET in C# is easy to start coming from a Java background. I'll second this post.
tedmiston
+5  A: 

If you know Java, that will work, In addition look at GWT, it is a really cool technology that allows you to run the Java code you write in your browser, by translating it to JavaScript.

I would recommend that you learn HTML and CSS for starters; You will need that skill-set for all languages.

Some Web Programming languages that are popular include PHP, Ruby and Python, there are many more.

Romain Hippeau
+7  A: 

By web based language I assume you mean a server side technology that spits HTML.
Learn the Ruby Language using the JRuby interpretor VM implementation which is tightly integrated with Java, and then check out Ruby on Rails, this framework teaches you some of the best things (flow, patterns, etc.) one needs to know about web development.

Some screencasts on Rails:
http://rubyonrails.org/screencasts

clyfe
How hard is it to learn Ruby on Rails? I have a span of say 3months. Stupid Question- Does it integrate with Oracle?
Gooner
it's easy to learn rails, 3 months plethora of time, it does integrate with all major databases, including oracle: http://wiki.oracle.com/page/Ruby+on+Rails
clyfe
That's good to know. But do you have to know ruby to learn ruby on rails? How is it? I have three months, but I have other subjects to study as well. So all my time cannot be dedicated to this. Thanks!
Gooner
"Ruby on Rails" is a framwork (library) in the Ruby language, so yes, you need to know the ruby language. As I said, it's easy to learn ruby and rails, your time fits, even with the extra stuff.
clyfe
+1  A: 

Your choices are the normal Java bits as mentioned in other posts, the .Net stable of technologies (ASP.Net Web Forms Or ASP.Net MVC), Python or Ruby (MVC). Personally I would currently look at something completely different called Silverlight (from Microsoft). I beleive that it has recently reached a decent level of maturity and offer alot of benefits that other browser based technologies do not, whilst removing alot of problems they had. In other words, Silverlight is basically the 'next-gen' approach which everyone will be cloning soon. And it runs on mast browsers (on most platforms). If I had to learn something new right now, I would learn something that is cutting edge and will be relevant for a long time to come.

Leon Coetsee
+1  A: 

Why do want to learn a new language? Is it a work related need or you just want to expand your knowledge? How much time do you have to put on it? Depending on your reasons and motivations it can go either way.

If it is a work related need, i.e your company wants to port some desktop application to the web, and you need to do it quickly, I would go with Java EE's servlets and JSP as Pablo said. It will save you time since you have experience with the java plataform.

If you want to expand your knowledge, do some personal projects and overall just improve your portfolio, I would go with python or ruby, they are easy to pick up and have good frameworks for web development.

Decio Lira
hey thanks for your answer! It is really nice of you! I am a student and I have to do a project. So, yes I have to expand my knowledge. It is a project based on building a web application with a database. I have around 3 months + or -.
Gooner
+2  A: 

The best move in my career was moving to Groovy (and of using the grails framework).I was coming as well from the Java world (I already was working in J2EE technologies).

The main reasons for moving to Groovy are the usual things cause the people move to Any Dynamic Language, plus the fact that you are running on the JVM. And for the framework, I'll just point on the reasons that makes the most of the web frameworks as amazing as they are:

  • Convention over configuration
  • Don’t Repeat Yourself
  • Full stack

But mainly, I am having fun programming again after few years.

David Santamaria
A: 

PHP + AJAX is a good set.

PHP has many frameworks, such as: Zend, Yii and etc. I was also write less php code than java. But I ramp up quickly with PHP framework. And same as, Ajax framework Jquery is more popular. For a fresh man, I think lightweight frameworks will help him to create an application quickly .

Joseph
Care to give reasons?
back2dos
It isn't, beacuse PHP isn't compiled => it's slow. But if you doing small site then why matter with AJAX??
Miro
@back2dos Added some comments.
Joseph
+2  A: 

Well, if you want to try something different, I suggest you have a look at haXe. It is an expressive and concise language. It is open source. It runs on lot of platforms. It has a great community. It evolves and adapts quickly. An Android backend is currently being worked on.

Among popular web programming languages, C# and Ruby are the only two, that can compete with haXe. The former due to expressiveness and feature richness, the latter due to its conciseness. Java OTOH is not a great language. Instead Java is a great platform. The beauty of Java lies in the fact, that if you do it right, you don't really have to write a lot of code. But if you actually like coding, don't go with Java.

greetz
back2dos

back2dos
+2  A: 

The lowest barrier for entry and most prolific would be PHP. It's very easy to get started and there are innumerable examples on the internet to help you.

Matt Williamson
PHP definitely isn't the **most** prolific. PHP is just a poorly designed tool to hack together websites. The worst code I ever saw deployed was written in PHP, because PHP doesn't promote **any** good practices at all. And the API is horrible. The reason to use PHP is, that it offers the easiest deployment you can get, because it's easy to install and it's run on most shared webspace servers. But for PHP not to become a nightmare, you need to use a proper framework.
back2dos
I agree with a lot of those points, as I use python now, but which language would you say *is* the most prolific then?
Matt Williamson