How is preprocessing in PHP hypertext preprocessing supposed to be understood?

Source: Internet
Author: User
How is preprocessing in PHP hypertext preprocessing supposed to be understood?

Reply content:

How is preprocessing in PHP hypertext preprocessing supposed to be understood?

Hypertext refers to HTML, when the server receives the request, the request file for the. PHP end, the software will request the PHP program to process the file, the file is pre-processing by PHP (processed in the code), the output back to the server software, the server software back to the browser. It can be thought that the front-end code is output by the background, the processing of this output is preprocessing.

PHP comes with a template mechanism, the template processing into HTML is called "preprocessing."

Hypertext is HTML, so PHP is an HTML preprocessor, after data manipulation, the output HTML is displayed on the browser. You can think of the browser as the GUI interface of PHP. PHP is close to HTML because PHP has a template engine built into it, which is the tag.

I think PHP can preprocess Dynamic Data, the Dynamic Data pre-assembled into HTML, browser parsing is all HTML format

  • Related Article

    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.