Home > headlines > body text

What is the future development prospect of php? Is there any future for learning PHP?

PHPz
Release: 2019-12-05 17:18:58
Original
16061 people have browsed it

This year is already 2017. PHP was born in 1994 and has been going through 23 years. However, it has only become popular in the past few years. In recent years, China’s Internet has developed rapidly, because for web development, PHP’s Due to its low maintenance costs, fast development speed, and powerful resources, PHP took the opportunity to gain popularity and became the first choice for web projects. Is there any future for learning php now? What about the future development prospects of php? Even how will PHP develop in the next 10 years? In view of the issues that many PHP beginners are concerned about, PHP Chinese website will make an objective analysis!

Course opening notice: php Chinese website "The 10th PHP Online Training Course" is currently being registered!

What is the future development prospect of php? Is there any future for learning PHP?

Let’s first look at what php is?

PHP (foreign name: PHP: Hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a general open source scripting language. The syntax absorbs the characteristics of C language, Java and Perl, which is easy to learn and widely used. It is mainly suitable for the field of Web development. As a very excellent and simple web development language, PHP is closely integrated with Linux, Apache, and MySQL to form a golden development combination of LAMP, which not only reduces the cost of use, but also increases the development speed to meet the latest interactive network development applications.

PHP1

PHP originally appeared as a fast, practical toolkit. In 1994, in order to add a small and practical visitor tracking system to his website, Rasmus Lerdorf wrote a prototype of PHP. This is a simple tool wrapped in Perl. Because the usage effect was not ideal, Rasmus rewrote this tool in C language

.............

For details, see: Let’s talk about what php is? On the past and present life of php

The following is the dialogue between netizens and php Chinese website:

php Beginner Q: Judging from the history of web development, PHP, Python and Ruby appeared almost at the same time. They are all very distinctive and excellent open source languages. However, PHP has received much more attention than Python and Ruby (PHP in this paper It has ranked third in the TIOBE rankings this month, surpassing C++). Do you think this has a lot to do with PHP's foothold for website development and the characteristics of the PHP language itself, or are there other factors?

php中文网A: Among the three languages, php is undoubtedly the most popular, and Python and Ruby have also had good development trends in recent years. I personally think that Ruby's popularity stems more from Ruby onRails. The popularity of this framework even exceeds that of the Ruby language itself, and it has also triggered research on frameworks on other language platforms. Recently, Python has received more attention and developed faster than Ruby, and has been adopted by some innovative projects. This may be attributed more to Google. These three languages ​​are all excellent scripting languages. Why is PHP so popular and ranked among the top three in the rankings? On the surface, this is due to the employment environment. More and more new companies or new projects use PHP, which makes PHP-related communities more and more active, which in turn affects the choices of many projects or companies, forming a virtuous cycle. As far as I know so far, PHP is the first choice for most web projects in China, and many companies have switched to PHP from other languages ​​(such as ASP, JAVA). The right one is the best. PHP is fast, has low development costs, short cycles, low post-maintenance costs, and is rich in open source products (this can affect the decisions of many projects). These are the other two Words cannot compare. In addition, in many large projects, Python appears more as a "binder language" and seems to be heading in a different development direction than PHP. Let's wait and see.

php Beginner Q: The popularity of PHP development framework is caused by the popularity of RoR, and the development of PHP framework has also gradually evolved from imitating Rails to own style. However, there are still many PHP developers who entered the industry earlier and still believe that a fast language like PHP does not need a framework. They even think that as long as there is an excellent architecture, a framework is not necessary at all. Do you think PHP framework is necessary for PHP? Are you satisfied with the current situation of PHP development tools?

php中文网A: This is a matter of opinion. I personally think that an excellent framework can improve work efficiency to a great extent, especially for large and medium-sized projects. . Of course, if you have enough control over the project, the framework is not necessary. After all, the PHP framework is different from the ROR situation. It is numerous and confusing, and it takes time to learn a framework. As mentioned in your question, many old PHP programmers dismiss the framework, thinking that they have enough control over the project and do not need such a cumbersome thing as the framework. However, in the long run Look, an excellent framework can extend the life of a project and reduce the cost of maintenance and secondary development. We have currently developed our own CMS for the php Chinese website. This CMS has greatly improved our work efficiency. We will open source this CMS for free at the appropriate time. use.

php Beginner Q

: PHP’s object-oriented design is not very good. Many object-oriented writing methods that can be applied well in languages ​​​​such as Java are very cumbersome to implement in PHP. Do you think object orientation is important for web development languages ​​like PHP? Can PHP's object orientation still be improved? php中文网A

: PHP’s object orientation is a historical issue, and if it is not good, it will gradually become a historical issue.

No matter what kind of language, Object-oriented is more of a way of thinking about problems. There is no need to be object-oriented for the sake of object-oriented. PHP's original object orientation can be simply regarded as an upgrade of functions. It was once made fun of by many developers of other languages, but PHP7's object orientation is enough to satisfy most WEB projects. If a language wants to survive, it must adapt to the trend of technological development and constantly make adjustments. In this regard, the PHP team is full of energy. php Beginner Q: The security of PHP websites is a very common problem, and there is a lot of news about PHP website vulnerabilities. Do you think the reason for this is related to the characteristics of the PHP language itself (compared to other factors such as the number of PHP websites, PHP code writing habits, etc.)? Is there room for improvement in PHP security? php中文网A

: Website security is a relatively systematic issue. It is directly related to server security and code quality. We cannot say that PHP is an unsafe language. Currently, PHP has many excellent

open source products, such as discuz, phpcms, etc. Even in the case of open source, these products ensure sufficient security. The threshold for PHP is very low, and you can get started in one or two weeks (php learning roadmap), and these

"quick start" programmers often tend to ignore code security issues. The improvement of security issues depends on more and more PHP programmers taking this issue seriously. php Beginner Q: In many large-scale projects now, PHP fully functions as a script, while business processing with strong logic is handled by another function. rich language (e.g. Java). What impact do you think this will have on complexity, development speed, development cycle, and cost?

php中文网A: This situation does exist, but I think the reason why this situation occurs is not because PHP "can't do it", but because many project leaders have prejudices against PHP and their attitude toward PHP. The obsession with languages ​​such as JAVA has caused this situation. Of course, we cannot deny that there are many problems that PHP cannot solve. As an interpreted scripting language, PHP itself is not suitable for large-scale data operations, and it cannot become a The "universal language". In large projects, it is normal for multiple languages ​​to work together. For example, PHP is responsible for collecting data and providing interfaces, C is responsible for processing and analyzing data, and Python is responsible for the glue. Each language performs its own duties and cooperates with each other, but the division of labor is different and there is no distinction between superiority and inferiority. Just like using C for data display will be very painful. I don't think it's a good thing for PHP to develop into complex calculations, and I believe that the PHP development team will grasp this situation well. No language can be "universal". Java has such ambitions, but we can see that Java's current situation does not seem to be as prosperous as PHP. If PHP also pursues "universal", it will be A disaster.

About the salary of PHP developers:

The salary of PHP developers is generally based on technical level and working years Determined, the average salary of a new PHP developer is around 4,000, and the average salary after 2 years of work experience is around 1W. So what is the salary of high-end PHP talents in 2017? What is the overall demand environment like? PHP Chinese website reproduces the recruitment data of 100offer, a high-end Internet talent recruitment platform, to illustrate. For details, see:

2017 Recruitment Season: What are the salaries of high-end PHP talents?

Summary:

Each language has its own Advantages and disadvantages: PHP is currently the best language for WEB development. With the rapid development of the mobile Internet, its development prospects will still be broad in the next 10 years. PHP technology is also undergoing constant updates and iterations. PHP is easy to get started but difficult to master, and Do it and cherish it! Is there any future for learning PHP? In addition to learning the PHP language well, planning for the day after tomorrow is also very important. Is it better to be a quiet loser or to serve as CTO and marry Bai Fumei? What kind of platform you choose is very important. Large platforms have good technology, high benefits, and security, but the space is small and like a screw. Development-oriented companies have a good atmosphere, good product prospects, and large space, but the risks are high. Each choice has its own pros and cons. Only by combining your pursuits at different stages can you make the choice that best suits you.

Recommended related articles:

The programming language you should learn most in 2017 is PHP?

Is php difficult to learn? How long does it take to learn PHP from beginner to proficient?

How about PHP "Qian Jing"? See what the experts say?

Prospects for the future development of Python language in 2017

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!