Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the future development trend of php language?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

What is the future development trend of php language? in view of this question, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

Quan Guoqing, a graduate of Henan University of Science and Technology, has more than 5 years of experience in PHP software development. Now works in Zhengzhou Golden Rock Electronic Technology Co., Ltd., leading the team, involved in the development of Zhengzhou local O2O e-commerce (card discount, Jiuding group purchase, Jiuding Mall) and other commercial projects, as well as all kinds of online payments (Alipay, mobile payment, UnionPay online payment,) and TTG (ULianLife), Wechat interface, refund function, etc. At present, it is responsible for the programming of WAP station and the new version of the website (coupons or card offers) and other projects. PHP5.5 was released a few months ago, and Google began to support PHP. All kinds of actions once again herald the coming of the golden age of PHP! Recently, we contacted him by email and asked him to talk about the current situation and prospects of the development of PHP. The following is the original text of the letter:

What was the most difficult thing for you to do the program in the first place?

When I was in high school, I began to be more exposed to computers. When I was in college, I naturally chose the major of network technology, and I was more interested in this aspect. So after graduation, I insist on working as a programmer to do software development work. After graduation, I conducted an internship in Xi'an Software Park for a period of time. At the end of the internship, in the face of the 2008 global financial crisis, I did not look for an ideal job, but only engaged in computer-related work. Later, there was an opportunity to go to Wuxi (National) Software Park for practical training, further technical study, and more systematic study of related technology. after that, I officially began to develop, and went to Wuxi June Intelligent Software Co., Ltd. to participate in the software development of PRPC European and American banks. I think that period of time should be the most difficult, not very tired, but the mood is always wavering, can not settle down, and now the project encountered problems and thinking are completely different things.

How did you start paying attention to PHP? What are the * PHP projects developed? What PHP project do you like most?

In the earliest days, I actually worked as a web designer in a company. at that time, the company happened to be short of PHP programmers. I also started to do Java before, so I switched to PHP and began to do PHPer. That's when I started to go deep into php. * the PHP project is "Global Brand search Network", but this project is not * * online, and a later project called "Pangu Auto Hub Network" was launched earlier than the project I just mentioned. The most satisfactory is the current project "Card discount", which is mainly a discount project for swiping UnionPay card in cooperation with TTG. After all, I have become more and more mature in technology, and my ideas are much more perfect than they were a few years ago.

The three development languages PHP, Python and Ruby appeared almost at the same time, and they are all very characteristic and excellent open source languages. In the language ranking released by the TIOBE programming language community this month, PHP has a rapid momentum, rising to the fifth place. It is obvious that PHP has a better momentum than the other two languages. What do you think has to do with PHP's foothold in website development and the characteristics of the PHP language itself? Or is there some other factor?

The above three languages are excellent scripting languages, and now more and more new companies or projects use PHP, which makes the PHP-related community more and more active, which in turn affects the choice of many projects or companies, forming a virtuous circle. As far as I know, PHP is responsible for most web projects in China, and many companies have moved from other languages (such as ASP,JAVA) to PHP. The appropriate one is *. The speed of PHP, low development cost, short cycle, low late maintenance cost, and rich open source products (which can affect the decisions of many projects) are unmatched by the other two languages. In addition, in many large projects, it seems to be moving in a different direction from PHP. Let's wait and see.

Are you satisfied with the current state of PHP development tools? What development tools are used by the team you are currently working on?

People believe that an excellent framework can greatly improve work efficiency, 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 framework of PHP is different from that of ROR, and it takes time to learn a framework. As mentioned in your question, many old PHP programmers are dismissive of the framework, thinking that they have enough control over the project and do not need something as cumbersome as the framework, but in the long run, a good framework can extend the life of a project and reduce the cost of maintenance and secondary development. In a project, it is hard to imagine without a good framework. At present, there are many mainstream PHP frameworks, but no one is completely suitable for a large project. The current development team is using the ZEND framework, which greatly improves the team's productivity.

There is a lot of news about vulnerabilities in the PHP website. Do you think the reason for this has something to do with the characteristics of the PHP language itself (as opposed to other factors such as the number of PHP sites, PHP coding habits, etc.)? Is there any room for improvement in PHP security?

At the beginning of development, I didn't really like to use open source frameworks. I felt that the class library files I wrote could be called everywhere, which was very convenient to use, actually because I was too low-level at that time. Later, I began to come into contact with zend, tp, yii and other frameworks. By learning to use them simply, I found that they can save time and have strong flexibility. For programmers, there can be a clear classification and reduce the amount of code. At present, website security is a cumbersome issue, it is mainly server security, network security and the quality of code, I do not want to say that the language PHP is not secure. At present, PHP has many excellent open source products, such as ZEND, TP, YII and so on. Even in the case of open source, these products ensure enough security. The threshold of PHP is very low, and beginners can get started in a month or two, but these "quick start" programmers tend to ignore code quality and security issues. The improvement of security issues depends in large part on the importance that more and more PHP programmers attach to the issue, thereby enhancing the quality of the code.

Talk about your views on the future development of PHP (good things, things that need to be improved).

No matter what kind of language, object-oriented is more of a way of thinking, there is no need to object-oriented for object-oriented. PHP's original object-oriented, which can be seen simply as a function upgrade, has been ridiculed by developers in many other languages, but PHP5's object-oriented is enough to satisfy most WEB projects. If a language wants to survive, it has to adapt to the trend of technological development and constantly make adjustments. In this regard, PHP's team is full of vitality and believes that there is considerable room for development in the future.

In recent years, he has been mainly involved in the development of PHP object-oriented Web projects. The current framework of PHP language mainly adopts MVC development mode similar to JAVA, which contains rich development libraries and supports multi-database drivers. The future PHP development framework also needs to have several features:

Adopt more new features of PHP, such as namespaces, anonymous functions

Have richer and scalable development packages

Rich in documents

The community is active. Every PHP developer should choose the most suitable development framework according to his or her own situation, so as to facilitate and quickly carry out project development, improve work efficiency, save time and reduce cost accounting.

This is the answer to the question about the future development trend of php language. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report