Home > Backend Development > PHP Tutorial > Summary of destoon and discuz

Summary of destoon and discuz

黄舟
Release: 2023-03-16 15:26:02
Original
1745 people have browsed it

After doing the secondary development of destoon and discuz, two relatively complex templates, I always want to write a summary to inspire others to learn other templates again.

1. It gives me the impression that PHP templates mostly include various files, and there are more than one types of include. For example: include template uses the template engine to parse the template, and include libfile loads the background file ( in discuz), when we come into contact with a new template, the first choice is to study this and the writing of parameters in depth (for example, the first parameter of discuz's include template, "diy:forum/post" and "forum/post" are different ), should be something very important.

2. Generally, PHP templates have entry files, some are one, some are multiple. Entry files often initialize many variables and constants. It is important to know these.

3. To be continued...

The above is the detailed content of Summary of destoon and discuz. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template