Is there a simple and small PHP template engine? How to deal with it-php Tutorial

Source: Internet
Author: User
Tags php template
Is there a simple and small PHP template engine? I recently wrote my own PHP framework in the template and studied it for a few days. starting with URL routing, I got the template engine and stopped. Because I have never worked on a template engine and have been using other people's frameworks. I have always been biased towards the original PHP code. I don't know if there is any template engine suitable for me? It is best to implement common functions in a class file. If there is no suitable one, is there any template engine writing tutorial? I don't need too complex functions. Is there a simple and compact PHP template engine?
I recently wrote my own PHP framework in the template and studied it for a few days. starting with URL routing, I got the template engine and stopped.

Because I have never worked on a template engine and have been using other people's frameworks.

I have always been biased towards the original PHP code. I don't know if there is any template engine suitable for me? It is best to implement common functions in a class file.

If there is no suitable template engine, there is no template engine writing tutorial. I don't need too complex features, it is best to start with the simplest.

------ Solution --------------------
Look for the DZ template class.

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.