java or PHP ??

January 11, 2013 1:35am CST
Hey pals , Im going to join programming crs ... so guys can you please tell me what kind of language is more useful java or php ( well twitter is written in java and facebook is written in PHp)
1 person likes this
7 responses
@topffer (42156)
• France
11 Jan 13
It depends of what you want to do : if you need to deal with large databases or to interface a business information system, java would be better than php. However it needs to load the jvm for every use and can generate a long wait, and java still belongs to Sun, that can choose someday to ask royalties.... php is faster and easier to learn and configure and is the better choice for a simple site. Its documentation is better too.
11 Jan 13
Well i need for simple programming and web development .... Thanx buddy ...thanx a lot for info
1 person likes this
11 Jan 13
Well i need for simple programming and web development .... Thanx buddy ...thanx a lot for info
• Australia
6 Jul 13
@sohel1990 PHP is always better than Java.
• Philippines
11 Jan 13
Both are very useful. A lot of good programmers know more than one programming language. I suggest you start with learning either one and then learn the other once you had good grasp at the first one.
12 Jan 13
Well im going to learn Php ....thnx man for suggestion
@blueSoul (277)
• Romania
30 Apr 13
Hi, When it comes to finding a job as a web developer, PHP is a must-know language. Take a look at freelance websites and you will see that most jobs are for PHP programmers. I'm a PHP programmer myself and I love it. At first, I don't know why but the code scared me and now I'm extremely happy when I code something in PHP. I say go with PHP but it doesn't hurt to know more than one language. If you decide to try PHP, take a look at codeigniter or laravel. Great PHP frameworks that can make your life much easier. :)
@stringer321 (5643)
• Kiryat Ata, Israel
1 Mar 15
JAVA, is not just for web developing or websites developing. It has many general purposes. It can create games, graphics, applications and more. PHP is a language for the server to run, generate HTML dinamicly and send it to the client side to show that html. With PHP, it is a lot easier to make websites with users who can register, keep their information in a database, using mysql, use some cURL to make some web services. This is what PHP is built for. Facebook is still based on PHP, but, with the huge complexity of the database. They went to phyton, C++, Java and Erlang for many backend services.
@anshu23 (147)
• India
11 Jan 13
It is difficult to tell. It depends on what for you want to join the course. If you are keen on web applications then you can join PHp.It is much easier to learn. But java is also interesting but not a popular choice for web developers. So you have to decide which course you want to pursue.
11 Jan 13
Thanx man ....
• Colombo, Sri Lanka
9 Jun 15
Hello sohel1990, PHP use to create web sites.But java can develop desktop applications,web app,android or java mobile app.however you join PHP coause you should know about HTML,CSS.if you try to create web site using java you should know about HTML,CSS.Java langvage is very strong.however PHP is very easy to learn
• India
28 Apr 13
If you are going in web development field ,then i think you should learn php ,along with html,css,mysql &javascript