php means "hypertext preprocessor" in Chinese. It is a free open source, cross-platform, server-side scripting language that can be used to develop website backend programs. Python is an interpreted, object-oriented, high-level programming language with dynamic data types. The source code of Python follows the GPL agreement.
The operating environment of this tutorial: windows7 system, PHP7.1&&Python3 version, DELL G3 computer
What does php mean?
PHP (PHP: Hypertext Preprocessor) is a "hypertext preprocessor". It is a free open source, cross-platform, server-side scripting language used to develop website backends. program.
PHP is especially suitable for web development and can be embedded in HTML. PHP syntax learned the C language, absorbed the characteristics of multiple languages of Java and Perl to develop its own unique syntax, and continued to improve itself based on their strengths, such as Java's object-oriented programming. The main goal of the language was originally created to make Developers quickly write high-quality web sites. PHP supports both object-oriented and process-oriented development, and is very flexible in use.
Application fields of PHP
1) WEB server
PHP is especially suitable for website development, and no language can compete with it (from the authoritative technology website According to statistics from w3techs.com, PHP is used by 79% of websites).
Of course, PHP can be used not only in website development, but also in game development, advertising system development, API interface development, mobile backend development, and internal OA system development.
Nowadays, WeChat development is extremely popular, and PHP is also the best development tool. With the birth of the react native framework and Hybrid App, PHP programmers can even develop mobile apps.
2) Command line script
We can also run PHP scripts through the command line mode. This mode does not require server support or browser triggering. In the command line script mode Only a PHP parser is required to execute. Usually this method is used for daily running scripts under Windows and Linux platforms, such as certain daemons, etc. Of course these scripts can also be used to process simple text.
3) Writing desktop applications
PHP may not be the best language for developing desktop applications with graphical interfaces, but if the user is very proficient in PHP and wants to If you use some advanced features of PHP in client applications, you can use PHP-GTK to write these programs.
PHP-GTK is an extension of PHP. Using PHP-GTK, you can create independent GUI (graphical user interface) applications, such as mp3 players, text editors, database backends, etc. PHP-GTK can be downloaded from http://gtk.php.net/.
What does python mean?
Python is an interpreted, object-oriented, dynamic data type high-level programming language. Like the Perl language, Python source code also follows the GPL (GNU General Public License) agreement.
Python was designed by Guido van Rossum of the Dutch Society for Mathematics and Computer Science in the early 1990s as a replacement for a language called ABC. Python provides efficient high-level data structures and enables simple and effective object-oriented programming. Python's syntax and dynamic typing, as well as the nature of an interpreted language, make it a programming language for scripting and rapid application development on most platforms. With the continuous update of the version and the addition of new language features, it is gradually used for independent, large-scale Project development.
The Python interpreter is easily extensible and can be extended with new functions and data types using C or C (or other languages that can be called through C). Python can also be used as an extension programming language in customizable software. Python's rich standard library provides source code or machine code suitable for each major system platform.
On the whole, the biggest feature of the Python language is simplicity, which is mainly reflected in the following two aspects:
The syntax of the Python language is very concise and clear. It is easy for beginners who are not software majors to get started.
Compared with other programming languages, the implementation code of Python language is often the shortest to implement the same function.
Recommended learning: "PHP Video Tutorial", "Python3 Video Tutorial"
The above is the detailed content of What do php and python mean?. For more information, please follow other related articles on the PHP Chinese website!