Bruce Eckel Comments on PHP: _php tutorials for small-scale applications

Source: Internet
Author: User
Tags what php drupal
The most impressive thing about PHP is that you don't have to learn the language well because you want to use it. Think about how many of the languages you know can do that? One of the more obvious is Java, just a hello world need to know a lot of knowledge, not to mention the creation of a Web application. But for PHP, none of this is a cinch.

It should be said that PHP is a little bit stronger than Perl when it comes to bad behavior. Remember that in the days of the web, it was often said that they would use Perl to create large programs, although they knew (there was no way to persuade them) that they would eventually fail.

On the other hand, PHP does have the ability to create some larger programs, such as Drupal. My friend Nancy Nicolaisen (also blogger here) said she wanted to build a travel site and I suggested that she look at Drupal. She did, and finally chose it. Because it seems to her that Drupal's user community is so good, she has a lot of help in setting up the site and going online.

PHP allows novices to get started quickly and directly to do what they are interested in, without having to worry about the intricacies of programming theory and practice. You can get what you want on the web by just doing it.

But that's the problem with the language. You'll find many examples of completely wrong PHP implementations, usually written by people who copy each other, because no one knows what the problem is. One of the first examples I used was the PHP file lock. The result is a lot to find, but not right. In fact, PHP is primarily used in databases that can handle all consistency issues, so people don't have to think about the underlying issues. But the programming language is treated the same way as the high-level interaction of the database and the underlying interaction of the file system, so there is no sign of the "Dragon Come" required for beginners. I feel that there are too many people in the community who are "good-for-nothing" and few who really understand and understand the fundamentals. So there is a situation in ignorance of the state of intrusion into the less-than-asked field of abuse.

After that, PHP5 came into being, which was the main set of C + + and Java. This powerful feature is really exciting, and my anxiety is starting to get worse: people seem to be able to have all the features without careful consideration of the details and the effects on all aspects of the language. On the contrary, for the past more than 10 years I have focused on every prudent choice made by the Python language. Time will prove that perhaps the PHP community will solve the problem of how to put all these features in handy, but I have a lot of doubts about it.

At the same time, I used PHP on my new slow-updating site. The point is, I only use it in a very small area. For example, PHP can solve the problem that cannot easily include files such as a low-level HTML. PHP did it, and it was easy to deploy my design across the site. Sometimes you just want to embed a little thing you do on the page, and that's what PHP is good at.

However, as long as the goal becomes a little bit more complicated, I think it's best to go to Python. So PHP is still limited to small-scale applications, and I don't want to use it extensively.


http://www.bkjia.com/PHPjc/446696.html www.bkjia.com true http://www.bkjia.com/PHPjc/446696.html techarticle The most impressive thing about PHP is that you don't have to learn the language well because you want to use it. Think about how many of the languages you know can do that? Which compares ...

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