The difference between PHP and Java

Source: Internet
Author: User
Tags learn php

The difference between PHP and Java

A few days ago, a classmate of the university called me, he was training Java, and then we discussed the pros and cons of PHP and Java (we are beginners, so the content published below may not be very precise in place, hope to understand):

When we were in college, we were exposed to the following two courses, PHP and Java, when PHP was written with Dreamweaver8,java using Eclipse, and as a 0 basis, I thought PHP was a simpler language than Java. PHP is a weak class language , not specific to declare, but Java is a strong class language, a lot of places are bound to declare, then it is not easy to say steps PHP, after all, PHP will automatically recognize the conversion type;

How to say, many people are asking PHP and Java which is good, which is more promising (of course, I also often asked people this question, haha!). PHP features easy to learn, however, many people can self-study at home, devote a short time, the opposite view of Java is not the same, because Java is relatively complex, learning to learn the time and effort far more than PHP a lot more. PHP staff in the past few years the demand is very large, because I also looked online, because many companies like PHP so low cost and can make a good effect. Java has a lot of talent, but Java staff may be a little bit higher than PHP, and Java products may be higher than the price of PHP, this is why, then let's look down to let's go!

First of all, the problem of security is that PHP is not as good as Java, because many people know that PHP code can go to others to take, and then make changes, which means what? Similar products will appear a lot, thereby reducing the value of the original product, but Java is not the same, you can not get his deep core code, after all, this aspect of the Java language is a bit better.

Then a lot of people say that PHP is only suitable for small and medium-sized projects, and Java is to do large-scale projects, but I want to say that PHP is dedicated to do one thing, and Java is not specifically for the Web page, PHP low-cost efficiency is not the Java, when you learn to learn from PHP to learn the essence of the time, The foreground is definitely not worse than Java, because the programming language each has its advantages and disadvantages, and PHP in recent years so strong rise must have its reason, so I want to say here to learn PHP small partners, believe that their direction, no best only better, only you put PHP this linguistics to the essence of the best;

The above is my beginner's point of view, there is insufficient or write inaccurate places, please correct me!

I hope we can all achieve the elite of the best of the best!!!

CHEN

2015/09/25

The difference between PHP and Java

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.