The current situation and prospect of PHP development

Source: Internet
Author: User
Tags php framework php website ruby on rails

I small rookie one, in order to self-study and exchange PHP (Jquery,linux,lamp,shell,javascript, Server) a series of knowledge, small rookie created a group. People who wish to visit this blog can come in and talk. Seek common development. Build a platform.

My blog also has a lot of technical documents, I hope to provide you with some help.


QQ Group: 191848169 qq:450225664


Let's take a look at what others are saying about PHP's development prospects:

Zhong: There is no doubt that PHP is the most popular among the languages, and Python and Ruby have a good trend in recent years. I personally believe that Ruby's popularity stems more from Ruby on Rails, which is even more prevalent than the Ruby language itself, and has led to research on frameworks in other language platforms. Python has recently been more focused and growing faster than Ruby, and is being used by some of the most innovative projects, which may be attributed more to Google.

These three languages are quite good scripting languages, why PHP can be a great way to kill into the leaderboard of the three armor it? On the face of it, this is the employment environment. More and more new companies or new projects use PHP, which makes PHP-related communities more active, which in turn affects the choice of many projects or companies, forming a virtuous circle. As far as I know, PHP is the first choice for most Web projects in the country, and many companies have been transferred from other languages (such as Asp,java) to PHP. The right is the best, PHP fast, low development costs, short cycle, low maintenance costs, open source products rich (this can affect the decision of many projects), these are the other two languages can not be compared. In addition, in many large projects, Python is more as a "binder language" appears, it seems to be moving in different directions with PHP, let us wait and see.

51CTO Reporter: PHP development Framework is the prevalence of ror caused by the hot, and the development of PHP framework from The imitation of rails to gradually have their own style. However, there are still a lot of early PHP developers still think that PHP this fast language does not need a framework, even if there is a good architecture, the framework is not necessary. Do you think the PHP framework is necessary for PHP? Are you satisfied with the current status of PHP development tools?

Zhong: This is a matter of opinion, I personally think that a good framework can greatly improve the efficiency, especially for medium and large projects. Of course, if you have sufficient control over the project, the framework is not necessary, after all, PHP framework is different from the ror situation, many and chaotic, and learning a framework takes time. As mentioned in your question, many old PHP programmers dismiss the framework as having enough control over the project and do not need the framework to be so burdensome, but in the long run, an excellent framework can prolong the life of a project, reduce maintenance and cost two of development. We are currently developing the Cmstop, is a product-based project, in such a project, not a good framework is difficult to imagine. After a comparison of the current mainstream PHP framework, we found that no framework fits perfectly into a CMS project, so we decided to develop a framework for ourselves. This framework has greatly improved our efficiency, and we will open up the framework in due course.

51CTO Reporter: The object-oriented design of PHP is not very good. Many of the object-oriented scripts that can be well applied in a Java language are cumbersome to implement in PHP. Do you think object-oriented is important for web development languages like PHP? Can the object-oriented PHP be improved?

Zhong: PHP Object-oriented is a legacy of history, and, to say that it is not good, will slowly become a historical issue. From PHP5 relative PHP4 progress, we have reason to expect PHP6 to bring us more surprises. Regardless of the language, object-oriented is more of a way of thinking about the problem, there is no need for object-oriented to object-oriented. PHP's initial object-oriented, which can simply be seen as a function upgrade, has been teased by developers of many other languages, but PHP5 's object-oriented is enough to satisfy most Web projects. A language to survive, you have to adapt to the trend of technological development, and constantly make adjustments, in this regard, the PHP team is full of vitality.

51CTO Reporter: The security of the PHP website is a very common problem, the information about the PHP website vulnerability is many. Do you think the reasons for this are related to the characteristics of the PHP language itself (compared to other factors such as the number of PHP sites, PHP code writing habits, etc.)? Is there room for improvement in PHP security?

Zhong: The security of the website is a relatively systematic problem, it is directly related to the security of the server and the quality of the code, we can not say that the PHP language is not safe. PHP now has a lot of good open source products, such as discuz,phpcms, and so on, even in the case of open source, these products also ensure adequate security. PHP has a low threshold of two weeks to get started, and these "QuickStart" programmers tend to ignore code security issues. The improvement of security issues depends on the increasing importance of PHP programmers to this issue.

51CTO Reporter: Now, in many large projects, PHP is fully functioning as a script, while logically strong business processing is implemented by another feature-rich language, such as Java. What impact do you think this has on complexity, development speed, development cycle, and cost?

Zhong: That's true, but I think that's not because PHP is "not going to do it", but because many project leaders are biased against PHP and superstitious about languages like Java. Of course, we cannot deny that there are many problems that PHP does not do, as an explanatory script language, PHP itself is not suitable for large-scale data operations, it can not become a "universal language." In large projects, working in multiple languages is a normal thing, for example, PHP is responsible for collecting data, providing interface, C is responsible for processing analysis data, Python to do sticky. All kinds of language work together, cooperation, but the division of labor is different without high and low points, like if you use C to do data display will be very painful. I don't think PHP is a good thing to do with complex computing, and I'm sure PHP's development team will get it. No language can be "omnipotent", Java has such ambitions, but we can see that Java is now the situation does not seem to be as hot as PHP, if PHP also pursue "omnipotent", it will be a disaster.


The current situation and prospect of PHP development

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.