Weave Dream Template Development-label type

Source: Internet
Author: User

Template Development Help Handbook


A template is a static text mixed with something else, something called a template tag.

Two kinds of engines

The template engine is divided into two types, analytic and compiled. As with the programming language, what is known is that the analytic programming language, such as some script Python, PHP, is written out by the direct text editor and then runs under the interpreter. For example, C, after the program has been edited, the compiler needs to be translated into binary files to run.

And this template applies a similar concept:

The analytic template is to replace the template label in the template text with the corresponding text, and get the text of the page.

Instead, the compiler replaces the template label of the template text with the code of the executable PHP script and executes it. High efficiency ratio.

Weaving dreams is a mixture of the two. As for how these two are used.


P.S. Factory recruitment was rejected again, it seems to be because of vision, need to naked 0.6 or more. Slightly bumpy.

Weave Dream Template Development-label type

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.