login about faq

I am stuck over deciding whether to concentrate on php/mysql or java.. am a starter and Ive learned that I have to chose a language to which I would exert my effort to familiarize. I do not know the demand for it neither, just need to know which is the best step for a starter like me. Thanks in advance for your kind input. no offense intended.

asked Feb 01 '10 at 23:24

wannabee's gravatar image

wannabee
233

2

As mentioned in some of the answers given, state your objectives in your question. Please rephrase it such that it will be obvious in the title.

(Feb 02 '10 at 09:03) Nikki Erwin Ramirez ♦♦ Nikki%20Erwin%20Ramirez's gravatar image

  1. PHP is primarily used for developing web applications so if you plan on creating desktop or mobile applications this would not be the right choice for you. Java is used mainly for developing enterprise applications like financial software as paul_sns may it be a desktop, mobile or web application.
  2. If you want a lesser learning curve go for PHP but be prepared to have at least above average skill in web design since most probably you'll be doing designs at some point in your career.
  3. If you want more career options and job opportunity as Kerwin said go for Java. You can be a desktop applications developer, web developer, mobile developer, etc. You can also leverage your Java knowledge to use other languages(JVM languages) such as Groovy, Scala and Clojure.

As for myself, it would not hurt to know both but I suggest taking the Java path first as it will give you a better grasp on common programming constructs which leypascua mentioned cause if you learn PHP first there is a greater probability of you learning bad programming practices(IMHO) as you go along.

link

answered Feb 06 '10 at 20:38

bobsantos's gravatar image

bobsantos
3665

Guys thanks for the input, I really appreciate the explanation, I will examine my long term career objectives towards taking this step. again thanks alot

(Feb 11 '10 at 10:47) wannabee wannabee's gravatar image

It depends on what kind of company (or startup) you want to work for/on.

When I was in college, I was forced to study at least three different languages (even if the demand for it is not that high in the Philippines) in one trimester. Bottom line is, you shouldn't restrict yourself to one language, since demands in the industry are quickly changing.

Your skill in another language may help you solve problems that you are facing using a different language.

I say you learn at least one dynamically-typed language (PHP, Ruby, Python or even Smalltalk) and one statically-typed language (Java, C#, C/C++).

You should also focus more time on studying basic programming constructs, data structures, object-oriented programming and memory management. Knowing these concepts by heart will help you learn most programming languages that are out there.

link

answered Feb 02 '10 at 00:50

leypascua's gravatar image

leypascua
1.6k115

It would help if you can share with us what your end goals are.

  1. If you are thinking of creating a web application, and you want it fast, try PHP (or RoR).
  2. If you eventually want to develop mainstream apps like banking/financial software, go with Java. There are lots of available free tutorials like those in javapassion.com. One advantage with Java is you can leverage your knowledge of the language to develop Android applications.

Of course, these are just generalizations. Some may argue that you can also create webapps with very little time using Java and Grails. And one can also develop financial software using Ruby/PHP. What I mentioned above are the common trends at the moment in the industry.

link

answered Feb 02 '10 at 00:08

paul_sns's gravatar image

paul_sns
1.7k116

at the current trend, its not about what language you have mastered, but how you can adapt to the ever changing technologies. what is in-demand now would likely be obsolete 2 to 3 years in the future (look what happened to vb6).

my suggestion, go for java.. learn OOP, the frameworks, the underlying technologies (especially of webapps), and the best practices. It will just then a breeze learning php as it is way simpler than java.

link

answered Feb 08 '10 at 12:51

quigonjan's gravatar image

quigonjan
15315

I suggest learn Java. It's widely used and you will have a lot of options in your career with this as your starting point.

link

answered Feb 02 '10 at 03:44

Kerwin's gravatar image

Kerwin
5343

Learn Java. Lots of options exactly, and not to mention, it is a good starting point for a developer. You will learn how object oriented programming works ( as java is fully OOP). There are lots of jobs for a java programmer. If you have the money, enroll in a basic class, buy a deitel and deitel book on Java/find one on the net, study the exercises. I am not a java programmer. But i have seen many of my friends who are geniuses in Java eventually succeed in their career in IT as coder or anything else. Java can be your starting point to other object oriented languages like RoR, PHP (use PHP5 for full object oriented programming), Python, or anything else. In mainstream colleges most of them teach Java or VB or C#, you can use your skills in java to migrate to other languages since they are very similar. I have no idea about the frameworks for Java like Struts or Hibernate, but I've heard that the tools in eclipse for java is just fantastic.

Java is soon becoming a web language, they've just started to package java into a web edition and a "core" edition. I just heard this from the news.

After Java, you can learn Jython, JRuby, and other J-programming languages (even javascript, thuough that's for client side technology).

To me, Java is "Hard". but once you learn it, all the other languages are just a piece of cake :)

link

answered May 16 '10 at 10:03

whatever's gravatar image

whatever
1.1k1329

Based on my experience, it's better and advantageous to learn both although the priority level depends on your need. If you need to learn something and whip up an application in the quickest way possible, I'd say you should try PHP first. If you're into diversity, go for Java. If you're not planning on developing web applications soon, Java is the way to go since Java web applications need adequate learning time.

link

answered Jul 12 '11 at 13:25

codix's gravatar image

codix
2395

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×63
×63
×31

Asked: Feb 01 '10 at 23:24

Seen: 1,221 times

Last updated: Jul 12 '11 at 13:25