PHP template engine, smarty definition

Source: Internet
Author: User

PHP template engine: PHP is an HTML-embedded scripting language that executes on the server side. The initial development template is the hybrid

Layer of data programming, although through the MVC design pattern can implement the application logic of the program and the Web page rendering logic force

Separation, but also just the input, processing, output of the program is separate, but the page rendering logic (view) will also have HTML code and

PHP programs are coupled together. The author of the PHP script must be the designer of the Web page and the developer of PHP. Such a person

Is the Phoenix hair of the chestnut.

The PHP template engine is a solution that can almost completely separate the design of a Web page from the PHP application.

The purpose of the template engine is to achieve the above mentioned logical separation function, allowing program developers to focus on the data

control or function, while web designers focus on the layout of the page. Let everyone play their strengths


Smarty is a PHP template engine based on PHP development. He provides a separation of logic and external content, simply speaking, the eye

is to use a PHP programmer to separate the artwork, the programmer to change the logical content of the program will not affect the art

Design, the art of re-modifying the page does not affect the program logic.

PHP template engine, smarty definition

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.