Could you tell me whether the discuz template engine is easy to use or the smarty template engine is easy to use? now I want to create a private equity website for a customer. as per the customer's requirements, I have to write a program by myself. If you want to separate templates and programs, I can see that only smarty and disucz are used more often on the Internet. I have the following questions: 1. Which of the two template engines discuz and smarty are better. Because the program has complicated judgment. Is it feasible to use the template engine? 2. This should not be complicated, because whether the discuz template engine is easy to use or the smarty template engine is easy to use
Now we want to create a private equity website for a customer. as a result, we cannot use cms as the customer requires, so we have to write our own program.
If you want to separate templates and programs, I can see that only smarty and disucz are used more often on the Internet.
I have the following questions:
1. Which of the two template engines discuz and smarty are more useful. Because the program has complicated judgment. Is it feasible to use the template engine?
2. This should not be complicated, because I am still a newbie in the template. I will take a look at it, from configuration to use, it seems to be relatively simple, and the discuz cycle is simpler.
3. which template engine is better if you want to generate static pages for your website.
Please reply. thank you.
Share: More
------ Solution --------------------
It is recommended that there be a lot of official learning materials for smarty.
Discuz, you still need to find him with less information about the template engine.
Discuz is a system, not a template engine.
Then some people can ignore the complaints.
------ Solution --------------------
Heyli deeply impressed CSDN chief scientist...
Reference:
It is recommended that there be a lot of official learning materials for smarty.
Discuz, you still need to find him with less information about the template engine.
Discuz is a system, not a template engine.
Then some people can ignore the complaints.
------ Solution --------------------
Haha
Reference:
Heyli deeply impressed CSDN chief scientist...
Reference:
It is recommended that there be a lot of official learning materials for smarty.
Discuz, you still need to find him with less information about the template engine.
Discuz is a system, not a template engine.
Then some people can ignore the complaints.
If you are a foreman and a shipping, you do not need a template.
------ Solution --------------------
Reference:
Heyli deeply impressed CSDN chief scientist...
Reference:
It is recommended that there be a lot of official learning materials for smarty.
Discuz, you still need to find him with less information about the template engine.
Discuz is a system, not a template engine.
Then some people can ignore the complaints.
It's not hard to write a template engine,
I wrote a file that supports include loading. it supports one-dimensional arrays, two-dimensional arrays, language packs, replacement of common variables, output as is, and comment statements. it is not difficult in itself ,, the regular expression is used to find the tag and replace the value.