PHP: Where is the road? _php Tutorials

Source: Internet
Author: User
PHP4: Behind the Miracle
In 1995, Rasmus was writing his personal homepage in PHP; today, PHP has become the world's most popular scripting language, more and more sites choose to use PHP, even Yahoo has abandoned its own script and use PHP to support its web site. It can be said that PHP is a miracle. I always thought that there was a reason behind any miracle. Now, let's look at the success of PHP through this miracle.
1 Easy to use
PHP's entry threshold is low, and its requirements for users are minimal. People who have studied C have little time to use PHP. Their syntax is so similar that I often wonder if it is possible to change to PHP by adding a $ before the C variable. This allows a large number of C programmers to select PHP in a network script. In addition, PHP's Library of functions is much more studious than the ASP's component system and Java's vast library of classes. In the programming style, PHP is more free, you can use n style to write your script program. These features make PHP a preferred language for beginners. It is an important strategy to preempt the beginner market. As anyone will remember their first love, people tend to have a deep affection for the language they originally studied. Even if you grow up later, switch to another language, you will always remember the language of the first learning. At this point, PHP is doing a great job.
2 Cut properly
The PHP development team is a group of people who know the most about the network, and they know exactly what the user wants. PHP is to do a good network scripting language, and it is just to do a network scripting language. The set of functions provided by PHP is quite powerful on the Web, and focuses on network applications. Such features as non-component file uploads in PHP, hyper-database support, and so on. By the way, PHP even supports Access databases. Focus makes PHP a great performance on the Web. There is a loss to win.
3 Strong Support
PHP has a strong opensource community support, with tens of thousands of open source code on the Web. You can integrate several existing programs to implement your application, or you can analyze master-level code to get improved. PHP also has many extensibility projects to enhance PHP's functionality in some areas. Like Pear, which focuses on programming normalization and Code reuse, it provides smarty that compiles template technology, and even develops GTK for desktop programs.
After analyzing these reasons, we can see that the success of PHP has benefited from the strategic vision of the PHP development team. PHP provides a minimal working set that enables users to efficiently accomplish their own applications in the simplest way possible. That's what beginners need. It then provides a convenient extension to all aspects of the solution, so that you only need to learn the area you want to use in the field of things. When you are involved in more and more of the field, your level is also improved, when you are familiar with most areas, look back, you will find unknowingly already to the mountainside. PHP also provides us with a learning attitude.
ASP.NET+J2EE: Wind and rain to come
The wave of innovation in the network scripting World was first initiated by Microsoft's ASP. In ASP. NET, there is an attractive thing--event-driven mechanism. This is a common concept in desktop programming, and event-driven programming in scripting means encapsulating server-side scripts (such as PHP, JSP, ASP) and client scripts (such as JavaScript and VBScript) to work together. As a result, programming becomes extremely convenient. Event-driven in a. NET environment also has the advantage that you can not even have any server-side scripts and client-script, because in ASP. C, you can use the language directly--not even $. This paves the way for traditional programmers in the MS Camp to turn to web development, while also making PHP a big hit on the beginner's market. Predictably, the future of traditional programmers to PHP will be greatly reduced. But the biggest problem with ASP is that it can only run on Windows, and now the continent is making great efforts to develop Linux. This makes PHP's living space seem a bit wider, but--let's take a look at Java.

http://www.bkjia.com/PHPjc/631487.html www.bkjia.com true http://www.bkjia.com/PHPjc/631487.html techarticle PHP4:1995 years after the miracle, Rasmus in PHP to write his personal homepage; today, PHP has become the world's most popular scripting language, more and more sites choose to use PHP, even Yahoo has given up their own ...

  • 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.