Discuz! In X3.2, which is a template file and which is a template parsing file is usually used in php projects. at least a template class, a template parsing class, a compilation file, and a cache file are required, there are also system variable files,
Do not know discuz! What directories are these items in x3.2?
Reply to discussion (solution)
Template class: \ source \ class \ class_template.php. Generally, the checktplrefresh () method (in \ source \ function \ function_core.php) is called when the template () method is executed, execute parse_template to compile the template. the compiled template can be viewed under \ data \ template.
Cache: the loadcache () method is used to obtain cached data. discuz uses the pre_common_syscache table to cache (mediumblob binary) data (of course, file cache is also available ), most of the data in $ _ G is obtained from this table.
System variable: the parameter set in the discuz background (for example, $ _ G ['setting']) is stored in the pre_common_setting table, however, the data in $ _ G ['setting'] actually comes from the data whose cname is setting in the pre_common_syscache table. it is updated in the background-> Tools-> cache, click OK to save the update to the pre_common_syscache table. there are other system variables in the table, such as permission settings for each user group...