PHP has many limitations compared to Java, so what should a PHP programmer do in the post-development roadmap?

Source: Internet
Author: User
Keywords Php
Tags learn php
For example, the weakness of PHP in terms of arithmetic is very disturbing.
So if you choose a technical expert course, how to go?

Reply content:

Any language has limitations ~ ~ Use different languages to solve problems at different stages this is a qualified developer

Language this thing to a certain level you are very clear about the advantages and disadvantages of language. Also know when to use what language. And then go back and say PHP improves.
I think to improve PHP first to focus on three aspects ~ the depth of the problem ~ Millions site Tens site billion level how to solve ~ how reasonable deployment ~ How to properly comb the code structure ~ for better maintenance in the future ~ This is a lot of code experience to practice.

As for the breadth of PHP that would be good to explain ~ a reasonable structure ~ In addition to the language ~ Database Cache server operating system every aspect of the important ~ It is afraid of a link did not deal with any of these peripheral things are enough for you to study for a long time ~ ~

Finally said a comparison obscure ~ ~ that is security ~ Now many people write code not to pay attention to security ~ This field is too deep ~


You have mastered these three directions ~ ~ You are already an expert.
But it is surprisingly difficult to master all of these three directions in any direction. As if Java had no limitations. Willing to learn Java to learn Java Bai ...
As for saying:
I don't recommend learning Java for a year or two without learning PHP development.
Don't believe it ... Learn Java and PHP for several years to develop a relationship with P ...

PHP in the algorithm aspect I did not see what is powerless to feel ...
How much does the algorithm and language matter?

As for saying big data and concurrency ... I think the general use of PHP to do the presentation layer, using Java to do the data layer
If there really is a "big problem", why would you let PHP do the presentation layer? It is a coincidence that I have had some recent thoughts on this subject and I have been asked to answer it.

First of all to refute the title of the description of the main, PHP in the algorithmic aspects of how powerless? Other languages can write the algorithm PHP can also write. Who do you blame for not learning?

Next to my answer, that is not limited to PHP. Or to start from the people above, learn more posture, improve their level.
If you really want to improve your algorithm, read the algorithm book, Brush algorithm problem. Without him.

PHP is very handy in the web, starting with PHP and radiating to related fields. such as the front-end of some simple framework, such as MySQL configuration, optimization, such as HTTP protocol, Nginx configuration, deployment, bash scripts and so on.

PHP itself is a limited language, but there are also Daniel expanding it. For example, Han Shen's swoole framework makes it possible to have a high concurrency TCP server. Another example is Brother Bird, whose optimization makes the concurrency of PHP itself a step. Speaking of which, I would like to say that high concurrency, microservices are also very worthwhile in-depth research direction (of course, it is best to meet the relevant problems, such as on Weibo or Facebook work).

And we do not limit ourselves to Php,java can see, C + + can also see, Haskell, scheme can also be read in the leisure time.

Above, is also encourage each other. PHP has limitations, such as the big data processing on the CPU and memory utilization will have an inadequate situation. The WEBSERVER+PHPFPM model also has an inherently insurmountable performance bottleneck in high concurrency scenarios. On the contrary, Java is almost omnipotent, whether PHP or Java, the limitations are on your own! The language is much wider than you think. It is impossible to just php this language!
At the end of the period you have to be database optimized
For a variety of concurrent designs,
and NoSQL these!
Learning PHP is not only learning this language can be popular, the late to learn too much! If you just want to learn in the language of PHP, when you think that the application of PHP is not a problem (all kinds of features have been understood) there is nothing to do, you can look at the PHP kernel, Try writing a PHP extension and think about how to write good PHP code from a theoretical level.
If it's not simple (ie want to develop on the web) it is recommended to look at the knowledge of the Web site architecture (server optimization, database optimization, NoSQL (NoSQL should look at the source) and so on).
Other words suggest learning other languages. Recommended to learn C and Java. PHP has its limitations, such as the problem of data accuracy when big data is calculated.
Advantages are also very prominent, is fast, no need to compile, simple configuration, Wheel giant (various Cms,shop system, forum System), version iteration is also fast, can do the Web site can also engage in game development (socket) and performance is not bad.
Learn PHP also to learn a lot of other things, of course, this is a few years after work, I just learned when I only know memcache, even Linux will not, slowly work a few years after their own groping these things, to now Mongo,redis,linux, Nodejs How much will be a bit more understanding of the more learning, the key to find a quasi-positioning, I am now PHP-based, occasionally write Nodejs, no more schooling, after all, each language is very profound, and you phper mutual encouragement!!!! PHP will never lag behind
  • Related Article

    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.