Home Backend Development PHP Tutorial The History, Advantages and Disadvantages of PHP_PHP Tutorial

The History, Advantages and Disadvantages of PHP_PHP Tutorial

Jul 21, 2016 pm 04:11 PM
php Homepage for Advantages and Disadvantages create create history and online of CV


1 History
Rasmus Lerdorf created Personal Home Page Tools in order to create his online resume. It's a very simple language. Since then, more and more people have noticed this language and made various suggestions for its extension. Through the dedication of many people and the source-free nature of the language itself, it evolved into a feature-rich language that is still growing.
Although PHP is easy to learn, it is slower than mod_perl (the perl module implanted in the web server). There is now a new engine called Zend that is as fast as mod_perl, and PHP4 can take full advantage of this engine. PHP4 is still in the BETA testing stage. Andy Gutmans and Zeev Suraki are Zend's primary authors. You can go to the Zend site (http://www.zend.com) to learn more.
The application of PHP has grown significantly in personal web projects. According to a Netcraft report in October 1999, there were 931,122 domains and 321,128 IP addresses utilizing PHP technology.
2 Advantages of PHP
There are many benefits of applying PHP. Of course, the known disadvantage is that PHP has no commercial support because it is an open source project, and the resulting slow execution speed (until PHP4). But PHP's mailing list is very useful and unless you're running a very popular site like Yahoo! or Amazon.com, you won't notice any difference in PHP's speed. At least I didn’t feel it! Okay, let’s take a look at the advantages of PHP:
- Learning process
Unlike Java and Perl, you don’t have to bury your head in more than 100 pages of documents and study hard to write a decent program. . As long as you understand some basic syntax and language features, you can start your PHP coding journey. If you encounter any trouble later during the coding process, you can read the relevant documents again.
PHP’s syntax is the same as C, Perl, ASP or JSP. For those who are more familiar with one of the above languages, PHP is too simple. On the contrary, if you know more about PHP, then it will be easy for you to learn several other languages.
You only need 30 minutes to master all the core language features of PHP. You may already know HTML very well, and you even know how to use editing and design software or manually to create a beautiful WEB site. Since PHP code can be easily added to your site, when you design and maintain your site, you can easily add PHP to make your site more dynamic.
- Database connection
PHP can be compiled with functions to connect to many databases. PHP and MySQL are an excellent combination right now. You can also write your own peripheral functions to access the database indirectly. In this way, when you change the database you use, you can easily change the coding to adapt to such changes. PHPLIB is the most commonly used series of base libraries that can provide general transaction needs.
- Scalability
As mentioned before, PHP has entered a period of rapid development. It may be difficult for a non-programmer to extend additional functionality to PHP, but it is not difficult for a PHP programmer.
- Object-oriented programming
PHP provides classes and objects. Web-based programming work requires object-oriented programming skills. PHP supports constructors, extracted classes, etc.
- Scalability
Traditionally, the interaction of web pages is achieved through CGI. The scalability of CGI programs is not ideal because it opens a separate process for each running CGI program. The solution is to compile the interpreter of the language commonly used to write CGI programs into your web server (such as mod_perl, JSP). PHP can be installed this way, although few people are willing to install it CGI this way. Embedded PHP can be more scalable.
- More features
In order to be more suitable for web programming, PHP developers have developed many peripheral popular base libraries, which contain easier-to-use layers. You can use PHP to connect to most databases including Oracle, MS-Access, and Mysql. You can draw pictures on flies, write programs to download or display e-mails. You can even complete network-related functions. Best of all, you can choose which features your PHP installation requires. To quote Nissan's Xterra, PHP can do everything you want it to do and it can do anything!
3 Competitors: ASP, mod_perl, JSP
I certainly don't know what ASP/JSP can do What. What is clear though is how easy it would be to write code like that, how expensive it would be to buy them and how expensive and powerful hardware they would require. If you have any neutral views (for example, not influenced by SUN and Microsoft's millions of dollars), please let me know by the way.
As far as I know, JSP is based on Java, so Java programmers can easily start coding. ASP is just a general engine with the ability to support multiple languages, but the default and most commonly used one is VBScript.
mod_perl is as powerful as Perl, just faster.
If you have any problems during the installation process, you can discuss it in the forum.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313961.htmlTechArticle1 History Rasmus Lerdorf created "Personal Home Page Tools" to create his online resume . It's a very simple language. Since then, more and more people have paid attention to...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

CakePHP Project Configuration CakePHP Project Configuration Sep 10, 2024 pm 05:25 PM

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

To work on file upload we are going to use the form helper. Here, is an example for file upload.

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

In this chapter, we are going to learn the following topics related to routing ?

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

CakePHP Creating Validators CakePHP Creating Validators Sep 10, 2024 pm 05:26 PM

Validator can be created by adding the following two lines in the controller.

See all articles