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