Introduction to PHP

Source: Internet
Author: User
Tags php source code smarty template

PHP (foreign name: Php:hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a common open source scripting language. The grammar absorbs the C language, Java and Perl features, is conducive to learning, widely used, mainly for the field of web development. PHP's unique syntax mixes the syntax of C, Java, Perl, and PHP's own creation. It can execute Dynamic Web pages more quickly than CGI or Perl. Dynamic pages made in PHP are compared to other programming languages, and PHP is executed in HTML (an application under the standard Universal Markup Language), which is much more efficient than CGI, which generates HTML markup entirely; PHP can also execute post-compilation code, Compilation can achieve encryption and optimize code execution, making code run faster.

The integrated development environment is an integrated development environment that integrates the main tools needed in the software development process, including but not limited to code highlighting, code completion, debugging, build, versioning, and so on.

Some of the common PHP Ides are as follows:

    1. Zend Studio: Commercial Edition, Zend official, based on eclipse
    2. Eclipse with PDT: free
    3. Coda: Commercial edition, for Mac users
    4. NetBeans: Free, powerful
    5. PHP Storm: Business Edition
    6. Aptana Studio: Free
    7. Phped: Commercial Edition
    8. Komodo Ide/edit:ide is a commercial version, Edit is free to use
    9. Adobe Dreamweaver: Business Edition

In addition to the integrated development environment, a common text editor with code highlighting is often chosen as a development tool because of its lightness and flexibility, such as: notepad++, EditPlus, Sublimetext, Everedit (Chinese development) and so on.

Features of PHP include:
1. PHP's unique syntax mixes C, Java, Perl, and PHP's self-innovative syntax.
2. PHP can execute dynamic pages more quickly than CGI or perl--dynamic pages, compared to other programming languages,
PHP is to embed the program into the HTML document to execute, the execution efficiency than the full HTML markup generated CGI is much higher;
PHP has a very powerful function, all CGI features PHP can be implemented.
3. PHP supports almost all popular databases as well as the operating system.
4. The most important thing is that PHP can be used in C, C + + program extension!

Advantage:

    1. Open Source: All of the PHP source code is actually available.
    2. Free: PHP itself is free and open source code compared to other technologies.
    3. Quick: The program develops fast, runs fast, the technology itself learns fast. Embedded in HTML: Because PHP can be embedded in the HTML language, it is relative to other languages. Easy to edit, practical and more suitable for beginners.
    4. Strong cross-platform: PHP is a server-side script that can run on Unix, LINUX, WINDOWS, Mac OS, Android and other platforms
    5. High efficiency: PHP consumes a fairly small amount of system resources.
    6. Image processing: Using PHP to create images dynamically, PHP image processing by default GD2. It can also be configured to use image magick to process images.
    7. Object-oriented: In PHP4,PHP5, the object-oriented aspect has been greatly improved, PHP can be used to develop large-scale commercial programs.
    8. Professional Focus: PHP support scripting language-based, the same as Class C language.

Technology applications

    1. Pseudo-Static
    2. Static page Generation
    3. Database Cache
    4. Procedure Cache
    5. DIV+CSSW3C Standard
    6. Heavy Duty
    7. Distributed
    8. Flex
    9. Desktop applications (not good at)
    10. Support for MVC models
    11. Smarty Template engine

Introduction to PHP

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.