PHP: where is the road? _ PHP Tutorial

Source: Internet
Author: User
PHP: where is the path ?. PHP4: in the 1995 s behind the miracle, Rasmus was using PHP to write his personal homepage. Today, PHP has become a popular scripting language around the world, and more sites choose to use PHP, even Yahoo gave up its PHP4: behind the miracle
In 1995, Rasmus was using PHP to write his personal homepage. Today, PHP has become a popular scripting language around the world, and more sites choose to use PHP, even Yahoo gave up its own script and switched to PHP to support its website. It can be said that PHP is a miracle. I always think that there is a reason behind any miracle. Now let's look at the success of PHP through this miracle.
1. easy to use
PHP has a low entry threshold and has minimal user requirements. People who have learned the C language have almost no time to use PHP. Their syntax is so similar that I often wonder if I can change it to PHP by adding $ Before the C language variable. This allows a large number of C programmers to select PHP in their web scripts. In addition, compared to the ASP component system and the huge Java Class Library, PHP function libraries are much easier to learn. In terms of programming style, PHP is even more free. you can use N styles to write your script programs. These features make PHP the preferred language for beginners. It is an important strategy to seize the market for beginners. Just as anyone may remember their first love, people often have deep feelings for the language they first learned. Even if I grew up later and switched to another language, I still remember the language I first learned. At this point, PHP has done a great job.
2. proper tailoring
The PHP development team is a group of people who know the Internet the most, and they know exactly what the user wants. PHP is an excellent web scripting language, and it is just a web scripting language. The function set provided by PHP is quite powerful in terms of network and focuses on network applications. Such features as component-less File upload in PHP and support of over many databases all show this feature. By the way, PHP even supports ACCESS databases. Focus on making PHP excellent performance on the network. Gains and losses.
3. powerful support
PHP has powerful OpenSource group support and tens of thousands of open source codes are available on the network. You can integrate several existing programs to implement your application, or analyze master-level code to improve your application. PHP also has many extensibility projects to Enhance PHP functions in some aspects. For example, PEAR, which focuses on programming standardization and code reuse, provides Smarty that can compile the 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, allowing users to efficiently complete their desired applications in the simplest way. This is exactly what beginners need. Then it provides various solutions through convenient extension. in this way, you only need to learn what you want to use in that field. When you are involved in more and more fields, your level will also increase. when you are familiar with most fields, you will find that you are on the mountainside without knowing it. PHP also provides a learning attitude.
ASP.net + J2EE: Storm
Microsoft's ASP.net was the first to launch an innovative wave in the web scripting field. In ASP.net, there is an attractive thing-the event-driven mechanism. This is a common concept in desktop programming. in script programming, event-driven means scripts (such as PHP, JSP, and ASP) on the server) it is encapsulated with client scripts (such as JavaScript and VbScript) to work together. In this way, programming becomes very convenient. In. in the. net environment, event-driven has another advantage: you may not even have any server-side scripts or client-side scripts, because in ASP.net, yes. you can directly use a language like C # without adding $. This paved the way for traditional programmers in the MS camp to switch to network development. at the same time, it also caused a great blow to PHP in the beginner's market. It is foreseeable that the transformation of traditional programmers to PHP will be greatly reduced in the future. However, the biggest problem with ASP.net is that it can only run on Windows, and now the Chinese mainland is vigorously developing Linux. This makes PHP's living space seem a little wider, but -- let's take a look at Java.

In November 1995, Rasmus was using PHP to write his personal homepage. Today, PHP has become a popular scripting language around the world. more and more sites choose to use PHP, and even Yahoo has abandoned himself...

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.